PDA

View Full Version : Detect inflection point in MACD.Diff


twas2007
10-18-2007, 12:04 PM
I would like to use the Condition Builder to detect (for instance) when the MACD.Diff stops decreasing and starts to increase. I tried using using the CrossAbove function with MACD(12,26,9).Diff entered as both parameters, but the second entry used a "Bars ago" of 1.

Using this method to EnterLong -and ExitLong when (MACD(12,26,9).Diff starts to decrease), I saw no trades triggered.

Understanding this case would probably help me generally to find inflection points.

Thank you.

NinjaTrader_Ray
10-18-2007, 12:24 PM
You would need to add create two conditions to your set.

One such as the image and another that checks if the value of 1 bar ago was less than the value of 2 bars ago.

If you are manually programming, you can also check Rising() and Falling() methods in the Help Guide.

twas2007
10-18-2007, 12:51 PM
Got it.
Thanks, Ray