heikin ashi cbot
Created at 20 Mar 2025, 14:50
TH
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
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();
}
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