Help Drawing objects in CBot
Created at 17 Oct 2021, 02:04
AL
Help Drawing objects in CBot
17 Oct 2021, 02:04
Hi All,
Making the switch from MQL5 to CAglo and having issues with the basics.
I'm trying to get a CBot to put an up arrow at the high price of the last candle.
Chart.DrawIcon(unique_name, ChartIconType.UpArrow, 1, Bars.HighPrices.Last(1), Color.Red);
Complies withour error, but nothing comes up on chart. I'm sure it's something silly I've missed. Any help would be appreciated.
Thanks
amusleh
18 Oct 2021, 09:07
Hi,
Can you please post your cBot full code? so we will be able to replicate the issue.
@amusleh