BP_TIME_2_4 Strategy on GBR/USD for 1 hours. Indicators are not used. The opening lot of the order ( Lot_MRT) with the open key Lot_ot_balansa and the open key Lot_max is calculated as follows: Equity is converted into millions and multiplied by the factor (Risk) Lot_start = 0,00001*Equity * Risk (Risk = 15) Constantly recalculating Lot_start as Equity increases, we obtain the maximum Lot_start value, which we assign to the Lot_MRT variable Consider an hourly candle with opening at 13:00UTC and closing at 14:00UTC. This candle is a signal candle. If the open price is less than the close price this is a buy signal. If the open price is higher than the close price this is a sell signal The next day, at the close of the hourly candle, which opened at 10:00UTC (that is, at 11:00UTC), open a order in accordance with the signal candle (buy signal – BUY order; sell signal – SELL order) TP 40 pips, SL 50 pips. If SL triggers, the following keys are opened in the TradeEvent branch: KORR –true and Martin_start –true. When the KORR –true key is open, a signal to open is sent to the onTick branch. The order will be opened if two conditions are met: a) Last trading event with negative ProfitLoss b) No open positions The order is opened after closing order with SL 50 pips Lot for opening Lot_K is set - 30 lots (30M) According to the terms of trade, the maximum lot = 15 lots (15M). Thus, until the Equity reaches a value that allows you to open an order with a lot of 15M. Orders will be opened for our GBP / USD pair, based on the maximum allowable leverage (Equity / current rate * 100). In the opposite direction to the closed order with TP 20 pips and SL 100 pips (when MAR_CUT is triggered (about 67-68 pips) and a order is opened with the maximum possible lot in the opposite direction with TP 20 pips, and so on until the first positive deal or until the account is closed. If at 11:00UTC we have an open position, then the signal to open, that occurred on the previous day is canceled. And consider an hourly candle with opening at 13:00UTC and closing at 14:00UTC this candle is a signal candle to next day.
Translate to English Show original