I was wondering where is the “CandlesticksSqueeze” in the indicator settings, when applying the indicator to the Price chart? I don’t see it on either the TTM “candlestick” setting or in the Price settings? Could you provide a screenshot please?I was building a system yesterday but when I came back to it today the assisted creation conditions are greyed out? If you touch one of the two fields it will go to white writing but there is no drop down functionality anymore to choose another parameter and the “value” field will still be greyed out (also with no drop down functionality). Hi Nicolas, hope you are well, Thanks for putting up a better version of the TTM squeeze than the one I currently have. RETURN plusI coloured(colorR,colorG,colorB) style(histogram,1) as "plus increase", plusD coloured(colorR,colorG,colorB) style(histogram,1) as "plus decrease", minusI coloured(colorR,colorG,colorB) style(histogram,1) as "minus increase", minusD coloured(colorR,colorG,colorB) style(histogram,1) as "minus decrease", sqz coloured(scolorR,scolorG,0) style(point,5) as "squeeze momentum" SqzOn = (lowerBB>lowerKC) AND (upperBB0 thenĭrawcandle(open,high,low,close) coloured(colorR,colorG,colorB) Value = (Highest(high)+Lowest(low)+average(close))/3 candlesticksSqueeze=0 //boolean variable Nicolas //Sharing ProRealTime knowledge PRC_TTM Squeeze for PRT v10.3| indicator I found that sometime, the color overlay of the histogram and the dots were disturbing, so this offset can resolve this “problem”. 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. Included (all those which have "Down" or "Up" in the name).The TTM Squeeze Oscillator (by John Carter) measure the strength of the market and its momentum. ShapePositionAbove must NOT be used together with shapes that have positions already PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, Low, High ) ) Plot( Close, "Price", colorBlack, styleCandle ) Shape = Buy * shapeUpArrow + Sell * shapeDownArrow You can position your arrows relative to High/Low too. PlotShapes( ( Buy OR Sell ) * ( 1 + Cum( Buy OR Sell ) % 52 ), IIf( Buy, colorGreen, colorRed ), 5 ) PlotShapes( IIF( buy, shapeDigit9 + shapePositionAbove, shapeNone ), colorGreen ) ShapeNone, shapeUpArrow, shapeDownArrow, shapeHollowUpArrow, shapeHollowDownArrow, (new in 5.66) XShift - allows to visually shift the the shapes by the specified number of bars (even past the last bar).To place the shape exactly at ypostion, specify 0 as offset Negative offsets shift symbols down, positive offsets shift symbol up. offset - (or distance) parameter (by default -12 ), Offset is expressed in SCREEN pixels.yposition defines Y-position where shapes are plotted (by default they are plotted 'around' graph0 (first indicator) line).layer defines layer number on which shapes are plotted.Odd values plot shape BELOW indicator, even values plot shape ABOVE indicator. when shape is zero nothing is plotted values other than zero cause plotting various pre-defined shapes. Plots arrows and other shapes on any chart pane. PlotShapes( shape, color, layer = 0, yposition = graph0, offset = -12, XShift = 0 ) AFL Function Reference - PLOTSHAPES PlotShapes
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |