How can I make the "trade_above" variable
work properly and be correct for every tick?
as for now, If the program is reloaded
this variable may not be correct !
I tried to change it to -> price_above=(ask>SMA_10day) and move it to start()
but it worked only for short trades
how can I make it work for short & long trades ??
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,
How can I make the "trade_above" variable
work properly and be correct for every tick?
as for now, If the program is reloaded
this variable may not be correct !
I tried to change it to -> price_above=(ask>SMA_10day) and move it to start()
but it worked only for short trades
how can I make it work for short & long trades ??
thanks