Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Anyone want to program "The Force" ?
Collapse
X
-
So since nobody has mentioned any information on the differences between the MACD indicators I have come to sort of a conclusion. If the MACD inputs could be 12,26,1 the Macd and Avg line would be the same and the Diff histo would be nonexistant. Meaning the histo used must be from the Macd/Avg line(s). That being said I am removing the indicator until I can test with the alteration. If someone else has a version, Mike, please post.
-
We are comparing it to the one talked about here: http://www.forexfactory.com/showthread.php?t=120606
Comment
-
See if this makes sense. Their MACD indicator allows a 3rd parameter of 1, which would make the Macd and Avg lines the same and the Diff line would be flat at zero. They also state that the 3rd number doesn't matter. The 3rd number only doesn't matter to the Macd line but does change the other two. Therefore they must be using the macd line in histogram form on their charts for the purpose of the Force.
Comment
-
You got it, eDanny : the Force MACD uses the Average line as the histogram. Mike Winfrey has it programmed - I think he is ironing out a bug or two before posting it.Originally posted by eDanny View PostSee if this makes sense. Their MACD indicator allows a 3rd parameter of 1, which would make the Macd and Avg lines the same and the Diff line would be flat at zero. They also state that the 3rd number doesn't matter. The 3rd number only doesn't matter to the Macd line but does change the other two. Therefore they must be using the macd line in histogram form on their charts for the purpose of the Force.
Comment
-
-
eDanny,
That is right, if you look closely at the chart on that link, all three plots are there and the MACD line is just plotted as a histogram.
With parameters of 12, 26,1:
MACD line is the difference of 12 and 26 EMAs.
Signal line will be an EMA of that line and with a parameter of 1 it will be the same value as MACD line (in that chart it is the thin red dashed line that follows the histogram).
A normal MACD histogram is the difference between MACD line and the signal line which with those parameters is obviously 0.
VT
Comment
-
Nice coding, thanks for this MikeOriginally posted by Mike Winfrey View Post
Comment
-
Looking at the Force concept I see promise but also too many false signals. To help filter them out I incorporated another Stochastics to help determine trend. If you turn it on (default = true) you will see it as a black line to give a visual aid. The change in the code will change the main Stoch K line to blue if it is above the orange Stoch D line and the slower black D line is rising. If the main K line is below the orange D line and the black D line is falling, it will be red. Under all other conditions it will be green. This can help filter out trades in choppier conditions that would likely reverse for a stop out. It seems nobody is interested in this one panel solution but I see potential here.
Edit: The main line can only be blue or green if it closes below 20 first and can only be red or green if it closes above 80 first.
Also changed the K line to keep colors instead of the whole line changing. Originally I thought it would be a better eye catcher but it is not good for scrolling back in the chart or even checking to see if the color change was current bar or previous.Last edited by eDanny; 02-05-2009, 07:51 PM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
656 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
371 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
109 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
574 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
579 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment