For people who like to plot a moving average from a higher timeframe in the chart with a lower time frame it would be a great help to have the possibility to set the scaling range in data2 as same as data1 automatically.
In my example you can see a moving average from a 30 minute chart in the 5 minute chart using data1 and data2 and synchronize scaling from data2 and the moving average to the scaling from data1.
Step 1: ad moving average indicator “base study on” data2 (30 min) and plot moving average in subchart1 with data1 (5 min). Scaling moving average “same as instument”.
Step2: The scaling range from data 1 and data 2 must be the same, so maximum and minimum must be user defined via setting “Format Symbol – Scaling”.
It would be cool to have the opportunity for synchronize scaling from data2 to data1 so that many sophisticated programming with PriceSeriesProvider and other challenges could be avoided.
Moving average from higher time frame [SOLVED]
-
- Posts: 60
- Joined: 21 Dec 2007
- Has thanked: 3 times
- Been thanked: 9 times
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: Moving average from higher time frame
....
It would be cool to have the opportunity for synchronize scaling from data2 to data1 so that many sophisticated programming with PriceSeriesProvider and other challenges could be avoided.
Daxavgdata2.pngdata2format.png
Can you expand on this?
-
- Posts: 60
- Joined: 21 Dec 2007
- Has thanked: 3 times
- Been thanked: 9 times
Re: Moving average from higher time frame
Another example: Display a weekly moving average in a daily chart without a Dll such as All Data Everywhere (ADE)
Data1: SPY daily
Data2: SPY weekly
Base study (moving average) in subchart 1 on data2
Scaling Range Data1 & Data2 & Study in subchart1: User defined Max 300 Min 175
If data2 could be synchronized automaticly to the scale of data1 the user does not have to scale the price axis manually.
Data1: SPY daily
Data2: SPY weekly
Base study (moving average) in subchart 1 on data2
Scaling Range Data1 & Data2 & Study in subchart1: User defined Max 300 Min 175
If data2 could be synchronized automaticly to the scale of data1 the user does not have to scale the price axis manually.
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: Moving average from higher time frame
Another example: Display a weekly moving average in a daily chart without a Dll such as All Data Everywhere (ADE)
Data1: SPY daily
Data2: SPY weekly
Base study (moving average) in subchart 1 on data2
Scaling Range Data1 & Data2 & Study in subchart1: User defined Max 300 Min 175
If data2 could be synchronized automaticly to the scale of data1 the user does not have to scale the price axis manually.
SPYdayweek.png
You do not need to use ADE.
Go to Format Instrument,
set the data2 property to Chart #1.
-
- Posts: 60
- Joined: 21 Dec 2007
- Has thanked: 3 times
- Been thanked: 9 times
Re: Moving average from higher time frame
I don´t catch your idea. How do I set "the data2 property to Chart #1"?
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: Moving average from higher time frame
I don´t catch your idea. How do I set "the data2 property to Chart #1"?
Have you followed my instruction?
...Go to Format Instrument
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: Moving average from higher time frame
See red circle
Then set the style to "Invisible Bars" if you don't want to see it.
Then set the style to "Invisible Bars" if you don't want to see it.
- Attachments
-
- Format Instrument.JPG
- (56.55 KiB) Downloaded 869 times
-
- Posts: 60
- Joined: 21 Dec 2007
- Has thanked: 3 times
- Been thanked: 9 times