netarchitech
Well-known member
@HighBredCloud Here are the results:
RSI Laguerre with SuperTrend
RSI Laguerre with SuperTrend and Blast Off Indicator
Final code: SuperTrend with Blast Off Indicator
As you can see, the RSI Laguerre is not necessary for this particular solution. @HighBredCloud I think this is what you were looking for, but let me know if I need to make any changes
RSI Laguerre with SuperTrend
RSI Laguerre with SuperTrend and Blast Off Indicator
Final code: SuperTrend with Blast Off Indicator
Code:
# SuperTrend Blast Off
# original authors: Mobius and BenTen
# edits: netarchitech
# 10.30.2019
# Blast Off
input PaintBars = yes;
input trig = 20;
def val = absValue(close - open);
def range = high - low;
def blastOffVal = (val / range) * 100;
def trigger = trig;
def blast_candle = blastOffVal < trig;
# SuperTrend
input AtrMult = 1.0;
input nATR = 4;
input AvgType = AverageType.HULL;
def ATR = MovingAverage(AvgType, TrueRange(high, close, low), nATR);
def UP = HL2 + (AtrMult * ATR);
def DN = HL2 + (-AtrMult * ATR);
def ST = if close < ST[1] then UP else DN;
def SuperTrend = ST;
AssignPriceColor(if PaintBars and close < ST and blast_candle
then GetColor(9)
else if PaintBars and close > ST
then GetColor(7)
else GetColor(5));
As you can see, the RSI Laguerre is not necessary for this particular solution. @HighBredCloud I think this is what you were looking for, but let me know if I need to make any changes