double lot size cbot

Created at 10 Aug 2024, 23:44
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
ForexViet's avatar

ForexViet

Joined 05.05.2023

double lot size cbot
10 Aug 2024, 23:44


hi, every one, i am trying to use chat GPT to code the cbot with this request, but not succes:

Opens a trade with a specified label.
Sets a target profit.
Includes a Double Size yes/no option.
Sets the pip value for Double Size.
Sets a maximum lot size.
Doubles the size of the trade if the conditions are met (i.e., the trade is in loss equal to the Double Size Pips, Double Size is set to Yes, and the lot size of the losing trade is less than 2 * Max Lot Size). Set target profit again to the trade after double.

Please help me with the code, i am not good in code

 


@ForexViet
Replies

PanagiotisCharalampous
12 Aug 2024, 05:05

Hi there,

If you need somebody to develop the code for you, you can reach out to a consultant.

Best regards,

Panagiotis


@PanagiotisCharalampous