1. Home
  2. Docs
  3. Functions Glossary
  4. Break-Event & Trailing Setting

Break-Event & Trailing Setting

This section covers how the EA will react after gaining some profits. The EA will activate Trailing loss to secure or lock your current profit to avoid any loss in case the trade will go opposite direction before the actual Take Profit has been hit. Note that Trailing Loss will not be activated if the trade is loss. Only work when a trade begins to gain profit. Break-Event and Trailing are worked the same way. But the main difference is Break-Event only work one time only and Trailing work every time when it hit trigger.

How Break-Event and Trailing Work

In this example, you use only buy trade. Sell trade is the same as just work the opposite direction.  

Break-Event

Break-Event works with like trigger and action. When the trigger happened EA do the action. Trigger

Break-Event Start: This is the trigger value. For example, your value is 200 points. So when you buy trade goto 200 points profit or more. EA fire the trigger and goto the action.

Action

Break-Event Step: This is the action value. For example,  your value is 30 points. So EA will set stoploss your buy trade's  OPEN PRICE + BREAK-EVENT STEP VALUE. If your open price is 1.20000 then your StopLoss will be set  1.20000 + 30 Points = 1.20030

     

Trailing

Trailing works with like trigger and action. When the trigger happened EA do the action. Trigger

Trailing Step: This is trailing trigger value. For example, your value is 200 points.

There are two-way trigger work

 

Step 1# - When you trade's current stoploss set in loss or if your trade doesn't set any stoploss then trigger calculation fellow step 1#

if your trade in profit 200 points then trigger happened.

Calculation - OPEN PRICE - CURRENT PRICE >= TRAILING STEP VALUE

 

Step 2# - When you trade's current stoploss set in profit then trigger calculation fellow step 1#

if current price move more then 200 points from your current stoploss level then trigger happened.

Calculation - CURRENT STOPLOSS - CURRENT PRICE >= TRAILING STEP VALUE

Action

Trailing Stop: This is the action value. For example,  your value is 100 points.  When any trigger happened EA set new StopLoss in below calculation

Calculation - CURRENT PRICE - TRAILING STEP VALUE = New StopLoss