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)
Thank you for your reply. If I accept your seggestion, then, I don't know how the second period 5---(DoubleMA(21,EhlweaFilter,5,None) --- to be handled. Please see the attachment and advise. TIA
i really suggest using the new multi-color-plotting in NT7 for these colored MAs and not only convert the old NT6,5 stuff to NT7 (wich uses a much better code-style now for multicolor-things!).
i havent looked into it here but see it just as a basic advice / suggestion before too much "bad NT7-versions" are floating arround.
-
Tip
as additional idea - speaking for NT7 things only :
maybe its even useful to delete "old-code-NT7-Version" from the threads step by step for not getting mixed up in the future.
i offer this as mod - if you realize old codes (converted from NT6,5) and you can offer a realy better coded version, report the post with some infos and i have a look at / delete the old one)
so we you can help bring up to the quality of the posted indicators .
The instructions for chosing MAs and Value are based on the newest DoubleMANT7 link provided on post#14 of this thread. Please look at the attatchment for the details of instruction.
Thank you. This is not quite what I wanted. I know how to select the values in properties etc... I'm trying to get current value of this indicator into some variable: double someVar = SMA(50)[0];...
But with DoubleMANT7 I'm getting errors.
Thank you.
Ninja code:
public DoubleMANT7 DoubleMANT7(NinjaTrader.Indicator.DoubleMANT7.DMAType mA1Type, NinjaTrader.Indicator.DoubleMANT7.DMAType mA2Type, int mAPeriod1, int mAPeriod2)