Page 1 of 1

Help using data2

Posted: Fri Aug 07, 2009 9:27 am
by kraziekris
Hi im using the jlhma on my 15 min chart and would like a second line on that chart pulling the data from data2 which is my 60 min chart.

Can someone please help me modify the code below to draw a second line with data drom data2.

Code: Select all

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);


Many thanks

Chris