ATR Error
Created at 24 Apr 2024, 07:53
ATR Error
24 Apr 2024, 07:53
Hi
Hope someone can help. Trying to use the ATR in a scalping strategy but keep getting error CS1501 “No overload method” for:
{
_ema = Indicators.ExponentialMovingAverage(MarketSeries.Close, 5);
_atr = Indicators.AverageTrueRange(14);
}
Any ideas?
Thanks
PanagiotisCharalampous
25 Apr 2024, 05:57
Hi there,
There is no AverageTrueRange method taking only one parameter. Check what parameters are required in the link below
https://help.ctrader.com/ctrader-automate/references/Indicators/AverageTrueRange
Best regards,
Panagiotis
@PanagiotisCharalampous