Constructor MT5
- Experts
- Aliaksandr Chupryna
- Version: 2.3
- Updated: 31 May 2023
- bar trading
- Trading with iEnvelopes and iSAR indicators
- Trading with the iMA indicator
- Trading with the iIchimoku indicator
- Lot calculation ( 7 options )
- Closing positions (5 main options and additional ones)
- Up to 10 any currency pairs
- and other advanced options
Important when testing:
- If the symbol names of your broker's currency pairs contain suffixes or prefixes (for example #.EURUSD.ch ) , then it is necessary to register them completely in the input data.
- To save time and resources, it is recommended to select the simulation mode "1_minute_OHLC".
- After selecting the appropriate setting option, check the results in the "_Every_tick" mode.
When installing the adviser on different charts on the same account, keep in mind that each next "_Magic_" must be 4 more or less than the existing ones.
- EA-1, EA-2, EA-3, EA-4 : Enable (disable) trading strategy
- Total_Bars_to_Open : The minimum number of consecutive bullish or bearish bars to open a position
- Size_Bars_to_Open : Minimum total volume of bars to open a position
- Use_when_opening_iSAR : Don't buy if iSAR < Bid_. Prohibition to sell if iSAR > Bid_
- Step_when_opening : Consider step (Step_Size) when opening positions
- Step_Size : Minimum distance (in points) between open positions
- Step_increase_ratio : Step reduction ratio (Step_Size). If Step_increase_ratio = 1 : Step_Size = constant
- Open_only_1_position : Open only one position in each direction
- Lot_selection : Selection of trade volume calculation (lot):
- Lot_Const : Constant Lot = Min_Lot *Exponent_EA
- Lot_from_TP : Lot required to close positions in profit at TP_for_Lot distance from the last order price
- Lot_from_Step : Lot depends on the distance of the current price from the price of the first order ( +1 Step_Change_Lot = + Min_Lot )
- Lot_Alg : Each lot is increased by Min_Lot
- Lot_Geom : Each lot is increased by Lot_Exponent_Geom times
- Lot_Fibo : Each lot increases in the Fibonacci sequence
- TP_for_Lot : Required number of points (from the price of the last order) to close positions in profit. (if Lot_from_TP = true)
- Step_Change_Lot : The number of pips needed to increase the lot by MinLot. (if Lot_from_Step = true)
- Lot_Exponent_Geom : Lot exponent. (if Lot_Geom = true)
- Closing_Positions_ : Select conditions for closing positions :
- Close_by_TakeProfit_ : Close positions by Take_Profit ( TakeProfit_ ) from the last order
- Close_by_SumLots : Closing positions with total profit >= amount of lots multiplied by coefficient(SumLots * SumLots_Exponent)
- Close_by_Profit : Closing positions with total profit >= Profit_for_Closing
- Close_by_iMA : Close positions when two iMA indicators cross
- Close_by_iSAR : Close positions when the price crosses the iSAR indicator
- TakeProfit_ : TakeProfit_ to close positions. (if Close_by_TakeProfit= true)
- SumLots_Exponent : The coefficient of the sum of lots (for one direction) for closing positions. (If Close_by_SumLots = true)
- Profit_From_Close : Total profit (for one direction) to close positions. (If Close_by_Profit = true)
- Close_by_Minus_Profit : Close positions by negative profit( Minus_Profit_From_Close).
- Minus_Profit_From_Close : Negative profit to close positions. (if Close_by_Minus_Profit = true)
- Close_by_Minus_EA : Close all EA positions by negative profit of the entire trading strategy (Minus_Profit_From_Close).
- Minus_Profit_EA : Negative profit of the whole trading strategy. (if Close_by_Minus_EA = true)
- Close_by_Stop_Loss: closing positions by Stop_Loss (StopLoss_) from the last order
- StopLoss : stop_loss for closing positions. (if Close_by_Stop_Loss = true)
- Close_by_iSAR_add: Close positions when the price crosses the iSAR indicator if profit > 0.
- TP_Close_by_Level : Close positions when TakeProfit is equal to the difference between the first and last order opening prices * TP_Exponent
- Lot_from_TP_by_Level: Lot is calculated taking into account dynamic TakeProfit (TP_Close_by_Level = true)
- LotFromHistSL: Lot is calculated taking into account the last minuses in the history (if Close_by_StopLoss = true and Open_Only_1_position = true)
- Exponent_EA: All trading strategy inputs are multiplied by Exponent_EA.
- step_iSAR : Price change step - acceleration factor (iSAR).
- maximal_iSAR : Maximum stride (iSAR)
- Ma_period : averaging period
- Ma_shift : horizontal shift of the indicator
- ma_period_Env : (iEnvelopes) period to calculate the midline
- ma_shift_Env : (iEnvelopes) indicator horizontal shift
- Deviation : (iEnvelopes) the deviation of the boundaries from the midline
- Auto_Lot : automatic increase in the lot of the first order in the session to the level of Min_Lot*MathFloor( Balance/Balance_For_Add)
- Balance_For_Add : 0.01 lot increase every Balance_For_Add $
test good result