Momentum

 11/01/25    10:39 am

Still working on getting momentum working correctly, slowly making my way through each issue.  Initially was producing impossible values like -1251.9% when it should be between 0 - 100.  Corrected the MACD code and getting between 0 - 100% now but still not making trades.  It seems the PV2 values shift over time for whatever reason.  Perhaps it is relative to the price range of the symbol but I'm not sure.  May have to put some kind of self calibrating code in to adjust it periodically to ensure functionality...

11:11
Sigh of relief, finally making trades again.  After re-optimizing the MinLineDifference parameter (like we did on my coffee table) and re-calibrating it to much lower values.  Has gone from 0.046 to 0.011.  Quite substantial.  So if the PV2 values are going to shift over time then we definitely have to put some dynamic calibration code in there.

Comments

Popular posts from this blog

Stops and line based entry validation

Momentum

Strip back to core functionality