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,099 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

  #61 (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
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

Good morning,

Sorry, I looked at your code and I don't understand what you want to do with the cmo. You've constructed one, but you haven't used it in any way.

Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
ZombieSqueeze
Platforms and Indicators
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #62 (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 morning,

Sorry, I looked at your code and I don't understand what you want to do with the cmo. You've constructed one, but you haven't used it in any way.

Hi,

I am trying to use it, but dont understand where to 'hook it'. With your help I modified your jhlPFE to use the MyVMA (works as fine as vPFE), but there is no direct control of the CMO portion (that is in MyVMA) from indicator vPFE. vPFEc is my attempt to integrate the CMO variable iputs within the indicator. I have followed the code as best I could, and the vPFEc compiles without errors, but changing the input for CMO within vPFEc (in ranges of 5 to 55) makes no changes in the ouput graph.

" but you haven't used it in any way " == correct == please, how do I complete the code so it will work as intended? I hope my explanation is clear enough.

Thanks,
Jon

Reply With Quote
  #63 (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
...but there is no direct control of the CMO portion (that is in MyVMA) from indicator vPFE. vPFEc is my attempt to integrate the CMO variable iputs within the indicator...

I think I understand what you're trying to do, you just need:

 
Code
                            
 
public vPFEc(int effPeriodint vMAPeriodint cMOPeriod)
{
   
vma = new JHL.Utility.VMA(vMAPeriodcMOPeriod);
   
Math.Max(effPeriod2);
   
sum = new JHL.Utility.Sum(1);
   
value = new double[n];


Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #64 (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
I think I understand what you're trying to do, you just need:

 
Code
                            
 

public vPFEc(int effPeriodint vMAPeriodint cMOPeriod)
{
   
vma = new JHL.Utility.VMA(vMAPeriodcMOPeriod);
   
Math.Max(effPeriod2);
   
sum = new JHL.Utility.Sum(1);
   
value = new double[n];


fluxsmith,

I will give that a try ... thanks again!

Jon

ps: works like a charm

Reply With Quote
Thanked by:
  #65 (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

I just posted a LaguerreFilter indicator:


Out of curiosity I'd like to try creating one with a fifth element, but I don't know what the weightings should be (e.g. four element is (1, 2, 2, 1) / 6). If anyone here understands the math enough to answer that for a five element implementation I'd appreciate the suggestions.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #66 (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
I just posted a LaguerreFilter indicator:


Out of curiosity I'd like to try creating one with a fifth element, but I don't know what the weightings should be (e.g. four element is (1, 2, 2, 1) / 6). If anyone here understands the math enough to answer that for a five element implementation I'd appreciate the suggestions.

I googled for an answer ... no luck ... maybe just set it up as a variable and let PH optimize the code?!

Jon

Reply With Quote
  #67 (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
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:

fluxsmith,

It seems that Win7 doesnt like the two utility files to be in same folder (its not a very intelligent OS after all) as it sees the JHL same as jhl ... I tried mergeing the two files together but still have issues with compiling correctly. Can you please merge them and then I can use jhlHMA and MyVMA on the same instance of NT !!

TIA!
Jon

Reply With Quote
  #68 (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,

It seems that Win7 doesnt like the two utility files to be in same folder (its not a very intelligent OS after all) as it sees the JHL same as jhl ... I tried mergeing the two files together but still have issues with compiling correctly. Can you please merge them and then I can use jhlHMA and MyVMA on the same instance of NT !!

TIA!
Jon

Good evening Jon. I wouldn't know what to merge, I only have one jhl.Utility file on my machine. IIRC early on I posted some indicators which had contents in jhl.itility which I have since pulled out of it. I also don't recall what 'MyVMA' is or if it was mine. I reccomend you try substituting jhlVMA, and if you still have a problem I may need to (and will) update it to use the current stripped-down jhl.utility. I too use windows, which has always been a case insensitive file system, so case variations do not mean a different file is intended.


https://nexusfi.com/free_downloads/ninjatrader-7/indicators/537-download.html?view

Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #69 (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 Jon. I wouldn't know what to merge, I only have one jhl.Utility file on my machine. IIRC early on I posted some indicators which had contents in jhl.itility which I have since pulled out of it. I also don't recall what 'MyVMA' is or if it was mine. I reccomend you try substituting jhlVMA, and if you still have a problem I may need to (and will) update it to use the current stripped-down jhl.utility. I too use windows, which has always been a case insensitive file system, so case variations do not mean a different file is intended.


https://nexusfi.com/free_downloads/ninjatrader-7/indicators/537-download.html?view

fluxsmith,

That link that you posted includes MyVMA.cs and JHL.Utility ...

please advise == my NT7b20 wont allow JHL.Utility and jhl.Utility to be is same folder, and neither will Win7. I just tested trying to save a strategy called 'TEST' as 'test' and NT7b20 wants to know if I wanted to overwrite a file 'test' ... if I say yes, then it is saved again as 'TEST' and there is only 'TEST' in the strategy folder, and 'test.cs' doesnt exist.


I anticipate that any changes you make will not affect jhlPFE, jhlPearsonCorr, etc ? Hopefully not the variants I made of jhlPFE that included the MyVMA (substituted for EMA)

TIA,
Jon

Reply With Quote
  #70 (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
...That link that you posted includes MyVMA.cs and JHL.Utility ...

Please see if this resolves the problem for you:

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




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