• LIMITED TIME ONLY: Take $40 off VIP with code: BTD40.

Need script for large movement


New member
Hi all, I am trying to set up an alert in ToS to get an alert when the price of a stock moves down by $10 from one bar to the next. Can some PLEASE help me with the script? I have been banging my head to try to get this for days now. Thank you so much!


Active member
def eventup = high > close[1] +10;
def eventdwn = low < close[1] -10;
Alert(eventup, "Bullish", Alert.TICK, Sound.Ding);
Alert(eventdwn, "Bearish", Alert.TICK, Sound.Ding);

maybe something like this, i did not test it in tos but could be a start

Similar threads