Hi Guys,
Hope you are all well. After a break it’s time to review and optimize the Pathfinder 4H robots.
I have checked the DAX version and unfortunately the current DAX market volatility delivers no profits so far. Please find attached a new version V7 containing error fixes, improvements and new features.
V7 release notes:
- fixed the preloadbars error (Thanks manel)
- fixed the error regarding maxPositionSizeShort variable
- fixed the erroneous calculation of the short position size
- add order cumulation for short trades
- add dynamic position sizing based on weekly performance (Thanks Maz for the idea)
- change the rule engine (add previous daily High as short signal)
- remove dynamic max position size calculation
- optimized all relevant parameters
The new dynamic position size calculation based on the weekly performance is responsible for the much better results and of course for the slightly higher drawdown.
ONCE maxDynamicPositionSize = 2 // >1 with dynamic position sizing; 1 without
//...
// dynamic position sizing based on weekly performance
ONCE profitLastWeek = 0
if DayOfWeek <> DayOfWeek[1] and DayOfWeek = 1 then
if strategyProfit > profitLastWeek + 1 then
positionSize = min(maxDynamicPositionSize, positionSize + 1) // increase risk
else
positionSize = max(1, positionSize-1) // decrease risk
endif
profitLastWeek = strategyProfit
endif
The risk is controlled by the variable maxDynamicPositionSize. A value > 1 (default is 2) works as a booster and a value of 1 turns of the feature.
I’ll check the other Pathfinder robots as well.
Best, Reiner
thanks a lot Reiner you are the boss!
Did you try with the DOW or others?
@reiner
Thanks a lot.
This version is already optimized for 10000€ account or they need change?
Have a good week
because, in attached files, the DD is too much for an account of 10000€. with “maxDynamicPositionSize = 2”
with “maxDynamicPositionSize = 1 “, it’s the same
wp01Participant
Master
@rejo007,
You did not take the DAX mini but the normal DAX and your history goes back to January of this year and not to 2010 as in the example…..
@rejo007
try the allemagne 30 au comptant (mini 1€) !
About position sizing, ProOrder now support decimal lot size, please check this thread for more information : https://www.prorealcode.com/topic/trading-with-decimal-quantities-possible-on-proorder-live/
Hi Guys,
Please find attached the new V7 for Pathfinder DOW 4H
Best, Reiner
Updated the DropBox folder with DAX-v7 and Dow-v7 .
Hot stuff! 🙂
@Reiner
did you try with real account the V7?
@lerilleseb
I don’t trade V7 life so far
Pathfinder 4H for Hangseng works very well and delivers >60k HKD profit in 2017. The algo is well balanced and fit perfectly the current market heartbeat.
Enclosed is the new V7 of this little beauty.
rebParticipant
Master
@reiner
Vielen Dank für deine Strategien
@all
The decimalization with PRT will allow more flexibility and we ll increase the lot size softly between 10k capital and 20k.
To double position sizes could be very stressfull
thks PRT