Condition Indicator 1 x> Indicator 2
-
Dear Team,
I got following easy condition:
https://i.imgur.com/XK2MyvK.png
When I use the x> , no trade is getting done.
When I use the >= it is not the one I am looking for. My condition should be that a trade should be done only once indicator 1 value crosses over indicator 2
Sincerely!
-
Try increasing the cross width. Sometimes the price move too fast and a cross width of 1 might not be triggered.
Also, I think that this condition doesn't work properly on back test.
-
If it does not work with backtest, is there any way to simulate this kind of function?
I did not know that this extremely important condition does not work...
-
@semicon64 I am not confirming that is does not work with backtest, I'm telling what I think.
Personally, I have been working with FxDreema for years and I don't like backtest (I test strategies live on Demos account) and I don't like the Cross condition, I work around it using >= and <=, which I think is more reliable.
-
Thank you for the info.
So basicly could you give me little advise how I could implement it with the >x and <x one for my moving average example?
Sincerely
-
@semicon64 that would depend on the exit strategy as well.
If you use => and <=, it would open the trades as soon as one MA crosses the other, just like x> and x<.
The problem is that whenever you close the trade, if the condition is still true, a new trade would be opened as soons as the previous one was closed. This means that on a plain MA crossover for entry and exit, it would work as expected.
-
@rafaelgrecco Can you give a more concrete example, how to do it with the indicators only instead of candles?