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 attached the indicator, photo of indicator and code snippet of ea.
I have tried to set an entry and exit for this indicator but i haven't got the exact or perfect entry. It's misbehaving, my settings are terrible.
I would like to get best settings for this indicator.
I have given the indicator high period to filter the noise (159). But anyone can set lower than this minimum 10, both in indicator and ea.
Entry condition: Buy when color gets lime. Exit open position when trend change color to red
sell when color change to red. Exit position when color change to lime.
i tried to use alternating periods for indicator as in this ea.
This are my settings.
//buy enterif(ind>=0.01 && ind<=0.15 &&indback>=0.2000)
//sell this if ok