Pathfinder Trading System
Forums › ProRealTime English forum › ProOrder support › Pathfinder Trading System
- This topic has 1,834 replies, 139 voices, and was last updated 1 year ago by CFD AutoTrading.
Tagged: Pathfinder
-
-
01/21/2018 at 3:01 PM #60073
Hello Guys I tried myself on Gold with the Version 7 and Reiners position multiplier.
Sorry i’ve put some modification on IT, less risk, good reward too 🙂
01/21/2018 at 5:37 PM #60079Hi O-jay8, Hi Gianluca,
Thank you for your contribution. Attached you will find a Pathfinder 4H V7 version for gold as I would parameterize it. Gold has a low drawdown with 100% risk for a 10k euro account. Unfortunately also a low profit (picture 1).
12345// dynamic scaling of the chance/risk profile depending on account sizeONCE startRisk = 1 // start risk level e.g 0.25 - 25%, 0.5 - 50%, 0.75 - 75%, 1 - 100% and so onONCE maxRisk = 1 // max risk level e.g 1.5 - 150%ONCE increaseRiskLevel = 500 // amount of profit from which the risk is to be increasedONCE increaseRiskStep = 0.5 // step by which the risk should be increasedSo that it pays off at the end I would start with 50% risk and then upscaled e. g. to 300% (picture 2).
12345// dynamic scaling of the chance/risk profile depending on account sizeONCE startRisk = 0.5 // start risk level e.g 0.25 - 25%, 0.5 - 50%, 0.75 - 75%, 1 - 100% and so onONCE maxRisk = 3 // max risk level e.g 1.5 - 150%ONCE increaseRiskLevel = 500 // amount of profit from which the risk is to be increasedONCE increaseRiskStep = 0.5 // step by which the risk should be increasedThe risk controller offers the possibility to manage the risk individually.
Caution: is only a trial version and the results are not yet verified in demo or life!
01/21/2018 at 7:55 PM #60094d I would start with 50% risk and then upscaled e. g. to 300% (picture 2).
Hi @Reiner, still thank to you, i’ve put this parametres cause i want to start with less money, 😉
123456789101112/ dynamic scaling of the chance/risk profile depending on account sizeONCE startRisk = 0.25 // start risk level e.g 0.25 - 25%, 0.5 - 50%, 0.75 - 75%, 1 - 100% and so onONCE maxRisk = 5 // max risk level e.g 1.5 - 150%ONCE increaseRiskLevel = 2000 // amount of profit from which the risk is to be increasedONCE increaseRiskStep = 0.50 // step by which the risk should be increased// size calculation: size = positionSize * trendMultiplier * saisonalPatternMultiplier * scaleFactorONCE positionSize = 1 // default start sizeONCE trendMultiplier = 2 // >1 with dynamic position sizing; 1 withoutONCE maxPositionSizePerTrade = 20 // maximum size per tradeONCE maxPositionSizeLong = 20 // maximum size for long positionsONCE maxPositionSizeShort = 20 // maximum size for short positions01/22/2018 at 12:28 AM #60112different instruments, the backtest is for a 1 Euro mini contract
01/22/2018 at 4:19 PM #60188@gianluca different instruments, the backtest is for a 1 Euro mini contract
Yes, but the pic i’ve postet is with Reiner settings.
01/22/2018 at 5:31 PM #60195Not very good news for small accounts if the proposals from ESMA regarding margins of cfd’s pass through for NON-professional accounts.
Attached an example of the margin of the current positions and after the proposal of the ESMA. (these are normal contracts by the way, not mini’s)
2 users thanked author for this post.
01/24/2018 at 10:23 PM #6045001/25/2018 at 10:33 AM #60484Reiner,
The minimum positionsize for the Gold is 10. In this code 1 is used and will be rejected when it tries to open a position like yesterday.
If i multiply the positions by 10 it still can not open a position when the risk-level is lower than 1 in the periods Aug2 and Dec1.
In these periods the positions should be changed to 0 or 2 or at least the risk-level should be at minimum 1 if you want to trade these periods.
kind regards,
Patrick
1 user thanked author for this post.
01/25/2018 at 1:08 PM #60494Hi Patrick,
Thanks for this information. 10 Euro per pip is another game. With these requirements it’s better to trade the Gold mini 10 oz (10$) underlying. Attached you will find the best version I found for the maximum available history. The first picture is for 100% risk and the second start with 50% risk and scaled up until 150%.
best regards,
Reiner
01/25/2018 at 1:21 PM #6049901/25/2018 at 5:42 PM #60526your idea is worth a test. If I understand you correctly, you are looking for a MAE trailing stop mechanism. Please find attached a code snippet how you can do this.
1234567891011121314151617181920212223242526272829303132333435363738394041// MAE trailing stop functionmodeMAETrailing = 2 // 0 = off, 1 = static or 2 dynamic in relation to take profitIF (modeMAETrailing = 1) THENstartMAETrail = 1100 // e.g. EuroexitMAE = 300 // e.g. EuroELSIF (modeMAETrailing = 2) THENIF LONGONMARKET THENstartMAETrail = (positionprice * pointvalue * countofposition / pipsize) * takeProfitLong / 100 * 0.5 // 50% of max take profitexitMAE = startMAETrail * 0.3 // 30% of max take profitENDIFIF SHORTONMARKET THENstartMAETrail = ABS((positionprice * pointvalue * countofposition / pipsize) * takeProfitShort / 100 * 0.4) // 40% of max take profitexitMAE = startMAETrail * 0.1 // 10% of max take profitENDIFENDIFIF (modeMAETrailing <> 0) THENIF NOT ONMARKET THENmaxProfit = 0activeMAETrail = 0ENDIFmaxProfit = MAX(maxProfit, posProfit)// activateIF activeMAETrail = 0 AND posProfit >= startMAETrail THENactiveMAETrail = 1ENDIF// exitIF activeMAETrail > 0 AND posProfit < (startMAETrail - exitMAE) THENIF LONGONMARKET THENSELL AT MARKETENDIFIF SHORTONMARKET THENEXITSHORT AT MARKETENDIFENDIFENDIFThis simple logic offers two ways. You can set fixed amount of money for MAE trailing start and MAE exit or the start and exit values are calculated as percentage values in relation to the maximal take profit.
I tested it with the DAX version but unfortunately it didn’t show any significant improvements.The system is already very well balanced. Please find attach the code to play around
Nevertheless, thanks for your idea
best regards,
Reiner
1 user thanked author for this post.
01/25/2018 at 9:22 PM #60538Hi Reiner
Thanks for your reply.
Looking at the Dax report in the screenshot, closed trades are sorted by MAE; the higher the MAE is, the greater the probabilities that the trade is losing with high losses.
I’m looking for a way to cut these losses before they become too high; so I pointed to a MAE value, same value for every trade.
When the MAE is reached(1.e -600€) the position must be closed exiting the trade to avoid potential higher lost(look at “abs perf” column values < -600€).
01/27/2018 at 9:22 PM #60698Hi guys,
I tried to avoid strong accumulation on pathfinder 1H V8 by Reiner.
In V8 version, Reiner added a variable called l5. This variable try to ride a bullish trend but opens positions without cross any signalline. This can produce side effects like 9 january, every hour it has opened a new position.
I changed the long entry conditions
Use l5 only on trade already opened1IF ( l1 OR l2 OR (l3 AND f2) OR l4 OR (l5 and longonmarket)) THENThe same for short entry using s4
1IF ( s1 or (s2 AND f1) OR (s3 AND f3) OR (s4 and f1 and shortonmarket) ) THENSo if some of the traditional conditions opens a position, l5 and s4 accumulate every hour. I think then signal is stronger in this case.
Obviously we obtain a less performant trading system but avoid to open position like a crazy ;-).
I hope this can help someone using V8 strategy.
PraNik
1 user thanked author for this post.
01/28/2018 at 12:20 PM #60716The earning be improved by exiting the position when MAE < stopMae (i.e stopMae=300); may anyone post the code for exiting position when MAE reach a fixed value?
Pacione?
01/29/2018 at 1:11 AM #60791Sorry guys but i think there is something wrong with 2 things in the Pathfinder:
- First the multipliear create fractional order that are not permitted by the broker (see the image) *1
- Second, is the Trailing Stop Fuction working? i tried to change the value of parameter but nothing change in the result, in better or worst way.
*1 i’ve fixed this by changing every multiplier line that have any kind Max or Min
1numberContracts = MAX(1, MIN(maxPositionSizePerTrade, positionSize * saisonalPatternMultiplier) * scaleFactor)with this in order to have entire size
1numberContracts = round (MAX(1, MIN(maxPositionSizePerTrade, positionSize * saisonalPatternMultiplier) * scaleFactor)) -
AuthorPosts
Find exclusive trading pro-tools on