Return to site

Is there a supertrend indicator for thinkorswim

broken image
broken image
broken image
broken image

Holds supertrend value until cross.ĭef ATR = MovingAverage (AvgType, TrueRange(high(period = agg1), close(period = agg1), low(period = agg1)), nATR) ĭef UP_Band_Basic = HL2(period = agg1) + (AtrMult * ATR) ĭef LW_Band_Basic = HL2(period = agg1) + (-AtrMult * ATR) ĭef UP_Band = if ((UP_Band_Basic UP_Band)) then UP_Band_Basic else UP_Band ĭef LW_Band = if ((LW_Band_Basic > LW_Band) or (close(period = agg1) Up_Band)) then LW_BandĮlse if ((ST = LW_Band) and (close(period = agg1) > LW_Band)) then LW_BandĮlse if ((ST = LW_Band) and (close(period = agg1) ST # Works similar to how Yahoo Finance Supertrend works and displays. # Modified by barbaros for multi time frame label # SuperTrend Yahoo Finance Replica - Modified from Modius SuperTrend - MTF Labels Version

broken image