selfhigh05 23 posts msg #135337 - Ignore selfhigh05 |
4/7/2017 8:57:29 PM
For some reason this is still returning results that are less than .10, what am I doing wrong here?
set{var100,open+high}
set{var200,low+close}
set{var300,var100+var200}
set{ohlc4,var300/4}
add column ohlc4
add column ohlc4 one days ago
and ohlc4 is .10 above ohlc4 one days ago
I am looking for ohlc4 that is greater than .10 than the day before. I am getting results that are less than .1 apart.
|
selfhigh05 23 posts msg #135338 - Ignore selfhigh05 |
4/8/2017 9:15:36 AM
evidently I had to do this to get it to work correctly:
set{var100,open+high}
set{var200,low+close}
set{var300,var100+var200}
set{ohlc4,var300/4}
set{ohlc5,ohlc4 one day ago}
set{ohlc6,ohlc4-ohlc5}
add column ohlc4
add column ohlc4 one days ago
add column ohlc5
and ohlc6 is above .1
|