Hi
I want to know if it's possible to plot a daily study in an intraday Study without using global variables or ADE.
In the intraday study, when i use data2 for the daily data, i don't have the same result than in the daily chart. I only want to plot for example the daily MACD with the hourly MACD
thank you
Possibility to plot a daily study in an intraday Study? [SOLVED]
-
- Posts: 174
- Joined: 31 Jan 2006
- Has thanked: 74 times
- Been thanked: 5 times
- furytrader
- Posts: 354
- Joined: 30 Jul 2010
- Location: Chicago, IL
- Has thanked: 155 times
- Been thanked: 217 times
Re: Possibility to plot a daily study in an intraday Study?
What exactly do you want to see? Do you mean that you want to plot the study based on daily data onto a price chart that shows intraday values, or that you want to overlay a study based on intraday data with a study based on daily data?
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
-
- Posts: 174
- Joined: 31 Jan 2006
- Has thanked: 74 times
- Been thanked: 5 times
Re: Possibility to plot a daily study in an intraday Study?
FuryTrader
you want to overlay a study based on intraday data with a study based on daily data
you want to overlay a study based on intraday data with a study based on daily data
- furytrader
- Posts: 354
- Joined: 30 Jul 2010
- Location: Chicago, IL
- Has thanked: 155 times
- Been thanked: 217 times
Re: Possibility to plot a daily study in an intraday Study?
I don't know how clean it will look but all you have to do is:
1) When you create your intraday indicator, make sure you click on the Format Study -> Properties tab and where it says "Base Study On", select the data series for your intraday data;
2) When you create the indicator based on the end-of-day indicator, do the same as #1 but where it says "Base Study On", select the data series for the daily data;
3) You will now have two subcharts with indicators based on different data streams. Make sure these are showing the correct values;
4) Re-select your end-of-day indicator, click Format Study -> Properties and change the SubChart from SubChart #3 to Subchart#2 (or whatever sub chart that has your intraday indicator).
That's it.
1) When you create your intraday indicator, make sure you click on the Format Study -> Properties tab and where it says "Base Study On", select the data series for your intraday data;
2) When you create the indicator based on the end-of-day indicator, do the same as #1 but where it says "Base Study On", select the data series for the daily data;
3) You will now have two subcharts with indicators based on different data streams. Make sure these are showing the correct values;
4) Re-select your end-of-day indicator, click Format Study -> Properties and change the SubChart from SubChart #3 to Subchart#2 (or whatever sub chart that has your intraday indicator).
That's it.
-
- Posts: 174
- Joined: 31 Jan 2006
- Has thanked: 74 times
- Been thanked: 5 times
Re: Possibility to plot a daily study in an intraday Study?
FuryTrader
thank you
i did it but in my example
daily macd = 14,57
hourly macd = 0.63
the two indicators are in Subchart#2
Problem with the scale: daily macd is below hourly macd
is it possible to have the same scale for the two indicators?
thank you
i did it but in my example
daily macd = 14,57
hourly macd = 0.63
the two indicators are in Subchart#2
Problem with the scale: daily macd is below hourly macd
is it possible to have the same scale for the two indicators?
- Attachments
-
- test.jpg
- (154.5 KiB) Downloaded 884 times
-
- Posts: 174
- Joined: 31 Jan 2006
- Has thanked: 74 times
- Been thanked: 5 times
Re: Possibility to plot a daily study in an intraday Study?
is it possible to have the same scale for the two indicators?
cf post above
cf post above
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: Possibility to plot a daily study in an intraday Study?
nuno-online, you need to place both indicators over 1 day dataseries (on the same subchart). Make 1 day bars invisible if you do not need to see them. Set the scaling of both indicators to Same as Instrument.
-
- Posts: 174
- Joined: 31 Jan 2006
- Has thanked: 74 times
- Been thanked: 5 times
Re: Possibility to plot a daily study in an intraday Study?
Henry
thank you for your help
I did 2 tests:
Screenshot A
the result is good because indicators are in the same subchart as price with the same scale
Screenshot B
the result isn't good because both indicators aren't in the price's subchart
they are in subchart 2 and price in subchart1
exemple
last daily value = 26.99
last intraday value = 28.85
in subchart 2, the last daily value isn't below the last intraday value
(scaling of both indicators : Same as Instrument)
can you give me an example with both indicators (daily and intraday) in subchart 2 withe the same scale?
Nuno
thank you for your help
I did 2 tests:
Screenshot A
the result is good because indicators are in the same subchart as price with the same scale
Screenshot B
the result isn't good because both indicators aren't in the price's subchart
they are in subchart 2 and price in subchart1
exemple
last daily value = 26.99
last intraday value = 28.85
in subchart 2, the last daily value isn't below the last intraday value
(scaling of both indicators : Same as Instrument)
can you give me an example with both indicators (daily and intraday) in subchart 2 withe the same scale?
Nuno
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: Possibility to plot a daily study in an intraday Study?
nuno-online, do you want to see both data series (N Hours and 1 day) on your chart without indicators, or just N Hours series and indicators (1 day series hidden)? Please attach the workspace you are using.
-
- Posts: 174
- Joined: 31 Jan 2006
- Has thanked: 74 times
- Been thanked: 5 times
Re: Possibility to plot a daily study in an intraday Study?
Henry
i want to see 1Hour chart in subchart1 and indicators in subchart2
In subchart 2,
I want to see with the same scale
- indicator A based on 1 hour chart
- indicator A based on daily chart
here the workspace
i want to see 1Hour chart in subchart1 and indicators in subchart2
In subchart 2,
I want to see with the same scale
- indicator A based on 1 hour chart
- indicator A based on daily chart
here the workspace
- Attachments
-
- TEST.wsp
- (215.04 KiB) Downloaded 393 times
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: Possibility to plot a daily study in an intraday Study? [SOLVED]
nuno-online, there are two ways to achieve your goal:
1) use "User Defined" scaling for both indicators;
2) perform data1 and data2 calculation in the same code, so that both plots are made by the same study like that:
1) use "User Defined" scaling for both indicators;
2) perform data1 and data2 calculation in the same code, so that both plots are made by the same study like that:
Code: Select all
inputs:
Length( 4 ) ;
variables:
var0( 0 ),
var1(0) ;
var0 = ADX( Length ) ;
var1 = ADX( Length )of data2 ;
Plot1( var0, "ADX" ) ;
Plot2( var1, "ADX" ) ;
- Attachments
-
- adx.png
- (33.3 KiB) Downloaded 976 times