Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
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 for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Strategy using DoubleMAPaint
Updated June 13, 2010
Top Posters
looks_one
Big Mike
with 4 posts (3 thanks)
looks_two
zeller4
with 4 posts (0 thanks)
looks_3
sharmas
with 2 posts (0 thanks)
looks_4
sam028
with 1 posts (0 thanks)
trending_up
7,161 views
thumb_up
3 thanks given
group
1 followers
forum
10 posts
attach_file
0 attachments
Strategy using DoubleMAPaint
June 17th, 2009, 09:19 PM
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
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
June 17th, 2009, 09:21 PM
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,322 since Jun 2009
Thanks Given: 33,143
Thanks Received: 101,476
zeller4
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
The following user says Thank You to Big Mike for this post:
June 17th, 2009, 09:24 PM
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
June 17th, 2009, 09:37 PM
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,322 since Jun 2009
Thanks Given: 33,143
Thanks Received: 101,476
zeller4
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
The following user says Thank You to Big Mike for this post:
July 10th, 2009, 04:24 PM
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
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
July 10th, 2009, 04:26 PM
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,322 since Jun 2009
Thanks Given: 33,143
Thanks Received: 101,476
zeller4
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
July 10th, 2009, 05:55 PM
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,322 since Jun 2009
Thanks Given: 33,143
Thanks Received: 101,476
zeller4
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
The following user says Thank You to Big Mike for this post:
July 11th, 2009, 06:31 AM
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
June 12th, 2010, 07:10 AM
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
June 12th, 2010, 07:19 PM
Posts: 3,761 since Jun 2009
Thanks Given: 3,824
Thanks Received: 4,629
sharmas
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)
Last Updated on June 13, 2010