I am working on an EA that needs to look for a cross on one time period and then wait for a cross on another signal from a different time period. I need to reference a cross on the MACD on one time period and the Stochastic cross on a shorter period.
Can someone please advise the best approach to doing this?
Would I need to utilize a period conversion script or is it possible to incorporate both of my indicators into one CI?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I am working on an EA that needs to look for a cross on one time period and then wait for a cross on another signal from a different time period. I need to reference a cross on the MACD on one time period and the Stochastic cross on a shorter period.
Can someone please advise the best approach to doing this?
Would I need to utilize a period conversion script or is it possible to incorporate both of my indicators into one CI?
Thanks in advance.