How to add take profit and stop loss parameters to my cbot?
Created at 22 Aug 2023, 17:52
How to add take profit and stop loss parameters to my cbot?
22 Aug 2023, 17:52
Hello,
Can someone please write me a code that i just paste to the script to have a tp and sl set on every order, i wanna add it to the Sample RSI cBot that is already in ctrader, just leave the pip value as blank or 0 so i can adjust it accordingly.
Thanks.
PanagiotisChar
24 Aug 2023, 05:20 ( Updated at: 24 Aug 2023, 05:25 )
Hi there,
Here you go
ExecuteMarketOrder(tradeType, SymbolName, volumeInUnits, "SampleRSI",0,0);
Aieden Technologies
Need help? Join us on Telegram
@PanagiotisChar