moving average price channel

Created at 23 Apr 2020, 22:05
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!
TR

traderfxmaster007

Joined 09.07.2019

moving average price channel
23 Apr 2020, 22:05


hi can you please help me how to code moving average price channel.

i would like to create two moving averages hi and low and shifted 1 bar.

is this correct,

    

            MA_high = Indicators.SimpleMovingAverage(Bars.HighPrices, 5,1);

thanks.


@traderfxmaster007
Replies

PanagiotisCharalampous
24 Apr 2020, 08:24

Hi traderfxmaster007,

There is no overload with a shift parameter at the moment. If you need an MA with a shift, you need to develop a custom indicator.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous