| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | 2 Indicator 1 Chart 2 Times. I use the hulMA on my charts and would like to modify it to pull info from another chart. For example i have a 60 min and a 15 min chart open in the same workspace in Tradstation. on my 15 min chart i want to add the hullMA of the 15 min and 60 min chart. How can i do this Here is the code im using Code:
Inputs: price(Close), length(21),
zeroLine(0.0), zeroVisible(false),
upColour(Green), downColour(Red), colourDeltaBar(1);
Value1 = jtHMA(price, length);
Plot1(Value1, "jtHMA");
If ZeroVisible = true then
Plot2(zeroLine, "Zero");
{ Color criteria }
if (Value1 > Value1[1]) then
SetPlotColor[colourDeltaBar](1, upColour)
else if (Value1 < Value1[1]) then
SetPlotColor[colourDeltaBar](1, downColour); Last edited by kamakazy; 08-05-2009 at 05:04 AM. | ||
| |
|
| | #2 | ||
![]() | Re: 2 Indicator 1 Chart 2 Times. | ||
| |
|
| | #3 | ||
![]() | Re: 2 Indicator 1 Chart 2 Times. im really stuck here though i do understand data2 and that i can set data 2 as a 60 min chart i dont get where to add that into the code above!! Manay thanks again! | ||
| |
|
| | #4 | ||
![]() | Re: 2 Indicator 1 Chart 2 Times. edited Last edited by Tams; 08-05-2009 at 11:01 AM. | ||
| |
|
| | #5 | ||
![]() | Re: 2 Indicator 1 Chart 2 Times. | ||
| |
|
| | #6 | ||
![]() | Re: 2 Indicator 1 Chart 2 Times. Quote:
pls see my edited post #4. | ||
| |
|
| | #7 | ||
![]() | Re: 2 Indicator 1 Chart 2 Times. I found that but i only have 1 in the option even though i have 2 charts in this 1 window! Do i have to define the studies anywhere? | ||
| |
|
![]() |
| Tags |
| multiple time frame |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Value Chart Indicator | Soultrader | Trading Indicators | 14 | 08-06-2009 11:44 AM |
| Custom Columns & Session Times | Pepperdog | Linnsoft | 1 | 05-26-2009 03:14 PM |
| Assigning Values of Specific Times of Day in EasyLanguage? | Tams | Coding Forum | 3 | 04-12-2009 11:15 AM |
| From $80,000 a Year to Eviction: Hard Times in America | Soultrader | Wall Street News | 3 | 01-29-2009 05:15 PM |
| Exchange Times for Calculations for MP | dubley | Market Profile | 0 | 01-04-2009 04:24 PM |