I'm new to pine script and I am trying to figure out how to make an indicator highlighting:
Price when the current candle cross below the wick low of previous candle + previous candle should be completely detached (even the wick) above the EMA100 line
Please help anyone :)
I tried something like this but it doesn't work :(
ema100 = ta.ema(close, 100)
emaGapBelow = high < ema100
emaGapAbove = low > ema100
entryCandle = close < emaGapAbove
plotshape(entryCandle)