Momentum Optimisation
02/01/25 10:21
Been working on the momentum code most of the day today and looks good now. The functionality is mostly there. From a small test this morning:
- The momentum system is working:
- When momentum is high, we see larger reductions in MinLineDifference:
Required Difference: 0.036626 (Base: 0.046000 reduced by 20.4%) Momentum Factor: 20.4%
vs. low momentum:
Required Difference: 0.043217 (Base: 0.046000 reduced by 6.0%) Momentum Factor: 6.0%
So it is working but needs to be optimised again with the other key momentum parameters, which is where I am at right now. Currently doing a 4 property optimisation with the new code to find the best configuration. The properties are:
Property Description Range
MinLineDifference (Distance between lines before opening trade 0.02 - 0.1 )
AngleBarsToCheck (Number of bars to look back at to determine momentum 1-3 )
AngleWeight (Weighting % given to angle in the calculation 0.5 - 1.0 )
MaxAngleDegrees (Maximum angle used in the calculation 0.15 - 0.45 )
MT4 is currently testing every possible cofiguration of these 4 parameters and is currently on test number 5750 and looks to be about a quarter of the way through..... could be a while.....
This was from the the AI after I requested to do an audit on the previous test:
Let me reorganize this analysis by directly looking at the trade log data you provided. Here are the key findings from analyzing all 128 trade records (64 positions open/close):
- Big Picture Issues:
- Starting Balance: 10,000
- Final Balance: 8,279.21
- Total Loss: 1,720.79 (17.21%)
- Best Performing Trades:
- Trade #122: +987.40 (Dec 19 05:00-21:00 Buy)
- Trade #20: +691.64 (Nov 7-Nov 11 Sell)
- Trade #96: +549.05 (Dec 9 Buy)
- Worst Performing Trades:
- Trade #100: -353.07 (Dec 11 Sell - Stop Loss hit)
- Trade #81: -268.44 (Dec 4 Buy)
- Trade #60: -271.62 (Nov 27 Buy)
- Pattern Analysis: a) Stop Loss Hits:
- Most stop losses occur during shorter-term trades (< 4 hours)
- Often happen during trend reversals
b) Winning Trades:
- Longest duration trades tend to be most profitable
- Strong correlation between momentum and profit
- Best trades typically last > 12 hours
c) Time-Based Patterns:
- Most profitable trades start in early Asian session
- Most losses occur during session transitions
- Key Loss Patterns:
- Quick Reversals:
- Many losses come from trades that reverse shortly after entry
- Often missing initial momentum confirmation
- Premature Stop Losses:
- Several trades hit stop loss then move in intended direction
- Current stop loss might be too tight
- Late Entries:
- Some losses come from entering after major move already happened
- Need better entry timing based on momentum
So I then asked......
(it also should be 'action' #100 not 'trade #100 but the AI understands)
Comments
Post a Comment