NexusFi: Find Your Edge


Home Menu

 





How does RSqueeze work?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 16 posts (131 thanks)
    2. looks_two wldman with 14 posts (8 thanks)
    3. looks_3 gcaldridge with 5 posts (18 thanks)
    4. looks_4 Raj1 with 4 posts (2 thanks)
      Best Posters
    1. looks_one Zondor with 10.7 thanks per post
    2. looks_two Fat Tails with 8.2 thanks per post
    3. looks_3 ThatManFromTexas with 3.8 thanks per post
    4. looks_4 gcaldridge with 3.6 thanks per post
    1. trending_up 55,260 views
    2. thumb_up 232 thanks given
    3. group 44 followers
    1. forum 81 posts
    2. attach_file 18 attachments




 
Search this Thread

How does RSqueeze work?

  #1 (permalink)
 gcaldridge 
port charlotte, florida
 
Experience: Beginner
Platform: NinjaTrader
Trading: Oil
Posts: 100 since Dec 2011
Thanks Given: 54
Thanks Received: 81

I recently 'found' RSqueeze and it seems that it will work very nicely for me in combination with Stochastics. My problem is that I don't like to use something that I don't understand. I do understand Stochastics but haven't got a clue what RSqueeze does. Can someone either point me to a description or provide one.

Thanks

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Futures True Range Report
The Elite Circle
Deepmoney LLM
Elite Quantitative GenAI/LLM
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
Battlestations: Show us your trading desks!
26 thanks
NexusFi site changelog and issues/problem reporting
25 thanks
The Program
17 thanks
  #3 (permalink)
 
ThatManFromTexas's Avatar
 ThatManFromTexas 
Houston,Tx
 
Experience: Advanced
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: TF
Posts: 2,265 since Feb 2010
Thanks Given: 1,206
Thanks Received: 4,348



gcaldridge View Post
I recently 'found' RSqueeze and it seems that it will work very nicely for me in combination with Stochastics. My problem is that I don't like to use something that I don't understand. I do understand Stochastics but haven't got a clue what RSqueeze does. Can someone either point me to a description or provide one.

Thanks

@gcaldridge

The dots shows the Bollinger/Keltner "squeeze".

The bars are a momentum indicator .


I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
Reply With Quote
  #4 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


gcaldridge View Post
I recently 'found' RSqueeze and it seems that it will work very nicely for me in combination with Stochastics. My problem is that I don't like to use something that I don't understand. I do understand Stochastics but haven't got a clue what RSqueeze does. Can someone either point me to a description or provide one.

Thanks

@gcaldridge: The RSqueeze indicators does a few things and is not easy to understand. First of all it has three different settings. You can set it to BBSqueeze, PBFSqueeze and Countertrend.

BBSqueeze

This is the classical Bollinger Bands Squeeze. The squeeze is on when the Bollinger Bands are inside the Keltner Bands. The Bollinger/Keltner thing is more of a visualization. The logic behind is a comparison of standard deviation and average true range.

- The standard deviation measures directional volatility on the base of the variance, which is the squared distance between the last value of a N-period moving average and the preceding N closes.
- The average true range basically measures intra-bar volatility.

If the standard deviation (directional volatility) is smaller than the average true range (non-directional volatility), then you are in a squeeze, as price did not move a lot over the last N bars, all data points are still close to the current value of the moving average.

The squeeze is shown as dots.

Then there is a histogram. This is a bit of voodoo. The indicator calculates an average of the midline of a Donchian Channel and an EMA, then substracts it from the last value of price and applies a linear regression calculation to the resulting DataSeries. The result is something similar as a raw MACD, smoother but with more lag. Honestly, I do not understand what it is good for - which of course does not mean that the author of the indicator had some serious ideas how to use it.


PFSqueeze

This is a nice oscillator based on Gaussian Filters. The oscillator is based on the concept of the MACD. It uses Gaussian Filters instead of the EMAs to calculate the difference between two of them. Remember that the raw MACD is a difference between two EMAs. Here the raw histogram is calculated as the arithmetic average of 4 such differences, each of the differences being calculated from two Gaussian filters. The Guassian filters used have different periods, so the resulting oscillator is a bit of a multiperiod MACD modification.

The squeeze dots just indicate the slope of a Gaussian average, so it has nothing to do with a squeeze at all. Don't know why the author called it squeeze, there is no squeeze.


CounterTrend

Another oscillator, no squeeze. It is a variation of the oscillator, also calculated from Gaussian Filters with a CCI filter added, probably for selecting the colors.


Conclusion

If you just want to have an indication of a Bollinger Band Squeeze, then you do not need this indicator. Only 5% of the code is relevant to calculate the squeeze. But it includes some nice ideas, how to build an MACD type oscillator from Gaussian filters. Whether this can be used for trading is a different question.

Reply With Quote
  #5 (permalink)
 gcaldridge 
port charlotte, florida
 
Experience: Beginner
Platform: NinjaTrader
Trading: Oil
Posts: 100 since Dec 2011
Thanks Given: 54
Thanks Received: 81


ThatManFromTexas View Post
@gcaldridge

The dots shows the Bollinger/Keltner "squeeze".

The bars are a momentum indicator .


