singapore
Posts: 131 since Nov 2009
Thanks Given: 11
Thanks Received: 7
|
Hi,
This is what I have achieved so far:
if (CurrentBar > 2 )
myDataSeries1.Set((Close[0]-Open[0])/(((Math.Max(High[0],Close[1]))-(Math.Min(Low[0],Close[1])))!= 0? (Math.Max(High[0],Close[1])-(Math.Min(Low[0],Close[1]))):1.0));
Upper.Set(myDataSeries1[0]);
What I want to do now is start from a zero base and add values from myDataSeries1 to the base as each new bar is formed. Struggling with that bit. Can someone please help?
|