![]() The “squeezeDotsOffset” setting help you move the oscillator dots above/below the zero level of the oscillator. ![]() To get the coloured candlesticks, apply the indicator on the price and tick the “CandlesticksSqueeze” in the indicator settings. ![]() So this indicator embed 2 indicators at once: the oscillator and the candlesticks painter. In this version, I added the possibility to apply the indicator on the price also to color the candlesticks accordingly to the squeeze oscillator. red = trend is down yellow = bearish momentum is decreasing.light blue = trend is up dark blue = momentum of bullish trend is decreasing.The trend momentum and direction is identifiable with the oscillator color: Market is trending, squeeze is off: Green dots Squeeze on: Red dots appears on the oscillator, prepare for a consolidation breakout to come. When the volatility increase, the Bollinger Bands are widening and are enveloping the Keltner channel, while when the market is consolidating the BB are inside the KC and the market is squeezing. It is built with the Bollinger and the Keltner bands. He provided this image with the comparison of the indicator which is the one on the very bottom.The TTM Squeeze Oscillator (by John Carter) measure the strength of the market and its momentum. # End Code V02 Momentum Squeeze shared this on Discord. Plot "-1" = if IsNaN(c) then Double.NaN else -1 Plot "1" = if IsNaN(c) then Double.NaN else 1 Plot "0" = if !IsNaN(Squeeze) or IsNaN(c) then Double.NaN else 0 01ĪddLabel(Squeeze, "Squeeze", Color.YELLOW) Plot Squeeze = if ((W - Sq) / (B - Sq)) <=. Momo.SetPaintingStrategy(PaintingStrategy.HISTOGRAM) Plot Momo = Inertia((c - mean) / SD, Floor(n )) # New faster Momentum Oscillator with outer band markers. SignalUp.SetPaintingStrategy(PaintingStrategy.Arrow_Up) Plot signalUp = if(bullishCross, 0, Double.NAN) Plot bullishCross = Crosses(SAR, price, CrossingDirection.BELOW) SignalDown.AssignValueColor(Color.DOWNTICK) SignalDown.SetPaintingStrategy(PaintingStrategy.Arrow_Down) Plot signalDown = if(bearishCross, 0, Double.NAN) Plot bearishCross = Crosses(SAR, price, CrossingDirection.ABOVE) Plot MS2 = Average(Average(price, LongLength1) - Average(price, LongLength2), LongLength3) ĭef MS2Yellows = if (MS2 0 and PerB < 0 then color.GREEN else color.WHITE) ĭef SAR = ParabolicSAR(accelerationFactor = accelerationFactor, accelerationLimit = accelerationLimit) Plot MS = Average(Average(price, ShortLength1) - Average(price, ShortLength2), ShortLength3) Optimal Short Sequence is the reverse of the above (histogram from dark green to light green, red squeeze indicators firing, and red arrow for bearish Parabolic SAR crossover). A green up arrow indicating the Parabolic Stop and Reverse has made a bullish crossover.Red Squeeze indicators firing indicating consolidation Bollinger Band compression and volatility increase.Histogram shift from light red to dark red with values increasing toward the index line, confirming a shift from distribution to accumulation.The chart label outlines the squeeze resolution in an attempt to predict the breakout direction of the squeeze. The green/red waves are Wave A of the Elliot Waves, and the yellow/blue waves are Wave C of the Elliot Waves. The green and red arrows are Parabolic SAR crossover indicators. The red squeeze indicator fires when the symbol’s Bollinger Bands are inside the symbol’s Keltner Channel. I'm not sure if it is already shared.īased on: TTM Squeeze (Bollinger Bands & Keltner Channels), Elliot Waves, & ParobolicSARĭescription: This study strives to emulate and optimize the TTM Squeeze study. Zero.SetPaintingStrategy(PaintingStrategy.Points) ĪddLabel(!isNaN(Squeeze), "Squeeze", if isAscending(Momo) Plot zero = if IsNaN(close) or !IsNaN(Squeeze) then Double.NaN else 0 Squeeze.SetPaintingStrategy(PaintingStrategy.Points) Momo.assignValueColor(if Momo > Momo and Momo > 0ĭef ATR = Average(TrueRange(high, close, low), length) tPaintingStrategy(PaintingStrategy.HISTOGRAM) Plot Momo = Inertia(price - K / 2, length) Input length = 20 #hint length: Length for average calculationĭef K = (Highest(High, length) + Lowest(low, length)) / # Label is green when momentum is ascending, red when descending # Added Squeeze Label with directional color
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |