Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Double MA
Collapse
X
-
-
Originally posted by dmod1 View PostDoes anybody have the Double MA indicator for NT 7? I have it for NT 6.5 but doesn't work in NT 7. If someone it can you please post or send it to me. THanks
In any case, NT7 does have one: DEMA - comes supplied, only one line of code as follows:
Code:Value.Set(2 * EMA(Inputs[0], Period)[0] - EMA(EMA(Inputs[0], Period), Period)[0]);
Comment
-
Originally posted by price777999 View Post
Remember to download the ind from post #4 in the thread given in post #4 of this thread. The other links are for earlier versions.
What's very good is that you can choose between a selection of moving average types: EMA, HMA, etc. (In my opinion, HMA is the best of all.)
It's interesting to look at the coding: it's quite complex.Last edited by arbuthnot; 05-02-2015, 07:46 AM.
Comment
-
Just to add that there are arrows indicating the maxima and mimima, i.e. the turning points.
But these are deceptive: they are not placed where you can place a meaningful trade using this system. You can only know (in realtime) if the ind is rising or falling a bar later in every case. It wouldn't be difficult to set 'ShowAroows' to false and then code in sometime 'realtime' valid' arrows in a strategy.
This sort of thing can be a trap when things look better than they seem!
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Waxavi, Today, 02:10 AM
|
0 responses
2 views
0 likes
|
Last Post
by Waxavi
Today, 02:10 AM
|
||
Started by TradeForge, Today, 02:09 AM
|
0 responses
4 views
0 likes
|
Last Post
by TradeForge
Today, 02:09 AM
|
||
Started by Waxavi, Today, 02:00 AM
|
0 responses
2 views
0 likes
|
Last Post
by Waxavi
Today, 02:00 AM
|
||
Started by elirion, Today, 01:36 AM
|
0 responses
4 views
0 likes
|
Last Post
by elirion
Today, 01:36 AM
|
||
Is it possible to have a drawing, such as a line, cycle through different colors?
by gentlebenthebear
Started by gentlebenthebear, Today, 01:30 AM
|
0 responses
4 views
0 likes
|
Last Post Today, 01:30 AM |
Comment