I started coding an EA which is supposed to identify the the highs and lows over a given number of bars (Period_High_Low) and then open a sell order at the same level as the High (double-top) if the RSI conditions are met. So, if the current price touches the previous high, and the RSI of the current candle is less than the RSI of the previous candle, a sell should open. This is my first EA and not sure what I did wrong. Thanks
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 started coding an EA which is supposed to identify the the highs and lows over a given number of bars (Period_High_Low) and then open a sell order at the same level as the High (double-top) if the RSI conditions are met. So, if the current price touches the previous high, and the RSI of the current candle is less than the RSI of the previous candle, a sell should open. This is my first EA and not sure what I did wrong. Thanks