NexusFi: Find Your Edge


Home Menu

 





Strategy using DoubleMAPaint


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Big Mike with 4 posts (3 thanks)
    2. looks_two zeller4 with 4 posts (0 thanks)
    3. looks_3 sharmas with 2 posts (0 thanks)
    4. looks_4 sam028 with 1 posts (0 thanks)
    1. trending_up 7,301 views
    2. thumb_up 3 thanks given
    3. group 1 followers
    1. forum 10 posts
    2. attach_file 0 attachments




 
Search this Thread

Strategy using DoubleMAPaint

  #1 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 477 since Jun 2009
Thanks Given: 1,416
Thanks Received: 404

Hello,

I'm trying to use the following in a basic strategy:
 
Code

Add(DoubleMAPaint(34,EMA,14,ZeroLagEMA));
I'm getting the following error messages:

Quoting 
The best overloaded method match for 'NinjaTrader.Strategy.Strategy.DoubleMAPaint(int NinjaTrader.Indicator.MAV.MAType)' has some invalid arguments
Argument '2': cannot convert from 'method group' to 'NinjaTrader.Indicator.MAV.MAType'
Argument '4': cannot convert from 'method group' to 'NinjaTrader.Indicator.MAV.MAType'

If I try :
 
Code

Add(DoubleMAPaint(34,MAV.MAType.EMA,14,MAV.MAType.ZeroLagEMA));

Quoting 
'NinjaTrader.Strategy.Strategy.MAV(int int)' is a 'method' which is not valid in the given context

I don't know about "methods"... Any help anyone can give is much appreciated.
Regards,
Kirk
zeller4

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
REcommedations for programming help
Sierra Chart
 
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?
22 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #2 (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,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603


zeller4 View Post
Hello,

I'm trying to use the following in a basic strategy:
 
Code

Add(DoubleMAPaint(34,EMA,14,ZeroLagEMA));
I'm getting the following error messages:


If I try :
 
Code

Add(DoubleMAPaint(34,MAV.MAType.EMA,14,MAV.MAType.ZeroLagEMA));
I don't know about "methods"... Any help anyone can give is much appreciated.
Regards,
Kirk
zeller4

It needs to be:
DoubleMA(34, NinjaTrader.Indicator.MAV.MAType.EMA, 14, NinjaTrader.Indicator.MAV.MAType.ZeroLagEMA)

Mike

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #3 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 477 since Jun 2009
Thanks Given: 1,416
Thanks Received: 404


Wow, that was fast, thanks BigMike

Started this thread Reply With Quote
  #4 (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,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603


zeller4 View Post
Wow, that was fast, thanks BigMike

My pleasure.

Also, you may find these two DataSeries helpful for your strategy.

.DMV = always shows the price, regardless of rising,falling,neutral plot.
.Signal = -1 short, 0 neutral, 1 long

Mike

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #5 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 477 since Jun 2009
Thanks Given: 1,416
Thanks Received: 404


Big Mike View Post
It needs to be:
DoubleMA(34, NinjaTrader.Indicator.MAV.MAType.EMA, 14, NinjaTrader.Indicator.MAV.MAType.ZeroLagEMA)

Mike

Mike, can't figure out why but this isn't working any longer. It was working...

is that due to some _internal file or .dll?

can you pleae show me my syntax error?

thanks,
kz

Started this thread Reply With Quote
  #6 (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,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603


zeller4 View Post
Mike, can't figure out why but this isn't working any longer. It was working...

is that due to some _internal file or .dll?

can you pleae show me my syntax error?

thanks,
kz

Show me the error first

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
  #7 (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,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603


zeller4 View Post
Mike, can't figure out why but this isn't working any longer. It was working...

is that due to some _internal file or .dll?

can you pleae show me my syntax error?

thanks,
kz

I re-read your message, I think you might be talking about replacing it with a newer DoubleMA that uses DoubleMA_internal.cs. So yes, change MAV to DoubleMA_internal.

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:
  #8 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 477 since Jun 2009
Thanks Given: 1,416
Thanks Received: 404

Thank you Mike,

Now I know how to look to find the info the other file needs.

:bmt-rocks:

Kirk

Started this thread Reply With Quote
  #9 (permalink)
 sharmas 
Auckland
 
Experience: Advanced
Platform: Ninja Trader
Broker: Zen-Fire
Trading: CL and ES
Posts: 778 since Apr 2010
Thanks Given: 3,822
Thanks Received: 750

Hi
Could someone please assist me with Double MA
DoubleMA(34, NinjaTrader.Indicator.MAV.MAType.EMA, 14, NinjaTrader.Indicator.MAV.MAType.ZeroLagEMA,Zero Lag HATEMA)

Zero Lag HATEMA is important for my trading plan

For NT 7.

Thanking you very much in advance.

Sharmas

Visit my NexusFi Trade Journal Reply With Quote
  #10 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629



sharmas View Post
Hi
Could someone please assist me with Double MA
DoubleMA(34, NinjaTrader.Indicator.MAV.MAType.EMA, 14, NinjaTrader.Indicator.MAV.MAType.ZeroLagEMA,Zero Lag HATEMA)

Zero Lag HATEMA is important for my trading plan

For NT 7.

Thanking you very much in advance.

Sharmas

What is your problem/question ?

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote




Last Updated on June 13, 2010


© 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