I am new relative new to the forex world and i am wanting to write an EA based on the attached indicators. I cant find anything that makes sense to me on how to write an EA using indicators.
Not sure if this is difficult but what I am wanting to do is create an EA that:
- when the SSL is red and the Gann bars are red the ea will sell only then when the Non lag changes from green to red.
- when the SSL is green and the Gann bars are blue the ea will buy only then when the Non lag changes from red to green.
- Pick up settings directly from the indicators.
- Have option for TP, trailing stop loss and SL (this i can do)
- Close buy position when Non lag changes from Green to red.
- Close sell position when Non lag changes from red to green.
- Money management (this i can do)
- Set SL on last swing low for buy and last swing high for sell.
I would appreciate it if someone could proivde me with some reading material that maybe able to help me.
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.
Hello,
I am new relative new to the forex world and i am wanting to write an EA based on the attached indicators. I cant find anything that makes sense to me on how to write an EA using indicators.
Not sure if this is difficult but what I am wanting to do is create an EA that:
- when the SSL is red and the Gann bars are red the ea will sell only then when the Non lag changes from green to red.
- when the SSL is green and the Gann bars are blue the ea will buy only then when the Non lag changes from red to green.
- Pick up settings directly from the indicators.
- Have option for TP, trailing stop loss and SL (this i can do)
- Close buy position when Non lag changes from Green to red.
- Close sell position when Non lag changes from red to green.
- Money management (this i can do)
- Set SL on last swing low for buy and last swing high for sell.
I would appreciate it if someone could proivde me with some reading material that maybe able to help me.
Regards,