MikenekoDream
- Experts
- Noriyuki Suzuki
- Versão: 2.0
- Atualizado: 7 novembro 2025
MikenekoDream is a simple EA that performs reversal trading based on the deviation rate from the moving average.
It only trades at the open of each timeframe.
It enters a trade when the closing price of the previous bar exceeds the set deviation rate, and exits when the opposite occurs.
Because the logic is simple, it can be used to trade other currencies.
It has a good affinity for currencies involving the euro and the Canadian dollar, but a poor affinity for USD/JPY.
■Parameter Descriptions
■LotManagement --- If set to true, the compounding function will be enabled.
■LotFactor --- When LotManagement is true, this value is used to calculate the lot size.
■FixedLot --- When LotManagement is false, this value is the fixed lot size.
■MaxLot --- The upper limit for the lot size to be traded. The EA will not trade with a lot size greater than this value.
■MiniLot--- The lower limit for the lot size to be traded. The EA will not trade with a lot size smaller than this value.
■RecoveryMode --- If set to true, Recovery Mode is activated. In this mode, the EA remembers the original account balance. If the balance decreases due to losses, the EA will increase the lot size with each subsequent trade until the original balance is recovered. The lot size in RecoveryMode is: (Base Lot Size × RecoveryCount × RecoveryLotMultiplier). The RecoveryCount increases by +1 with each trade until the original balance (RecoveryGoalBalance) is restored.
The target account balance is displayed on the chart as 'RecoveryGoalBalance'. This value is not reset when restarting MT5, but it will be reset along with the RecoveryCount if you change the MagicNumber or press the "Reset RecoveryMode" button on the chart.
■MaxRecoveryCount --- Allows you to set the maximum limit for the RecoveryCount.
■RecoveryLotMultiplier --- The lot size is multiplied by this value every time the RecoveryCount increases by 1.
■MaxSpread --- The upper limit for the spread at which trading is permitted.
■slippage --- The upper limit for the slippage at which trading is permitted.
■MagicNumber --- The identification number for the EA. This EA identifies its own positions by a combination of the currency pair it is running on and the MagicNumber.
■OrderComment --- The comment attached to a position.
■TakeProfit, StopLoss --- Take profit and stop loss. They are in points.
■MA_Period --- The period of the moving average used for calculating the deviation rate.
■MA_Method --- The calculation method for the moving average used for calculating the deviation rate.
■MA_Price --- The price method applied to the moving average used for calculating the deviation rate.
■Entry_DeviationRate --- The deviation rate that serves as the entry criteria. For example, if you input "1.0," the EA will enter a Buy trade at the open of the next bar if the closing price exceeds 1.0, and a Sell trade if it falls below -1.0.
■Exit_By_DeviationRate --- Sets whether to use the deviation rate for exiting a trade. True turns this on.
■Exit_DeviationRate --- The numerical value of the deviation rate used for settlement. It is also possible to input a negative number.
■TrailingStop --- If set to true, a trailing stop will be applied.
■TrailingType --- The type of TrailingStop. This is a dropdown menu. 'Normal' applies a trailing stop based on the points specified in TrailingStopLevel. 'Bar' moves the trailing stop to the highest/lowest price of the H1 candlesticks specified in TrailingBars.
■TrailingStopLevel --- When TrailingType is 'Normal', the stop loss will trail the current price by the number of points specified here.
■TrailingStart --- When TrailingType is 'Normal', the trailing stop will activate once the position moves into profit by this specified number of points.
■TrailingBars --- When TrailingType is 'Bar', specifies how many past H1 candlesticks' highest high/lowest low to use for moving the stop loss.
