PureBytes Links
Trading Reference Links
|
I am trying to write a indicator which will substract todays (15 min data
close ) from yesterdays EOD (End of Day)close.
This will be on two data series;
The syntax for data1 is correct.
How do I reference Data2
Can anyone help me with the syntax for value2
Thanks
Input:
Price1(Close of data1),
Price2(Close of data2);
Value1 = IFF( CloseD(1) > 0, Close - CloseD(1), 0 ); { if C is > C of
Yesterday for Data1}
Value2 = IFF( Price2(1) > 0, Price2 - Price2(1), 0); { if C is >
C of Yesterday for Data2}
Value3 = Value1 + Value2;
Plot( Value3, "Average");
|