Stop Loss and Take Profit fixed at 1 pip

Created at 18 Jul 2024, 08:56
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!
DA

darov97

Joined 07.07.2024

Stop Loss and Take Profit fixed at 1 pip
18 Jul 2024, 08:56


Hello, i need help with a CBot, i asked Chatgpt 4 to create a simple bot form me that buys market when a custom indicator (similar to RSI) gives a certain value, and set a 10 pip sl and 20 pips tp. But the bot always places 1 pip sl and tp. i spent 2 days trying to figure out why this happen, it seems there's nothing wrong with the code, i trid whit chat gpt different versions but still the same issue is showed during backtesting. What could be the problem? in some settings of the platform? do you need the code to look at? thank you for your time
 


@darov97
Replies

PanagiotisCharalampous
19 Jul 2024, 05:34

Hi there,

Please share the cBot code and examples of the issue so that we can help further.

Best regards,

Panagiotis


@PanagiotisCharalampous