Thanks for answering. I would have posted a "Thanks" like some others did but I didn't have a button for it.

Started this thread Reply With Quote
  #6 (permalink)
 gcaldridge 
port charlotte, florida
 
Experience: Beginner
Platform: NinjaTrader
Trading: Oil
Posts: 100 since Dec 2011
Thanks Given: 54
Thanks Received: 81


Fat Tails View Post
@gcaldridge: The RSqueeze indicators does a few things and is not easy to understand. First of all it has three different settings. You can set it to BBSqueeze, PBFSqueeze and Countertrend.

BBSqueeze

This is the classical Bollinger Bands Squeeze. The squeeze is on when the Bollinger Bands are inside the Keltner Bands. The Bollinger/Keltner thing is more of a visualization. The logic behind is a comparison of standard deviation and average true range.

- The standard deviation measures directional volatility on the base of the variance, which is the squared distance between the last value of a N-period moving average and the preceding N closes.
- The average true range basically measures intra-bar volatility.

If the standard deviation (directional volatility) is smaller than the average true range (non-directional volatility), then you are in a squeeze, as price did not move a lot over the last N bars, all data points are still close to the current value of the moving average.

The squeeze is shown as dots.

Then there is a histogram. This is a bit of voodoo. The indicator calculates an average of the midline of a Donchian Channel and an EMA, then substracts it from the last value of price and applies a linear regression calculation to the resulting DataSeries. The result is something similar as a raw MACD, smoother but with more lag. Honestly, I do not understand what it is good for - which of course does not mean that the author of the indicator had some serious ideas how to use it.


PFSqueeze

This is a nice oscillator based on Gaussian Filters. The oscillator is based on the concept of the MACD. It uses Gaussian Filters instead of the EMAs to calculate the difference between two of them. Remember that the raw MACD is a difference between two EMAs. Here the raw histogram is calculated as the arithmetic average of 4 such differences, each of the differences being calculated from two Gaussian filters. The Guassian filters used have different periods, so the resulting oscillator is a bit of a multiperiod MACD modification.

The squeeze dots just indicate the slope of a Gaussian average, so it has nothing to do with a squeeze at all. Don't know why the author called it squeeze, there is no squeeze.


CounterTrend

Another oscillator, no squeeze. It is a variation of the oscillator, also calculated from Gaussian Filters with a CCI filter added, probably for selecting the colors.


Conclusion

If you just want to have an indication of a Bollinger Band Squeeze, then you do not need this indicator. Only 5% of the code is relevant to calculate the squeeze. But it includes some nice ideas, how to build an MACD type oscillator from Gaussian filters. Whether this can be used for trading is a different question.

Thanks. That was the type of detail I was looking for. Now I am going to have to spend some time to understand it and determine if/how I will be able to use it. When I do, I will post any findings.

Started this thread Reply With Quote
  #7 (permalink)
 ejtrader 
Portland, OR
 
Experience: Intermediate
Platform: Sierra Chart
Trading: ES
Posts: 269 since Jan 2011
Thanks Given: 327
Thanks Received: 180

Hello - Can any one post the latest version of rsqueeze if available some place. I found one from this link but wondering if there are any other versions available for the same or not.



Thanks

Reply With Quote
  #8 (permalink)
 gcaldridge 
port charlotte, florida
 
Experience: Beginner
Platform: NinjaTrader
Trading: Oil
Posts: 100 since Dec 2011
Thanks Given: 54
Thanks Received: 81


ejtrader View Post
Hello - Can any one post the latest version of rsqueeze if available some place. I found one from this link but wondering if there are any other versions available for the same or not.



Thanks

This is the one I have. I don't remember how/when I downloaded from BigMike's. Good luck. It has more than just RSqueeze in it so you can decide which you want.

Attached Files
Elite Membership required to download: TSSqueeze_NT7.zip
Started this thread Reply With Quote
  #9 (permalink)
 
Zondor's Avatar
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: NinjatraderŽ
Broker: CQG, Kinetick
Trading: Gameplay KlownbineŽ Trading of Globex
Posts: 1,333 since Jul 2009
Thanks Given: 1,246
Thanks Received: 2,731

It is highly optimized to run on COBC false with greatly reduced resource load. You must install this with the Import Ninjascript utility. In your indicator list, it will appear as "Oscillator, R Squeeze".

Use at your own risk. No support will be provided. All I can tell you is that it works fine on MY computer.

Attached Files
Elite Membership required to download: OscillatorRSqueezeOptimized.zip
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #10 (permalink)
 ejtrader 
Portland, OR
 
Experience: Intermediate
Platform: Sierra Chart
Trading: ES
Posts: 269 since Jan 2011
Thanks Given: 327
Thanks Received: 180


Zondor - tried to import this and complaining about duplicate methods. Would it be possible to provide me the .cs file instead so that I can try to figure out the issue myself. If you don't want to - I can understand as well.

Thanks.


Zondor View Post
It is highly optimized to run on COBC false with greatly reduced resource load. You must install this with the Import Ninjascript utility. In your indicator list, it will appear as "Oscillator, R Squeeze".

Use at your own risk. No support will be provided. All I can tell you is that it works fine on MY computer.


Reply With Quote
Thanked by:




Last Updated on September 2, 2019


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, 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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts