| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | 2 Data Interaction this code /// vars : xx(0),flag(0); arrays : darr[20](0); if BarNumber data2 > barnumber data2 [1] then for xx = 0 to 19 begin darr[xx] = close data2[xx] ; end ; if darr[0] <> darr[0][2] then flag = darr[0] else flag = 0 ; plot1(flag); ///// is storing the closing values from a range compression (data2) symbol the next bar on a time compression (data1) symbol.. is there a way to take the average N or the xaverage N value from data2 only when the flag variable > 0 ? regards | ||
| |
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Will the YM Data Feed be included with the Globex E-mini Data Feed | The Bear | E-mini Futures Trading Laboratory | 1 | 01-19-2008 01:05 PM |