Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
BB (TTM) Squeeze and PBF Squeeze replica ported to NT
Collapse
X
-
Might try a Google search for Paint Bar Factory SqueezeOriginally posted by sixbunches View PostHello all, can somebody tell me what PBF means on the squeeze indicator, I know BB is bollinger bands setting, but, PBF is..?
TIA.
HedgePlay
Leave a comment:
-
Hello all, can somebody tell me what PBF means on the squeeze indicator, I know BB is bollinger bands setting, but, PBF is..?
TIA.
Leave a comment:
-
Originally posted by aliasi100 View Post
Dear HedgePlay
Thanks a lot for the helpful article. That is exactly what I was looking for. Cheers
Ali Asi | *removed* | [email protected]
I am glad it helped.
You might have interest in today's update of an Ehrler concept which I personally think is more directly pragmatically useful than Ehler's Gaussian work.
https://ninjatraderecosystem.com/use...e-decycler-ii/
You may find you prefer a longer period and smaller channel width than the default settings. Something in-between the default settings and the example picture.
HedgePlay
Last edited by NinjaTrader_Jim; 04-19-2021, 06:34 AM.
Leave a comment:
-
Dear HedgePlayOriginally posted by hedgeplay View Post
Welcome Ali Asi.
Agree the documentation can sometimes be thin.
"to no avail. Gaussian Poles Is there any documentation or at least some mathematical formula for this?"
"Gaussian Poles" .. I guess you like to start by first jumping into the deep end of the pool.
The Gaussian Poles, Low Pass Filters, are borrowed "noise reduction" concept from electrical engineering / sound engineering.
With regards to trading, pragmatically Low Pass and High Pass Analog filters were popularized by John Ehlers. His site is https://www.mesasoftware.com/
Here is a intro pdf he provides. https://www.mesasoftware.com/papers/GaussianFilters.pdf
Have fun with this 'light' reading!
HedgePlay
Thanks a lot for the helpful article. That is exactly what I was looking for. Cheers
Ali Asi | *removed* | [email protected]
Leave a comment:
-
Welcome Alias.Originally posted by aliasi100 View PostI have downloaded the indicator. Thank you very much for that.
There is however a huge lack of documentation for I have tried google searching, reviewing the comments inside the code, ... to no avail.
Gaussian Poles
Is there any documentation or at least some mathematical formula for this? Thank you.
Agree the documentation can sometimes be thin.
"to no avail. Gaussian Poles Is there any documentation or at least some mathematical formula for this?"
"Gaussian Poles" .. I guess you like to start by first jumping into the deep end of the pool.
The Gaussian Poles, Low Pass Filters, are borrowed "noise reduction" concept from electrical engineering / sound engineering.
Gaussian Filter
A Gaussian filter has the advantage that its Fourier transform is also a Gaussian distribution centered around the zero frequency (with positive and negative frequencies at both sides). One can then control the effectiveness of the low-pass nature of the filter by adjusting its width. Also, the attenuation of higher frequency components, hence their relative removal, is more effective with a Gaussian filter than with moving-average filters. The Gaussian filter may also reflect the inherent statistical nature of fluctuations in many acquired measurement distributions. The Blackman window of Eq. (9.20) also provides a shape that resembles that of a Gaussian distribution, and as such can be utilized as a filter, in place of the Gaussian filter, for computational convenience.
Chapter 8 for a true intro to the fundamentals if you want to go that deep.
https://www.analog.com/media/en/trai...n/Chapter8.pdf
With regards to trading, pragmatically Low Pass and High Pass Analog filters were popularized by John Ehlers. His site is https://www.mesasoftware.com/
Here is a intro pdf he provides. https://www.mesasoftware.com/papers/GaussianFilters.pdf
Have fun with this 'light' reading!
HedgePlay
- Likes 1
Leave a comment:
-
Welcome to the forums aliasi100!
These are not NinjaTrader standard indicators, so the information would need to come from the person that has written the indicator or from someone who is familiar enough with the code and the study to explain the math behind it.
For NinjaTrader standard indicators, the "i" info button in the top "Available" field can be used to view the description, and our documentation has links to various studies for these indicators. The source code is also open for most indicators and can be referenced in the NinjaScript Editor.
NinjaScript documentation for system indicators - https://ninjatrader.com/support/help...indicators.htm
We will leave the thread open for any community input on the custom indicator's studies.
If you have any new inquiries, please do not hesitate to open a new thread.
Leave a comment:
-
I have downloaded the indicator. Thank you very much for that. There is however a huge lack of documentation for:
PBFSqueeze
and
CounterTrend
I have tried google searching, reviewing the comments inside the code, ... to no vail. I am completely familiar with John Carter Bollinger Band methodology, as well as CCI indicator. But, when it comes to GuassianPoles, gfgg, ... I am completely at loss. Is there any documentation or at least some mathematical formula for this? Thank you.
Ali Asi | 604-785-8900 | [email protected] | Nu Stream Realty
Leave a comment:
-
Looking for some help and will preface by saying I'm not sure if I'm posting to the correct forum but thought I would start here.
I've downloaded the RSqueeze indicator for NT8 and like everything about it except that the basic BBsqueeze doesn't seem to be plotting the dots where I'm use to seeing them. I.e., I believe the original indicator as described by John Carter is to plot a red dot(or color assigned) when the Bollinger Bands are inside the Keltner Channel indicating a consolidation type "squeeze". I have the TTM licensed indicator running on a different platform which plots the squeeze indicator in this way. However, the RSqueeze seems to be plotting the dots on a slightly different calculation. I opened the indicator with NinjaScript Editor and it seems that the BBsqueeze is based on something different than the Bollinger - Keltner relationship. I.e., it doesn't seem to reference the Keltner Channel in the script. At least not that I am able to decipher.
Here's a snippet of the code:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
switch (SqueezeStyle)
{
case(RSqueezeStyle.BBSqueeze):
lrm_ = new Series<double>(this);
medianPriceOsc_ = new Series<double>(this);
atr_ = ATR(SqueezeLength);
SD = StdDev(SqueezeLength);
DC = DonchianChannel(MomentumLength);
LR = LinReg(medianPriceOsc_, MomentumLength);
ema_ = EMA(MomentumLength);
break;
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Then, further down in the code where it mentions "Squeeze Dots" there doesn't seem to be any reference to Keltner Channel. Again, here is a snippet of code from the section I'm writing about.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
protected override void OnBarUpdate()
{
switch (SqueezeStyle)
{
case(RSqueezeStyle.BBSqueeze):
if (CurrentBar < MomentumLength) return;
// Squeeze Dots
SqueezeDots[0] = 0;
if ((nK*atr_[0])!= 0)
bbs = (nBB*SD[0])/(nK*atr_[0]);
else
bbs = 1;
if (bbs <= 1)
PlotBrushes[1][0] = SqueezeDotBrush;
else
PlotBrushes[1][0] = NormalDotBrush;
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
I saved a copy of the indicator and tried to modify the script in these areas for the BB - Keltner Squeeze and spent a couple days with it to no avail.
Attached is the stock downloaded NT8 indicator that I'm running as I never could get anything I attempted to change to compile correctly.
Any help or guidance would be greatly appreciated.
Thanks in advance,
GomezAttached Files
Leave a comment:
-
I am looking at ATR 10/ 100 Indicator with a staright line 0.5 & 1.0 on teh indicator. Can any of the experts assitpls.
Tks / Raja
Leave a comment:
-
sound alert for RSqueeze
Wondered if anyone ever worked out the sound alert for RSqueeze? It is frustrating to be distracted by something for a moment and miss. In my setup it's when the yellow dots appear. Would like to have a gentle pleasant sound (chime?) play until the dots turn blue. BTW the chart is of GC with RJay's RenkoSpectrum bars
Leave a comment:
-
Sound Alert for RSqueeze
I have the same question as kronie, (to sound an alert) except for RSqueeze ?
Leave a comment:
-
was anyone able to sound alerts on conditions from this indicator?, in its NT7 format?Originally posted by roonius View PostThere is a BB Squeeze(TTM Squeeze) and PBF Squeeze replica - all in one indicator.
Maybe somebody will find it helpful...
More information can be found here:
http://www.traderslaboratory.com/for...tion-4454.html
also, anyone care to discuss how to apply this indicator to trading?, what interval chart as a preference, that sort of comments?
Leave a comment:
-
look at ph2pricealert2 for coding sampleOriginally posted by prisonbreaker82 View PostHi,
Can anyone indicate how to add a sound alert if a red dot (squeeze opportunity) appears in the indicator.
I thought of adding this
// Sound
private bool _redplotalertsoundon;
private string _redplotalertfilename = "alert1.wav";
but where should I add the "PlaySound(_redplotalertfilename);" line to execute the audio alert?
Please find attached indicator.
Isak
Leave a comment:
-
using ninja 7
Pb
i have moved over to n7 and are unable to help you
in programing a sound when the bb indicator turns
red. I think you are on the right track and i also
would like to be noified by a sound {door bell}
i can't tell you how many trades i have missed because i have taken my eyes off the screen. Good luck !! If you get it going keep me in mind it is a great indicator.
. Thanks
Leave a comment:
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by kinfxhk, 07-14-2026, 09:39 AM
|
0 responses
131 views
0 likes
|
Last Post
by kinfxhk
07-14-2026, 09:39 AM
|
||
|
Started by kinfxhk, 07-13-2026, 10:18 AM
|
0 responses
106 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 10:18 AM
|
||
|
Started by kinfxhk, 07-13-2026, 09:50 AM
|
0 responses
88 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 09:50 AM
|
||
|
Started by kinfxhk, 07-13-2026, 07:21 AM
|
0 responses
107 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 07:21 AM
|
||
|
Started by kinfxhk, 07-11-2026, 02:11 AM
|
0 responses
88 views
0 likes
|
Last Post
by kinfxhk
07-11-2026, 02:11 AM
|

Leave a comment: