Author of the idea: Iurii Tokman
MQL5 code author: barabashkakvn
The One MA EA is a straightforward trading tool designed to operate using a single iMA (Moving Average) indicator. All parameters for the indicator are customizable within the inputs. This EA executes trades at each tick: as soon as a trading signal is generated and if there are no open positions counter to the signal, it will take action.
Understanding Position Opening Logic
The EA utilizes data from the Current Bar (get MA). Open, High, and Low data is obtained from the Current Bar (get OHLC). The trading conditions depend on whether the price is within the channel, where the upper boundary is defined as the MA plus the Ceiling of the channel, and the lower boundary is the MA minus the Floor of the channel.
Setting Levels
You have the option to disable the Stop Loss and Take Profit parameters by setting them to "0". However, be cautious: if your Stop Loss is set to "0", you might end up with losing trades that the EA won't close automatically.
Here's a sample test on EUR/USD M15:

Comments 0