Moving Averages not drawn completely  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
Traderji
Posts: 41
Joined: 08 Mar 2012
Has thanked: 6 times
Been thanked: 17 times

Moving Averages not drawn completely

Postby Traderji » 22 Jul 2013

I placed the built in mov_average_2_lines indicator on my chart. The fast line was 55 and slow was 100.

The indicator does not draw the MA lines all the way back through the all the bars? I could not find anything in the settings for this. Any one why it does this?

Screenshot

Image

Traderji
Posts: 41
Joined: 08 Mar 2012
Has thanked: 6 times
Been thanked: 17 times

Re: Moving Averages not drawn completely

Postby Traderji » 25 Jul 2013

Anyone? Henry?

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Moving Averages not drawn completely  [SOLVED]

Postby Henry MultiСharts » 29 Jul 2013

Hello Traderji,

This is how auto detect has set the MaxBarsBack value.
The minimum MaxBarsBack is the largest MaxBarsBack required by all plots of the study.
MaxBarsBack is the amount of bars that would be used for initial script calcualtion, to get the initial value of functions, variables. This amount of bars would be skipped, so you will see a first signal on maxbarsback+1 bar (for ex, may vary depending on the strategy).
Chart data range should be higher than MaxBarsBack value.
For example Moving Average of 100 bars would require a setting of 100.
If you want the plot to start from 101 bar please go to Format->Study->Mov Avg 2 lines->Format->Properties->Max number of bars study will reference->100.

Traderji
Posts: 41
Joined: 08 Mar 2012
Has thanked: 6 times
Been thanked: 17 times

Re: Moving Averages not drawn completely

Postby Traderji » 29 Jul 2013

Thanks Henry.


Return to “MultiCharts .NET”