How does RSqueeze work? - futures io
futures io futures trading



How does RSqueeze work?


Discussion in NinjaTrader

Updated by patfaninba
      Top Posters
    1. looks_one Fat Tails with 16 posts (126 thanks)
    2. looks_two wldman with 14 posts (7 thanks)
    3. looks_3 gcaldridge with 5 posts (16 thanks)
    4. looks_4 Raj1 with 4 posts (0 thanks)
      Best Posters
    1. looks_one Zondor with 10.3 thanks per post
    2. looks_two Fat Tails with 7.9 thanks per post
    3. looks_3 gcaldridge with 3.2 thanks per post
    4. looks_4 ThatManFromTexas with 3.0 thanks per post
    1. trending_up 36,881 views
    2. thumb_up 218 thanks given
    3. group 42 followers
    1. forum 81 replies
    2. attach_file 18 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Thread Tools Search this Thread
 

How does RSqueeze work?

  #21 (permalink)
port charlotte, florida
 
Experience: Beginner
Platform: NinjaTrader
Trading: Oil
 
Posts: 100 since Dec 2011
Thanks: 54 given, 77 received


wldman View Post
John Carter's BBSqueeze and with the othe PBFSqueeze, which as Fat Tails mentions is not a "squeeze" at all. The concept of a "zero line" combined indicator is something that I've used for a while. So those other "squeeze" that arent squeeze indicators are designed on the same zero line concept...but don't actually "squeeze" I would suggest, especially on the gaussian filter element that you open the code using the "edit" feature. Take a look at the gaussian filters, they are all fib based and there are four of them being used. I think they are (8,21) (13,34) (21,55) (34,89).

So what do you mean when you say,"How does it work?" It works great for me....but I think you are asking what "math" is displaying and why? I don't think you mean, How do I trade this?

Anyway, there might be some docs laying around that I could reference if I knew what specifically you are asking.

Wldman:

Thanks for the answer and asking the clarifying question by "what do I mean". Well, at first I meant (and still do) what is the math behind the indicator? I'm very analytical by nature, a math graduate at one time long ago, a programmer after that, etc. Any indicator I use I make sure I understand what it is doing, why and if possible I then tune it.

However as soon as you say it works great for you, you pique my curiosity. Would you share with me (I won't tell anyone else :-) how it works great for you?

Thanks for any answers.

Reply With Quote

Can you help answer these questions
from other members on futures io?
Convert NinjaTrader NT7 indicator to Tradestation EasyLanguage and RADARSCREEN
Platforms and Indicators
Issue meeting order entry conditions
Elite Automated NinjaTrader Trading
Last 5 minutes Label
ThinkOrSwim
Moving average with Lag reduction
NinjaTrader
Linux?
ThinkOrSwim
 
Best Threads (Most Thanked)
in the last 7 days on futures io
FIO Journal Challenge - June 2020 edition w/SharkIndicators
59 thanks
Spoo-nalysis ES e-mini futures S&P 500
55 thanks
June Charity Fundraiser - Feeding hungry families
51 thanks
Fixed vs trailing stops
28 thanks
AMP Futures / AMP Global Review
27 thanks
 
  #22 (permalink)
Houston,Tx
 
Experience: Advanced
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: TF
 
ThatManFromTexas's Avatar
 
Posts: 2,302 since Feb 2010
Thanks: 1,206 given, 4,323 received


gcaldridge View Post
Wldman:

Thanks for the answer and asking the clarifying question by "what do I mean". Well, at first I meant (and still do) what is the math behind the indicator? I'm very analytical by nature, a math graduate at one time long ago, a programmer after that, etc. Any indicator I use I make sure I understand what it is doing, why and if possible I then tune it.

However as soon as you say it works great for you, you pique my curiosity. Would you share with me (I won't tell anyone else :-) how it works great for you?

Thanks for any answers.

@gcaldridge

One example .... If you trade breakouts a big problem is "head fakes" (false breakouts). The "squeeze" can help filter them out.

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
The following user says Thank You to ThatManFromTexas for this post:
 
  #23 (permalink)
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,346 since Jul 2009
Thanks: 1,245 given, 2,713 received

Try this version of RSqueeze


Let me know if you can import this. I got rid of the RSqueezeUtility Namespace that may have been causing the problems. I don't know why that was in there at all.

I also got rid of a lot of ridiculous plot switcheroo code that was being used to change the colors of plots à la Ninjatrader 6.5 because somebody did not know how to use the PlotColors method.

I further optimized it by eliminating any usage of external instances of several indicators that are now calculated inside the OnBarUpdate() method.

If you can manage to import this, you may be shocked at how quickly it loads.

Attached Files
Register to download File Type: zip OscillatorRSqeeze.zip (51.0 KB, 404 views)
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following 21 users say Thank You to Zondor for this post:
 
  #24 (permalink)
Portland, OR
 
Experience: Intermediate
Platform: Sierra Chart
Trading: ES
 
Posts: 269 since Jan 2011
Thanks: 327 given, 180 received

Thanks Zondor - Import works fine now and it's indeed FAST..



cory View Post
open the zip file cs file is always in the zip file.


Zondor View Post
Let me know if you can import this. I got rid of the RSqueezeUtility Namespace that may have been causing the problems. I don't know why that was in there at all.

I also got rid of a lot of ridiculous plot switcheroo code that was being used to change the colors of plots à la Ninjatrader 6.5 because somebody did not know how to use the PlotColors method.

I further optimized it by eliminating any usage of external instances of several indicators that are now calculated inside the OnBarUpdate() method.

If you can manage to import this, you may be shocked at how quickly it loads.


Reply With Quote
 
  #25 (permalink)
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,824 since Mar 2010
Thanks: 4,237 given, 26,524 received


ThatManFromTexas View Post
@Fat Tails

There... I fixed that for you....

I never intended to say anything like this. I did not want to offend the female members of the forum.

Anyhow I knew that it would trigger your dirty thoughts .

There is really no need to be explicit.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #26 (permalink)
Las Vegas, NV
 
Experience: Advanced
Platform: Abacus, Slide Rule, HP-65, Metastock, TOS, NT
Trading: Futures
 
aligator's Avatar
 
Posts: 3,423 since Aug 2010
Thanks: 1,057 given, 5,836 received


Zondor View Post
Let me know if you can import this. I got rid of the RSqueezeUtility Namespace that may have been causing the problems. I don't know why that was in there at all.

I also got rid of a lot of ridiculous plot switcheroo code that was being used to change the colors of plots à la Ninjatrader 6.5 because somebody did not know how to use the PlotColors method.

I further optimized it by eliminating any usage of external instances of several indicators that are now calculated inside the OnBarUpdate() method.

If you can manage to import this, you may be shocked at how quickly it loads.

@Zondor;

Hi. Thank you. It loads fine. I just noticed if you draw the BB and KB bands with default settings ((as in your squeeze indicator), the squeeze areas on chart do not match the squeeze dots on indicator's zero line. I know you mentioned no support, but Just an observation.

Cheers!

Visit my futures io Trade Journal Reply With Quote
 
  #27 (permalink)
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,346 since Jul 2009
Thanks: 1,245 given, 2,713 received

RSqeeze discrepanices

Alligator " noticed if you draw the BB and KB bands with default settings ((as in your squeeze indicator), the squeeze areas on chart do not match the squeeze dots on indicator's zero line."

Yeah, I noticed that the dots are not correct in the BBSqueeze mode.

However overall it does seem to give decent signals.

I don't know where the version that I optimized came from. I do know that it was a resource hog because of the way it was coded. My version uses a small fraction of the CPU resources of the original, and will work fine on COBC false.

The code for this indicator is in a dll, so you won't find it in your Indicators folder.


Last edited by Zondor; June 11th, 2012 at 05:14 PM.
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to Zondor for this post:
 
  #28 (permalink)
Legendary Market Wizard
Chicago Illinois USA
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
 
wldman's Avatar
 
Posts: 3,194 since Aug 2011
Thanks: 1,854 given, 7,785 received

I tried to find...

the code from the edit ninjascript drop down to see If I could figure that out. I could not find the code for the optimized version. The display with the same settings is quite different from the "original".


Visit my futures io Trade Journal Reply With Quote
 
  #29 (permalink)
Legendary Market Wizard
Chicago Illinois USA
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
 
wldman's Avatar
 
Posts: 3,194 since Aug 2011
Thanks: 1,854 given, 7,785 received

I noticed today...

that the pbfsqueeze displayed on my charts is repainting. Is anyone else aware of how/why this could occur. It looks like the price bars are a little different as well. I called the broker and of course it is a NT issue. I emailed NT and of course I am waiting.



changed to



price bars look different just before 10:00 and the green/pink dots seem to have repainted.


Last edited by wldman; June 12th, 2012 at 04:04 PM. Reason: try to fix screenshot
Visit my futures io Trade Journal Reply With Quote
 
  #30 (permalink)
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,824 since Mar 2010
Thanks: 4,237 given, 26,524 received



wldman View Post
that the pbfsqueeze displayed on my charts is repainting. Is anyone else aware of how/why this could occur. It looks like the price bars are a little different as well. I called the broker and of course it is a NT issue. I emailed NT and of course I am waiting.



changed to



price bars look different just before 10:00 and the green/pink dots seem to have repainted.

@wldman: If you add a free copy of a commercial indicator to your chart and this indicator has coding errors, then you can neither blame your broker nor NinjaTrader.

The RSqueeze has been coded for NT 6.5, and the author has left it with a minor bug, which only occurs, if you set the indicator to CalculateOnBarClose = false. In CalculateOnBarClose = true the indicator works without problems.

That said,

-> The indicator does not repaint - repainting means changing values of prior bars after the fact.
-> It calculates all values in real-time correctly. The author has used two DataSeries to differentiate between the colors, and for those bars that change color intra-bar, he simply forgot to remove the inactive color (bug).

The issue can be easily fixed. But I am currently fixing something different, so I won't fix it today.

Reply With Quote
The following 3 users say Thank You to Fat Tails for this post:



futures io Trading Community Platforms and Indicators NinjaTrader > How does RSqueeze work?




Upcoming Webinars and Events
 

Free BloodHound Licenses for everyone!

June
 

Every journal equals ten meals for the hungry

June
     



Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts