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)
I need to declare as variables the sharky indicators DoubleMAPaint_SharkyPkg in order to develop a Ninjascript strategy (based on the crossover of the two lines). Any idea how I can do that? Besides Ninja says DMA is not a valid type. Does anyone know how to debug these indicators loaded with "programming errors"?? Thank you!
Can you help answer these questions from other members on NexusFi?
njaisson,
I am not a 'programmer' only a cut and past. I have been looking for a similar answer as to how to have DoubleMA in a strategy. After 2 weeks looking and trying still have no solution. If you or someone reading this will explain how to keep NT6.5 happy I sure would appreciate it.
NT6.5 compile complains:
'NinjaTrader.Indicator.DoubleMA_internal' is a 'type', which is not valid in the given context
The name 'DMAType' does not exist in the current context
Can you please link to the file you are having problems with? If it is in the elite section please just give the full proper name and who it was uploaded by. I will have a fast look after I finish rebuild my NT 'puter.
Thanks BigMike
after 2 weeks HERE is the answer .... "Keep in mind if you use the wizard it places + sign instead of . in a couple of places, you need to manually change it, but your string above seems fine.
Mike "
i replaced the'+' with a '.' and now it will compile!!
Vic10
************
Hi all!:
I have a similar problem. I would like to make an indicator for market analyzer where:
If DMA is below "below band of PRC", create alert=1
If DMA is upper "upper band of PRC", create alert=-1
I have an error:
'NinjaTrader.Indicator.DoubleMA_internal' is a 'type', which is not valid in the given context
The name 'DMAType' does not exist in the current context