The EA generates signals about changes in the trend. Signals can be generated using different strategies.
When a position is opened, it is equipped with a take profit and a stop loss. If the position becomes profitable, a dynamic stop loss based on the specified values (TrailingStep and DistanceStep) is set for it and constantly trailed. This allows you to always close positions in profit.
Parameters
Main Settings
- LotSize = 0.01 - fixed position volume.
- LotAutoSize = false - enable dynamic calculation of the position volume. LotSize is ignored.
- LotRiskPercent = 25.0 - risk to determine the position volume. It is calculated based on the free margin, available equity and the leverage.
- MoneyRiskInPercent = 0 - risk as a percentage of the capital, for safety reasons, the recommended value is 32. When the specified percentage is reached, all positions with the same MagicNumber are immediately closed on all charts.
- MaxDynamicLotSize = 0.0 - the maximum allowable lot size when the LotAutoSize function is active. If the entered value is greater than the maximum allowed value for the trading instrument, the maximum value for the instrument is used.
- MaxMoneyValueToLose=0 - Money value, which you want to risk.
Position settings
- TrailingStep = 15 - distance from the position opening price to set trailing stop.
- DistanceStep = 15 - step from the current price to move the trailing stop.
- TakeProfit = 750 - it should also be set for protection against gaps.
- StopLoss = 0 - if 0 then 10000 points by default.
Strategies
- UseTrendIndicator = true - Use the trend indicator.
Smoothing=3.0 - Smoothing param fo trend indicator.
- UseSMAOnTrendIndicator = true - Use the moving averages based on the indicator values.
- UseOneOrTwoSMAOnTrendIndicator = 1 - Use a moving average based on High values (1), moving averages based on High and Low values(2) or only based on Low values (3).
- UseSMAsCrossingOnTrendIndicatorData = false - Intersection of two moving averages.
- UseRSIBasedIndicator = false - Use the RSI-based indicator.
- UseCorridorCroosing = false - Use crossing of BBs on indicator values.
- UseSimpleTrend = false - Strategy based on MACD and moving average. The ADX indicator provides additional support.
- UseStochasticBasedIndicator = false - Simple crossover of the Stochastic indicator for determining the overbought or oversold states on the market. Recommended on timeframes starting from H4.
- Use5050Strategy = false - Based on RSI value: Value greater than 50 means a purchase signal, otherwise a sales signal.
UseMAOn5050Strategy = false - Use MA on the RSI values.
UseStochRSICroosingStrategy = false - Based on the 5050 strategy, the Stochastic Crossing Strategy was developed.
UseNightAsianBlock = false - Based on the night sideways movement of asian session. Opens pendings above the block.
GapFromBlock = 60 - Distance from the block for pendings.
CandleCountInBlock = 12 - Amount of candles to analyse.
MaxBlockSizeInPoints = 300 - Max. size of the block in points.
UseIchimokuClouds = false - Use Ichimoku Clouds base strategy.
IchimokuMAPeriod = 12 - MA period on Ichimoku.
UseHMAStrategy = false - Trendy strategy.
UseSmoothedStrategy = false - Smoothed Heiken Ashi strategy.
SmoothedWithADX = false - Use ADX filter for the Smoothed Heiken Ashi strategy. Set pending on signal.
DistanceForPending = 0.0 - Distance in points to set pending on signal. If 0, so on EA use the standard values for each timeframe.
UseSimpleMAsStrategy = false - Simple MA crossing strategy.
UseCCIAverageStrategy = false - Strategy uses improved CCI indicator.
UseCCIAverageFiltering = false - Filter signals.
CCISignalValue = 150.0 - Signal value. Can be between 150 and 230.
- HandleLostPositions - If some of the positions goes in the wrong direction, so it can be handle by this function. This function opens pendings after price movement of StepInPoints on the price of the PendingOrderAfter and close all positions in plus with PointsToTake TP.
- HandleLostPositions = false
- MaxPendingAmount = 5
- StepInPoints = 500
- PendingOrderAfter = 250
- PendingOrderExpiry = 30
- PointsToTake = 100
- Trade the chosen strategy on all available FX symbols
- TradeOnAllSymbols =false
- TradeOnlyListOfSelectedSymbols = false
- ListOfSelectedSymbols = "EURUSD;USDJPY;GBPUSD"
- ListOfSelectedTimeframesForSymbols = "H4;D1;D1"
- TradeFromSignalToSignal = false
Signal generation time
- StartHour = 8
- EndHour = 22
If buy/sells are predominant on the market, you can enable signals only for buying/selling.
- OnlyBuy = true
- OnlySell = true
- HandleUserPositions = false - this function accepts manually opened positions and handles them in accordance with the above settings.
- CountCharsInCommentToEscape = 0 - if your broker places its information into the comment field, it can be ignored up to the specified number of characters.
- HandleOnCandleOpenOnly = true - if true, signals are generated only on new candles, otherwise positions will be opened until the candle closes.
- AddPositionsIndependently = false - allows opening positions on every signal, regardless of the positions already opened by the robot.
- MaxConcurrentOpenedOrders = 4 - the maximum number of positions that can be open at the same time.
Send notifications on signals:
- SendOnlyNotificationsNoTrades = false
- SendEMail = false
- SendNotificationToPhone = false
- ShowAlertBox = false
- MagicNumber = 3537 - must be unique for each symbol.