I've just seen tickstrike.com and pricesquawk.com. They play a small sound everytime there's a buy or a sell.
I'm curious if i can get TOS to play a sound if the present tick or close of the 1 minute bar is higher or lower than the last close.
#### comments
def last = If IsNan(close[-1]) then 1 else close[-1] ;
Alert(close >= last, " close"+ close + " >= last " + last, Alert.TICK, Sound.Ding);
Alert(close < last, "close < last Tick", Alert.TICK, Sound.Chimes);
My code doesn't work because I can't seem to see what close[-1] is...
I'm not experienced with this language....
the chart is SPY and 1 minute if that matters
I'm curious if i can get TOS to play a sound if the present tick or close of the 1 minute bar is higher or lower than the last close.
#### comments
def last = If IsNan(close[-1]) then 1 else close[-1] ;
Alert(close >= last, " close"+ close + " >= last " + last, Alert.TICK, Sound.Ding);
Alert(close < last, "close < last Tick", Alert.TICK, Sound.Chimes);
My code doesn't work because I can't seem to see what close[-1] is...
I'm not experienced with this language....
the chart is SPY and 1 minute if that matters