cTrader doesn’t save Heikin Ashi timeframes in the indicator parameters
cTrader doesn’t save Heikin Ashi timeframes in the indicator parameters
04 Apr 2025, 21:29
Hi team,
Looks like there might be a bug in the cTrader software. When I select Heikin Ashi timeframes in the parameters, cTrader doesn’t save them when exiting the program. Next time I start cTrader it goes back to the default timeframe. It does “remember” all other types but not Haikin Ashi.
Test program is below for you to try.
Thank you and looking forward to your comments.
using System;
using cAlgo.API;
namespace cAlgo.Indicators
{
[Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class TestTimeFrame : Indicator
{
[Parameter("Select Timeframe", DefaultValue = "m5")]
public TimeFrame TimeframeCandles { get; set; }
protected override void Initialize()
{
}
public override void Calculate(int index)
{
}
}
}