Strategy Code Example 2 - Time Limiting by JayRogers
By JayRogers
Performance Metrics
- Author: JayRogers
- Symbol: FX:EURGBP
- Timeframe: 1 hour
- Net P&L: +101.67 GBP (0.00%)
- Win Rate: 52.6%
- Profit Factor: 1.423
- Max Drawdown: 171.57 GBP
- Total Trades: 19
Description
*** THIS IS JUST AN EXAMPLE OF STRATEGY TIME LIMITING CODE IMPLEMENTATION ***This is a follow up to my example for risk management implementation here:Code remains mostly unchanged, but now includes a time limiting implementation.Relevant code blocks for the time factor are preceded with a comment stating:*** FOCUS OF EXAMPLE ***Cheers!