Stop Loss modification after reaching X Pips
Created at 23 Jan 2020, 06:04
VE
Stop Loss modification after reaching X Pips
23 Jan 2020, 06:04
Dear All,
I am using the Free Cbot for placing the trade with Trailing stop loss. I am using the ATR as trailing stop loss settings, just want to if there is any possibility to change the trailing stop loss value after reaching X pips in profit.
For ex (GBPJPY) 4Hr Timeframe, TSL -47 Pips, if the trade was going in my favour by 10 pips, I just want update the TSL from -37 to 5.
Also is there any way to stop all running bots by a shortcut or another Cbot, because it is difficult to close 1 by 1 especially when working in multiple tabs.
Thanks and Regards
R. Vadivelan
PanagiotisCharalampous
23 Jan 2020, 08:25
Hi R. Vadivelan,
To modify a stop loss at any time, you can use the ModifyStopLossPrice or ModifyStopLossPips functions.
Regarding
There is no build in API function for this but you could code a solution by yourself e.g. by a raising a flag written in a file.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous