NexusFi: Find Your Edge


Home Menu

 





Fluxsmith's indicators


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one fluxsmith with 59 posts (100 thanks)
    2. looks_two Trader.Jon with 15 posts (6 thanks)
    3. looks_3 Big Mike with 6 posts (6 thanks)
    4. looks_4 Barrosco with 6 posts (0 thanks)
    1. trending_up 34,112 views
    2. thumb_up 112 thanks given
    3. group 11 followers
    1. forum 94 posts
    2. attach_file 6 attachments




 
Search this Thread

Fluxsmith's indicators

  #51 (permalink)
 fluxsmith 
Santa Maria
 
Experience: Advanced
Platform: NinjaTrader, ThinkOrSwim
Broker: Mirus/Zen-Fire
Trading: ES
Posts: 290 since May 2010
Thanks Given: 97
Thanks Received: 322


Trader.Jon View Post
fluxsmith,

Thanks for the many fine tools you have shared!

I am trying to modify the posted jhlPFE by replacing the ema in the code with the MyVMA. I managed to compile ok, but the result is not as expected: plots the same as the original ema version. Can you please take a look at the code and correct my error? Code and comparative screen shot attached.

TIA!
Jon

Good evening. Your problem is on the first line of Initialize. You still have:
pfe = new JHL.Utility.PFE(EffPeriod, VMAPeriod);
You would want:
pfe = new JHL.Utility.vPFE55(EffPeriod, VMAPeriod);

Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
How to apply profiles
Traders Hideout
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #52 (permalink)
 
Trader.Jon's Avatar
 Trader.Jon 
Near the BEuTiFULL Horse Shoe
 
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Posts: 473 since Jul 2009
Thanks Given: 401
Thanks Received: 184


fluxsmith View Post
Good evening. Your problem is on the first line of Initialize. You still have:
pfe = new JHL.Utility.PFE(EffPeriod, VMAPeriod);
You would want:
pfe = new JHL.Utility.vPFE55(EffPeriod, VMAPeriod);

I will make that change. Thanks very much.

Jon

Reply With Quote
  #53 (permalink)
 
Trader.Jon's Avatar
 Trader.Jon 
Near the BEuTiFULL Horse Shoe
 
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Posts: 473 since Jul 2009
Thanks Given: 401
Thanks Received: 184


Hi Fluxsmith,

I have been using the Pearson Correlation (PC) you posted, and have noticed an odd behaviour, specifically on this setup, have not tried others yet, but it is consistent:
1. NT7b20
2. ForEx pairs
3. PC initiated with a period of < 12
The graph draws on a new panel, but as I scroll the window it disappears, and doesnt come back unless I re-apply it. IF the period > 12, then the graph is stable. I could not see anything in the code that specifically targets a need for >12 period for data. There is several days of 1 minute data available for the indicator.

Can you verify if this is intended?

Thanks,
Jon

Reply With Quote
  #54 (permalink)
 fluxsmith 
Santa Maria
 
Experience: Advanced
Platform: NinjaTrader, ThinkOrSwim
Broker: Mirus/Zen-Fire
Trading: ES
Posts: 290 since May 2010
Thanks Given: 97
Thanks Received: 322


Trader.Jon View Post
Hi Fluxsmith,

I have been using the Pearson Correlation (PC) you posted, and have noticed an odd behaviour, specifically on this setup, have not tried others yet, but it is consistent:
1. NT7b20
2. ForEx pairs
3. PC initiated with a period of < 12
The graph draws on a new panel, but as I scroll the window it disappears, and doesnt come back unless I re-apply it. IF the period > 12, then the graph is stable. I could not see anything in the code that specifically targets a need for >12 period for data. There is several days of 1 minute data available for the indicator.

Can you verify if this is intended?

Thanks,
Jon

I'd be very interested in fixing this, but I just tried a period of 11 with no problem. I suspect your data is triggering a divide by zero error, but it's not apparent to me where that would happen. It would really help if I could reproduce the problem. Please let me know what data series you are using when you see this. Thanks.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #55 (permalink)
 
Trader.Jon's Avatar
 Trader.Jon 
Near the BEuTiFULL Horse Shoe
 
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Posts: 473 since Jul 2009
Thanks Given: 401
Thanks Received: 184

fluxsmith,

Thanks for the follow up and feedback !

I am getting multiple errors in the log:
Date,Category,Message,
9/30/2010 10:11:59 AM,Default,Error on setting indicator plot for indicator 'jhlPearsonCorr'. Value outside of valid range.,
9/30/2010 10:11:11 AM,Default,Error on setting indicator plot for indicator 'jhlPearsonCorr'. Value outside of valid range.,
9/30/2010 10:09:46 AM,Default,Error on setting indicator plot for indicator 'jhlPearsonCorr'. Value outside of valid range.,

Definitely happening on $EURUSD 1min bars jhlPearsonCorr @ 7, and 10 ..no other indicators on that chart.. pix attached .. I understand if there wasnt enough data, but there is 3 days loaded, and it is the shorter periods that undraw as I scroll the screen, not the longer period

Jon

Attached Thumbnails
Click image for larger version

Name:	now you see 7 period.jpg
Views:	413
Size:	723.5 KB
ID:	21252   Click image for larger version

Name:	now you dont.jpg
Views:	351
Size:	719.0 KB
ID:	21254  
Reply With Quote
  #56 (permalink)
 fluxsmith 
Santa Maria
 
Experience: Advanced
Platform: NinjaTrader, ThinkOrSwim
Broker: Mirus/Zen-Fire
Trading: ES
Posts: 290 since May 2010
Thanks Given: 97
Thanks Received: 322


Trader.Jon View Post
...I have been using the Pearson Correlation (PC) you posted, and have noticed an odd behaviour...

Good evening, please let me know if the attached solves the problem. Thank you.

Attached Files
Elite Membership required to download: jhlPearsonCorr.zip
Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #57 (permalink)
 
Trader.Jon's Avatar
 Trader.Jon 
Near the BEuTiFULL Horse Shoe
 
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Posts: 473 since Jul 2009
Thanks Given: 401
Thanks Received: 184


fluxsmith View Post
Good evening, please let me know if the attached solves the problem. Thank you.

fluxsmith,

Looks like its fixed ... ThankYou!! I will let you know if it starts misbehaving again

Jon

Reply With Quote
Thanked by:
  #58 (permalink)
 fluxsmith 
Santa Maria
 
Experience: Advanced
Platform: NinjaTrader, ThinkOrSwim
Broker: Mirus/Zen-Fire
Trading: ES
Posts: 290 since May 2010
Thanks Given: 97
Thanks Received: 322

Zoethecus clued me into to something he called a 'Holt EMA'. I'd not heard of it before, after some research the clearest description I found of it was about halfway down the page here:

PowerPoint Presentation

This and other papers refer to it as a double smoothed exponential average, however it is quite different from the NT supplied DEMA.

Download here:

Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #59 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,443 since Jun 2009
Thanks Given: 33,217
Thanks Received: 101,603


fluxsmith View Post
Zoethecus clued me into to something he called a 'Holt EMA'. I'd not heard of it before, after some research the clearest description I found of it was about halfway down the page here:

PowerPoint Presentation

This and other papers refer to it as a double smoothed exponential average, however it is quite different from the NT supplied DEMA.

Download here:

Also read this old post on nexusfi.com (formerly BMT) about Holt:



Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #60 (permalink)
 
Trader.Jon's Avatar
 Trader.Jon 
Near the BEuTiFULL Horse Shoe
 
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Posts: 473 since Jul 2009
Thanks Given: 401
Thanks Received: 184



fluxsmith View Post
Good evening. Your problem is on the first line of Initialize. You still have:
pfe = new JHL.Utility.PFE(EffPeriod, VMAPeriod);
You would want:
pfe = new JHL.Utility.vPFE55(EffPeriod, VMAPeriod);

Thanks fluxsmith,

Now trying to make sure the CMO is available as a variable ... tried adding it in .. _finally_ compiles fine .. doesnt do anything to the ouput no matter how high I set the values. I think {actually, I know} I am missing something .. can you please have a l@@k again ...

Thanks!
Jon

Attached Files
Elite Membership required to download: vPFEc.cs
Reply With Quote




Last Updated on February 16, 2012


© 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