Minimum Distance between two MAs
-
Hi, I want to create a system based on MAs but it gives me many false signals while the two MAs are close to each other.
I think I can solve this when I compare the MAs with each other and if the difference is to small, there will be no trade, like:
If( Value of MA1 - Value of MA2 = <30 ) then no trade.
Can you tell me how I can get this done in fxDreema, please.
Here is what I got so far:
https://fxdreema.com/shared/JZC3HEZseBTW: I dont understand the Pip Value at SL and TP, eg in EURUSD, if I set it to 10 pips in Dreena it will be at 100 pips in the Backtest, is this correct?
Thanks in advance
Siggi -
@siggi
Hi, there are 2 ways to prevent this kind of issue :- In condition block -> in more settings -> in candle ID, write 1. So instead of passing when the ma8 > ma50 on the current candle (by default "empty" equals "0" as ID), the condition will be true when the ma8 > ma50 on the previous candle (ID 1).
By that as the candle 1 is closed, the MA will not move anymore at this candle. Unlikely the candle 0 (empty) which makes continuously move the MA until this candle closes, which can give false signals. - In condition block -> in adjust -> write +30 pips. And you can decide setting the candle ID you want.
Pips value in blocks, should be the same in backtest.
- In condition block -> in more settings -> in candle ID, write 1. So instead of passing when the ma8 > ma50 on the current candle (by default "empty" equals "0" as ID), the condition will be true when the ma8 > ma50 on the previous candle (ID 1).
-
Hi @seb-0 thanks for your help!
I am going to try that.
With "Adjust +30 Pips" you mean manipulating the Value of one of the MA? By this, the Value could be above instead of below this would give me a false... right? Thats genius!
-
@siggi
If the condition is : ""ma8"" > ""ma 50 |adjust:+30 pips|""
The condition is true when ma8 is at least 30 pips higher than ma50.