TrailingStop Explain

 Currently, there are 3 kinds of Trailing Stops, namely TrailingStop ByPips, TrailingStop By Amount and Trailing Stop ByPercent.



There are some 3 basic menus, namely TrailingStop, NewTakeProfit, TrailingGrap

TrailingStop = The EA will activate Trailing when the Pips/Amount/Percent value has exceeded the TrailingStop value.

TrailingGap = The EA will map StopLoss according to the "TrailingGap" value, and the StopLoss value will change based on what the Gap is following

NewTakeProfit = EA will place TakeProfit according to the "NewTakeProfit" value, and the TakeProfit value will not change, if you don't want to use NewTakeProfit just fill the value to "0"

1.Trailing Stop (ByPips)

for this type of trailingStop there are 3 options based on Trailing calculation



A. One Shoot

for this trailing is specifically used if your strategy uses "One Single Order" or "Open Once A Day", the EA will do Trailing based on 1 available Order.


B. Averaging Last Order

Trailing in this mode will take into account the trailing value of the last order that appeared.

C. BEP

The BEP (Break Even Point) function is to calculate the average breakeven point of all similar orders (Buy or Sell). This BEP is used as a reference to set trailing stop and take profit dynamically, where when the price has passed BEP and reached the specified trailing distance, EA will start shifting the stop loss to secure profit. If the total profit becomes minus, EA will delete all TP and SL, then wait until BEP is reached again before setting new TP and SL.

How TrailingStop mode BEP works :

1. First, the porgram calculates the average Break Even Point (BEP) for Buy and Sell positions separately based on volume and opening price.

2. For Buy positions, the trailing stop is active when the Current price >= BEP + TrailingStop, then SL is set to BEP. If the price continues to rise past the TrailingGap from BEP, SL will start moving following the price with the TrailingStop distance.

3. For Sell positions, the trailing stop is active when the Current price <= BEP - TrailingStop, then SL is set to BEP. If the price continues to fall past the TrailingGap from BEP, SL will start moving following the price with the TrailingStop distance.

4. If the total profit becomes minus, all TP and SL will be deleted and wait until the profit returns to positive.

5. The system ensures that all orders in the same group (Buy/Sell) have identical SL values ​​for consistent risk management.

-----------------------------------------------------

2.Trailing Stop By Amount

for this type of trailingStop there are 2 options based on the Trailing calculation


A. Gap_Follow_Amount

Gap_Follow_Amount is a trailing stop method that adjusts the Stop Loss (SL) position based on the profit (Current Profit Amount) that has been gained.

πŸ“Œ How It Works:

  • TrailingStop_AtAmount = $10 → This means the trailing stop will activate once the profit reaches $10.
  • TrailingGap_AtAmount = 2% of the current profit → The distance between the Stop Loss and the current profit will always be 2% of the profit amount.
  • New_TakeProfit = 0 (example) → Take Profit is disabled.

πŸ”Ή Stop Loss Movement Illustration:

  • When the profit reaches $10, SL will be moved to $2 (2% of $10).
  • When the profit increases to $20, SL will move up to $4 (2% of $20).
  • When the profit increases to $30, SL will become $6 (2% of $30), and so on...

With this method, the larger the accumulated profit, the higher the SL adjustment. This helps secure profits while still allowing room for price fluctuations.

πŸ’‘ Conclusion:
This trailing stop follows the profit and maintains the SL distance based on the predefined percentage (2% of the current profit). If the price reverses and hits the SL, the profit is still secured based on the last SL position.


B. Gap_Follow_CurrentPrice

Gap_Follow_CurrentPrice is a trailing stop method that adjusts the Stop Loss (SL) position based on the current price (Current Price).

πŸ“Œ How It Works:

  • TrailingStop_AtAmount = $10 → The trailing stop will activate once the profit reaches $10.
  • TrailingGap_AtAmount = $2 → The distance between the Stop Loss and the current price is always fixed at $2.
  • New_TakeProfit = 0 (example) → Take Profit is disabled.

πŸ”Ή Stop Loss Movement Illustration:

  • When the price rises to $10, SL will be moved to $8 (kept at a $2 distance from the price).
  • If the price rises to $11, SL moves up to $9 (kept at a $2 distance from the price).
  • If the price rises to $12, SL moves up to $10, and so on...

πŸ’‘ Conclusion:
With this method, SL always maintains a fixed distance from the current price. If the price continues to rise, SL moves up accordingly. However, if the price drops and reaches the SL, the order will be closed, securing the locked-in profit.

Click here for more details >>>Gap_Follow_CurrentPrice<<<<

-----------------------------------------------------
3.Trailing Stop By Percent
for this type of trailingStop there are 2 options based on the Trailing calculation, but the difference is the amount of balance also affects the value


A. Gap_Follow_Percent

Gap_Follow_Percent is a trailing stop method that adjusts the Stop Loss (SL) position based on the percentage of profit from the initial balance.

πŸ“Œ How It Works:

  • Initial Balance = $1000
  • TrailingStop_AtPercent = 10% ($100) → The trailing stop activates once the profit reaches 10% of the initial balance.
  • TrailingGap_AtPercent = 2% of the current profit → The distance between SL and the current profit is always 2% of the obtained profit percentage.
  • New_TakeProfit = 0 (example) → Take Profit is disabled.

πŸ”Ή Stop Loss Movement Illustration:

  • When profit reaches 10% ($100), SL moves to $20 (because 2% of $100 is $20).
  • When profit increases to 20% ($200), SL moves up to $40 (because 2% of $200 is $40).
  • When profit increases to 30% ($300), SL moves up to $60 (because 2% of $300 is $60), and so on...

πŸ’‘ Conclusion:
This trailing stop secures profits based on the percentage of gained profit. The higher the profit, the higher the SL adjustment. If the price reverses and reaches SL, the profit remains secured at the last SL position.


B. Gap_Follow_CurrentPrice

In this mode, the trailing stop adjusts the Stop Loss (SL) position based on the current price (Current Price) while considering the percentage of profit from the initial balance.

πŸ“Œ How It Works:

  • Initial Balance = $1000
  • TrailingStop_AtPercent = 10% ($100) → The trailing stop activates once the profit reaches 10% of the initial balance.
  • TrailingGap_AtPercent = 2% of Current Price → The distance between SL and the current price always remains fixed at 2% of the current price.
  • New_TakeProfit = 0 (example) → Take Profit is disabled.

πŸ”Ή Stop Loss Movement Illustration:

  • When profit reaches 10%, SL is set at 8% (2% below the current price).
  • If profit increases to 11%, SL moves up to 9% (maintaining a 2% distance from the price).
  • If profit increases to 12%, SL moves up to 10%, and so on...

πŸ’‘ Conclusion:
This trailing stop follows the current price with a fixed percentage gap. If the price continues to rise, SL will also move up. However, if the price drops and reaches SL, the order will close, securing the locked-in profit.

Komentar