NexusFi: Find Your Edge


Home Menu

 





JMA in Indicator?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one traderdp with 14 posts (1 thanks)
    2. looks_two cory with 12 posts (7 thanks)
    3. looks_3 Dragon with 2 posts (1 thanks)
    4. looks_4 lolu with 1 posts (0 thanks)
    1. trending_up 20,952 views
    2. thumb_up 9 thanks given
    3. group 5 followers
    1. forum 31 posts
    2. attach_file 15 attachments




 
Search this Thread
  #1 (permalink)
 
Dragon's Avatar
 Dragon 
Bellingham, WA
 
Experience: Intermediate
Platform: Ninja
Broker: Zen-Fire
Trading: 6E, CL
Posts: 491 since Aug 2009
Thanks Given: 747
Thanks Received: 259

How would I go about getting Ninja to recognize JMA in another indicator? "JMA does not exist in the current context" compile error. Thanks in advance.

Chris


Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Victory Day Delivers: Russia-Ukraine Ceasefire Market Cl …
Prediction Markets & Event Contracts
Pakistan Mediator in Tehran as Hormuz Normalization Coll …
Prediction Markets & Event Contracts
May 26 Deadline Dies at 7.5% as US Strikes Iran During C …
Prediction Markets & Event Contracts
The 50/50 Paradox: Peace and Invasion Each at 20% -- Ira …
Prediction Markets & Event Contracts
Zytrade: Devin Brady, CEO - Ask Me Anything (AMA)
Brokers
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093

first you need to have JMA.cs in your indicator folder then you just refer to its name, here is code sample. Note: JMA uses 2 parm inputs.


Attached Files
Elite Membership required to download: JMACrossAlert.cs
Reply With Quote
Thanked by:
  #3 (permalink)
 
Dragon's Avatar
 Dragon 
Bellingham, WA
 
Experience: Intermediate
Platform: Ninja
Broker: Zen-Fire
Trading: 6E, CL
Posts: 491 since Aug 2009
Thanks Given: 747
Thanks Received: 259


Ok. Its in the indicator folder with all the others... Here is an example of one that won't compile with JMA in it. Do you mind having a look?


Attached Files
Elite Membership required to download: JCCI_Histogram.cs
Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #4 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093

in the code I don't see where you define Typical ?


Reply With Quote
  #5 (permalink)
 emini_Holy_Grail 
Dallas,TX
 
Experience: Intermediate
Platform: NinjaTrader, OpenQuant
Broker: Zaner/Zen Fire
Trading: ES,6E,6B,GC,CL
Posts: 596 since Nov 2009
Thanks Given: 176
Thanks Received: 126

Dragon - were you able to make that work. i am looking for CCI based on JMA


Reply With Quote
  #6 (permalink)
 
Zipper Ripper's Avatar
 Zipper Ripper 
Bowie, MD, USA
 
Experience: Advanced
Platform: NinjaTrader
Trading: futures
Posts: 25 since Sep 2010
Thanks Given: 58
Thanks Received: 8

Cory, I love the JMAcrossAlert. But can you, or someone, modify it to be a JMA cross HMA alert? Those are my two favorite MAs! I've found every other cross alert to be missing the JMA. How come? Thanks!!!


DW

NOTE TO SELF:
If it’s ever announced that Aliens and Extra Terrestrial beings are real then, BUY GOLD (GL) and SELL OIL (CL)!!!
Reply With Quote
  #7 (permalink)
 traderdp 
New York City
 
Experience: Beginner
Platform: Ninja Trader
Trading: EUR?USD
Posts: 26 since Jan 2012
Thanks Given: 1
Thanks Received: 4


cory View Post
first you need to have JMA.cs in your indicator folder then you just refer to its name, here is code sample. Note: JMA uses 2 parm inputs.

Please help anyone,

I am looking to create an indicator for NT7. I have a custom indicator in MT4 but I do not have the code for it. I want to use it with the rest of my NT7 indicators on a NT7 platform. Can anyone help me please.

I need the jma indicator for NT7. and then the custom indicator creator told me to create a nonLagMa and apply 2 times their jma to that nonLagMa for NT7. It gives a wonderful 3 double smoothed line indicator that I found to be extraordinarily helpful in trading. I can't code at all. Thanks so much in advance for any help available.

traderdp
David


Reply With Quote
  #8 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093


traderdp View Post
Please help anyone,

I am looking to create an indicator for NT7. I have a custom indicator in MT4 but I do not have the code for it. I want to use it with the rest of my NT7 indicators on a NT7 platform. Can anyone help me please.

I need the jma indicator for NT7. and then the custom indicator creator told me to create a nonLagMa and apply 2 times their jma to that nonLagMa for NT7. It gives a wonderful 3 double smoothed line indicator that I found to be extraordinarily helpful in trading. I can't code at all. Thanks so much in advance for any help available.

traderdp
David

-need pics
-need links


Reply With Quote
  #9 (permalink)
 vegasfoster 
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
Posts: 1,145 since Feb 2010
Thanks Given: 304
Thanks Received: 845


traderdp View Post
Please help anyone,

I am looking to create an indicator for NT7. I have a custom indicator in MT4 but I do not have the code for it. I want to use it with the rest of my NT7 indicators on a NT7 platform. Can anyone help me please.

I need the jma indicator for NT7. and then the custom indicator creator told me to create a nonLagMa and apply 2 times their jma to that nonLagMa for NT7. It gives a wonderful 3 double smoothed line indicator that I found to be extraordinarily helpful in trading. I can't code at all. Thanks so much in advance for any help available.

traderdp
David

Use the LLMA, same but different.


Reply With Quote
  #10 (permalink)
 traderdp 
New York City
 
Experience: Beginner
Platform: Ninja Trader
Trading: EUR?USD
Posts: 26 since Jan 2012
Thanks Given: 1
Thanks Received: 4



cory View Post
-need pics
-need links

sorry I don't have the code from the MT4 programmer but here are some pics and he said to create a nonLagMa and apply 2 times their jma to that nonLagMa for NT7, and that would reproduce the 3 line indicator in NT7. Any help is greatly appreciated.

[IMG][IMG][IMG][/IMG][/IMG][/IMG]


the input tab has the following:
Smooth Period 17
Smooth Phase 0
Price 0
Fast Length 25
SLow Length 50
Fast Phase 0
SLow Phase 0

I hope this helps

traderdp
David


Attached Thumbnails
Click image for larger version

Name:	eurjpy_m30.gif
Views:	282
Size:	24.7 KB
ID:	100446   Click image for larger version

Name:	eurjpy #2.gif
Views:	236
Size:	22.0 KB
ID:	100447  
Reply With Quote




Last Updated on January 30, 2013


© 2026 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 - Downloads - Top
no new posts