How to plot a weekly moving average on a daily chart?

Questions about MultiCharts and user contributed studies.
fugu_master
Posts: 6
Joined: 25 Jun 2012
Has thanked: 1 time

How to plot a weekly moving average on a daily chart?

Postby fugu_master » 25 Jun 2012

Hi - I can get the weekly moving average to plot on the daily sub chart by selecting the weekly data source in Properties, but the scaling of the weekly moving average does NOT match the daily instrument.

How do I force the weekly plot to follow the same scaling as the daily chart?

User avatar
TJ
Posts: 6598
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 971 times
Been thanked: 1909 times

Re: How to plot a weekly moving average on a daily chart?

Postby TJ » 25 Jun 2012

fugu_master wrote:Hi - I can get the weekly moving average to plot on the daily sub chart by selecting the weekly data source in Properties, but the scaling of the weekly moving average does NOT match the daily instrument.

How do I force the weekly plot to follow the same scaling as the daily chart?


Format Study > Scaling > Same as Instrument

fugu_master
Posts: 6
Joined: 25 Jun 2012
Has thanked: 1 time

Re: How to plot a weekly moving average on a daily chart?

Postby fugu_master » 25 Jun 2012

Format Study > Scaling > Same as Instrument


Thx that would be logical, but I did that originally and it does not work.
The only way I can get it to correctly scale is to plot the weekly bars ON the daily chart, then plot the weekly moving average.

But then if you hide the weekly bar plots, the moving average again gets incorrectly scaled.

(In TS I just select "right hand axis" for scaling indicator plots.)

I do know you can click the right hand axis and "select" the underlying instrument or select the indicator... but for some reason you cannot enforce both to be on the same scale.

User avatar
TJ
Posts: 6598
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 971 times
Been thanked: 1909 times

Re: How to plot a weekly moving average on a daily chart?

Postby TJ » 25 Jun 2012

fugu_master wrote:
Format Study > Scaling > Same as Instrument


Thx that would be logical, but I did that originally and it does not work.
The only way I can get it to correctly scale is to plot the weekly bars ON the daily chart, then plot the weekly moving average.

But then if you hide the weekly bar plots, the moving average again gets incorrectly scaled.

(In TS I just select "right hand axis" for scaling indicator plots.)

I do know you can click the right hand axis and "select" the underlying instrument or select the indicator... but for some reason you cannot enforce both to be on the same scale.

Add one more data series to the chart. It's free.

fugu_master
Posts: 6
Joined: 25 Jun 2012
Has thanked: 1 time

Re: How to plot a weekly moving average on a daily chart?

Postby fugu_master » 25 Jun 2012

TJ wrote:Add one more data series to the chart. It's free.


I've been using Insert > Instrument and selecting which subchart to place it.
But this has no effect on scaling.

Is there something I'm missing??
Attachments
chart1.jpg
Weekly MAV based on #2 data - wrong scale
chart1.jpg (382.48 KiB) Viewed 154 times

fugu_master
Posts: 6
Joined: 25 Jun 2012
Has thanked: 1 time

Re: How to plot a weekly moving average on a daily chart?

Postby fugu_master » 25 Jun 2012

Set to scale as instrument but not actually scaling to daily.
Attachments
chart2.jpg
Scaling "same as instrument" - but no effect on daily chart scale
chart2.jpg (361.37 KiB) Viewed 156 times

User avatar
TJ
Posts: 6598
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 971 times
Been thanked: 1909 times

Re: How to plot a weekly moving average on a daily chart?

Postby TJ » 25 Jun 2012

add the weekly data series to subchart #1

fugu_master
Posts: 6
Joined: 25 Jun 2012
Has thanked: 1 time

Re: How to plot a weekly moving average on a daily chart?

Postby fugu_master » 25 Jun 2012

TJ wrote:add the weekly data series to subchart #1


Yes I've tried that too - and scaling does work, but I don't want to see the weekly bars on my daily chart.

If you then HIDE the weekly plot, the scaling gets thrown out again.

User avatar
TJ
Posts: 6598
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 971 times
Been thanked: 1909 times

Re: How to plot a weekly moving average on a daily chart?

Postby TJ » 25 Jun 2012

fugu_master wrote:
TJ wrote:add the weekly data series to subchart #1


Yes I've tried that too - and scaling does work, but I don't want to see the weekly bars on my daily chart.

If you then HIDE the weekly plot, the scaling gets thrown out again.


don't hide it, set the plots to invisible.
These users thanked the author TJ for the post:
fugu_master

fugu_master
Posts: 6
Joined: 25 Jun 2012
Has thanked: 1 time

Re: How to plot a weekly moving average on a daily chart?

Postby fugu_master » 25 Jun 2012

TJ wrote:don't hide it, set the plots to invisible.


AHA - thanks TJ, that solved the problem. It now scales properly!

User avatar
TJ
Posts: 6598
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 971 times
Been thanked: 1909 times

Re: How to plot a weekly moving average on a daily chart?

Postby TJ » 25 Jun 2012

fugu_master wrote:
TJ wrote:don't hide it, set the plots to invisible.


AHA - thanks TJ, that solved the problem. It now scales properly!

I am glad that it works now.

Good trading!


Return to “MultiCharts”