two macd strategy
-
hello guys
I want to create an expert by using two macd.
fast macd is:
6=fast period ,13=slow period and 9=signal period
slow macd is:
135=fast period ,390=slow period and 9=signal p..
if slow macd cross above zero line and then for first time fast macd cross below zero line buy signal be created.
I can't create an appropriate loop for this strategy
i shared my strategy:
https://fxdreema.com/shared/5o1g2z7Qplease guide me.thanks

-
Why have you got a loop? to put it simply if slow is > 0 and fast x< 0 your basic conditions are met, get this working, then you can add logic to prevent trades if wanted.
-
@mojijan76 What is the name of this indicator that you used from its buffer?