NinjaTrader 8 Indicators and More - Bollinger/Keltner Squeeze (Ver 1.1)
futures io

Categories Help    

NinjaTrader 8 Indicators and More
Indicators and Files in this section are compatible with NinjaTrader 8

Bollinger/Keltner Squeeze (Ver 1.1) 5 *
gbBollingerKeltnerSqueeze, Ver 1.0, TraderGB, February 6, 2021 [Updated to Ver 1.1]

Description: Draws rectangle around price bars to indicate squeeze.

At the point where both the upper and lower Bollinger bands enter the Keltner channel, the upper and lower rectangle points are defined and are fixed for the life of the rectangle. A TriangleUp/TriangleDown is used to indicate the point where the squeeze starts (squeeze point).

The left most point of the rectangle is also defined and fixed at this point. It draws backward based on BreakTypeUsed (UseClose, UseHiLo). If BreakTypeUsed=UseClose is used, it keeps drawing the rectangle backwards until there is a close outside of the rectangles upper or lower points. If BreakTypeUsed=UseHiLo is used, it keeps drawing the rectangle backwards until there is either a low that is above the upper squeeze point or a high that is below the lower squeeze point. This same logic is used for escaping the rectangle going forward. It keeps moving the right most point until this criteria is met. Since BB/KB are based off of lagging moving averages, a rectangle is draw backwards/forwards from the squeeze point to give context.

Note, there can be overlapping rectangles. If the criteria is met to end the rectangle, another squeeze can take place shortly after and the new rectangle will form and start drawing backwards and possible into a prior rectangle. This is normal and happens more often with BreakTypeUsed=UseClose since this is easier to achieve than BreakTypeUsed=UseHiLo.

Ver 1.1 04-19-2021:
1) Fixed XML settings on Opacity

Category NinjaTrader 8 Indicators and More 
Suggest other entries I might like
Details: Bollinger/Keltner Squeeze (Ver 1.1)
Category: NinjaTrader 8 Indicators and More 

February 6th, 2021
Size: 10.02 KB
Downloaded: 792 times


Copyright © 2022 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada),
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.