heikin ashi cbot

Created at 20 Mar 2025, 14:50
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!
TH

thamiembonambi

Joined 02.07.2023

heikin ashi cbot
20 Mar 2025, 14:50


Hi, please allow the creation of a cbot exclusively using a heikin ashi chart. For some reason it does not allow me to create one (build errors pop up) when using chatgpt. I am not a programmer/ developer so I rely on chatgpt to create my code for the cbot, my strategy relies on the changing colours of heikin ashi candlesticks/bars, please advise on the possiblilty of implementing this.


cTrader Automate
@thamiembonambi
Replies

firemyst
23 Mar 2025, 02:33

You can't create a cbot for “Exclusively” on any kind of chart. 

However, what you can do is get code in your cbot so it only runs on heikin ashi charts.

Example:

if (!Chart.TimeFrame.Name.Contains("Heikin"))

{

    Print("This bot only runs on Heikin charts.");

    Stop();

}
 

 

For some reason it does not allow me to create one (build errors pop up) when using chatgpt.

Did you ever stop to think that maybe build errors pop up because there's actually build errors in the code generated by Chatgpt and not as a restriction within ctrader? 


@firemyst