Category Trading  Published on 16/06/2024

Break-Even and Trailing Stop Plugin

Description

This plugin can move the stop loss of all the open positions to the user-defined break-even value in pips with respect to the entry price of each position, and it can also activate a trailing stop loss for all the open positions, which will trail at a user-defined distance in pips from the current price. It is possible to activate both the Break-Even and Trailing Stop features, or either one or the other.

Example when both the Activate Break-Even checkbox and the Activate Trailing Stop checkbox are checked: If the Break-Even Trigger in Pips parameter is set to 10 and the Break-Even Value in Pips parameter is set to 0, the the stop loss will be set at the position's entry price once it reaches 10 pips in profit. If the Trailing Stop Trigger in Pips parameter is set to 30 and the Trailing Distance in Pips parameter is set to 50, the stop loss will then start trailing once a profit of 30 pips is reached, at a distance of 50 pips from the current price.

Example when only the Activate Break-Even checkbox is checked: If the Break-Even Trigger in Pips parameter is set to 15 and the Break-Even Value in Pips parameter is set to 2, the stop loss will be set at the position's entry price + 2 pips in profit once it reaches 15 pips in profit.

Example when only the Activate Trailing Stop checkbox is checked: If the Trailing Stop Trigger in Pips parameter is set to 15 and the Trailing Distance in Pips parameter is set to 20, the stop loss will start trailing once a profit of 15 pips is reached, at a distance of 20 pips from the current price.


The author decided to hide the source code.
acronew's avatar
acronew

Joined on 15.06.2024

  • Distribution: Free
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: BreakEvenTrailingStop.algo
  • Rating: 5
  • Installs: 750
  • Modified: 16/06/2024 13:24
Comments
Log in to add a comment.
TH
thedarkforex21 · 3 months ago

First of all, thank you for your work. I want to dicuss a trouble that i have with the plugin, everytime i close and open Ctrader, the values for active break even and active trailing stop are rebooted to default (break even 10 pips, Trailing stop trigger 30 pips, distance 50 pips), is there a way to maintain my last values for break even and trailing stop?

HE
Hez_O · 3 months ago

I dont know how to start the plugin. It has installed however the Start button does not appear.

CT
ctid7518380 · 3 months ago

Hi,

It looks good. Is it also possible to set it up for just specific position(s) or have different parameters per position?

Thanks. Job

TommyDee's avatar
TommyDee · 4 months ago

Hi Acronew,
I wanted to take a moment to thank you for sharing your trading indicator with everyone. Your generosity and willingness to help others is truly appreciated. I've started using the indicator and it's already making a difference in my trading. Thank you for your hard work and for giving back to the community. 

Best regards, Anastasios