Yeah, I've got it on 5 minutes on the TOS side, I've altered nothing in the script except for adding the hashtag to exclude bearish scans.@BbenSD By doesn't work, what do you mean by that? No signal? Did you adjust the timeframe in the scanner to the timeframe that you want? By default, it will scan for signals on the daily chart.
By saying it doesn't work, I mean the scanner doesn't return results showing the current candle crossing up on the supertrend line, it just shows random conditions unrelated.
this is what I have for the script, and my TOS timeframe is on 5 minutes as well as the indicator + chart:
# SuperTrend Scan
# Mobius
# V01.10.2015
# Comment out (#) the direction NOT to use for a scan
input AtrMult = .70;
input nATR = 4;
input AvgType = AverageType.HULL;
def h = high;
def l = low;
def c = close;
def v = volume;
def ATR = MovingAverage(AvgType, TrueRange(h, c, l), nATR);
def UP = HL2 + (AtrMult * ATR);
def DN = HL2 + (-AtrMult * ATR);
def ST = if c < ST[1]
then Round(UP / tickSize(), 0) * tickSize()
else Round(DN / tickSize(), 0) * tickSize();
plot SuperTrendUP = if ST crosses below close then 1 else 0;
# End Code SuperTrend