Cancel trade if XX number of candles below/above pre-selected level
1件の返信
トーマスさん、こんにちは,
How can I set a condition by which if XX number of candles close below a pre-selected level, no longer consider taking any signal.
See on a screenshot an example.
I’d appreciate a sample on sqw format if the explanation becomes too complex.
Thanks as always.
0
こんにちは,
you need to setup a counter to count number of bars matching specific conditions. Here is an example using moving averages how to do that https://strategyquant.com/forum/topic/4955-define-range-in-bars-instead-of-time/#entry18937 (counts EMA above SMA)
Let me know if that helped to solve the issue
0
1件の返信を表示中 - 1 - 1件目 (全1件中)