Login / Register
Add a review
Log in
Sign UP
[bws_google_captcha]

The model of the well-known Swing strategy (Pendulum, Cheburashka) is the alternate opening of pending orders with an increased lot.

The principle of the strategy is to install two opposite pending orders, when the price moves in one direction, a pending order is triggered, the second order increases in the lot size.

    Swing – Full instructions

    Swing – Full instructions

    To achieve the swing effect, the parameters StopOrderDeltaifUSE and StopLoss must be equal.

    Attention: there are situations when the broker first worked out the opening of the order, and then closed the position by stop loss. Then each of the orders is waiting for the take profit closing, and only then everything starts anew!

    The EA is not intended for testing at the opening prices of bars! You only need to test the Expert Advisor on all ticks.

    The default values are shown in parentheses.

    • TypeofTrade – Select the trading mode of the Expert Advisor.
    • StopOrderDeltaifUSE – distance for pending orders (100).
    • StopLoss – stop loss, not used by default (0).
    • ModifyStopLossAtOrdersopen – modify the stop loss of the transaction to the level of opening a pending order.
    • TakeProfit – take profit, not used by default (0).
    • StopDayTradingEaAfterTP – if the last position is closed by take profit, the EA stops working until the next day.
    • MarketWatch – trading mode (false). If true, positions/orders without stops are placed first, then modification occurs. Suitable for some brokers.
    • Lots – fixed lot (0.1).
    • Martin – the martingale coefficient for the next trade to be opened after a losing one (2).
    • OpenHour – trading opening hour (0).
    • CloseHour – trading closing hour (23).
    • TrailingStopUSE – use trailing stop (false).
    • TrailingStop – the distance of the trailing stop, the minimum allowed (0) is used by default.
    • TrailingStep – distance step (1).
    • StartPointToTrail – from what profit level in points to start using the trailing stop.
    • RollbackPoint – the number of rollback points to close part of the position.
    • PercentLotToClose – the number of percentages from the initial lot to close the position.
    • StepPointToFixLevel – the number of points to fix the next level.
    • MovingInWLUSE – moving a position to breakeven at the first trailing stop level. 

    [spoiler title=”Read More…”]

    The algorithm of partial closing of the Exp TralPartionClose position has also been added.

    Vladon, Expforex

    [/spoiler]

    Add review
    Reviews ( 0 ):