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
-
-
11/10/2016 at 7:07 PM #1634811/10/2016 at 7:23 PM #1634911/10/2016 at 9:03 PM #16352
Hi Patrick,
I have been thinking about your V5 problem. The only logical explanation is that your life trading parameter setting avoid pyramiding. Do you have limited the number of maximal contracts in the code and Pathfinder’s maximal position check avoid further cumulation or the maximal number of contracts in ProOrder isn’t high enough?
best, Reiner
11/10/2016 at 9:12 PM #16353Hello,
I tried to implement the result from the “single conditions” of the system.
the results are not bad, but not as good as I expected.
One is without condition L1
One is double size of positions caused by L2
One is double size of positions caused by L3
11/10/2016 at 9:22 PM #16359Hi Reiner,
I doubled the positions in the code in V5.
I changed:
ONCE positionSize = 2
And now you remind me to look into the code i see that i forgot to change:
maxPositionSizeLong = MAX(15) ——into 30
maxPositionSizeShort = MAX(5) ———–into 10.
I did changed that in the former versions before 5 and in V6, but forgot it in V5. And this is for the pyramiding.
And when you activate it for realtime trading i have a maximum of 30 contracts. That was correct i guess….
Thanks for clearify this.
Regards,
11/11/2016 at 7:25 AM #1637211/11/2016 at 7:31 AM #1637311/11/2016 at 7:56 AM #16374Good Morning Patrick,
Yes, that looks better. Demo or life?
@Ale: you could change the limits by hand, that should work.I think there is something with limits and stops that work in backtest but not in life trading. I had last week the some problem and thought the reason for that was the PRT wintertime error. I have to check this.
best, Reiner
11/11/2016 at 8:16 AM #1637511/11/2016 at 2:46 PM #1638011/11/2016 at 4:14 PM #16382@ Reiner,
yes I’ve stopped It , but when it open position at 21.00 – 09.11.2016, take profit was 10999,7 and stop 10067,6
Yesterday evening I’ve saw that there was not stop, and limit had became 11718,9I’ve attached picture of order list
11/11/2016 at 5:22 PM #16385Hi,
first of all thank you very much Reiner, great strategy. 🙂
I tryed the V6B1 in a backtest. I’m getting different results when I test it from the 1st of September this year till now and the 2nd of September till now, also if there’s no Position opened on one of These days… really strange…
11/11/2016 at 5:44 PM #16386Hi Ale,
I have tested some things in life trading today. Open position (long, short) and stop and limit orders worked as expected. I think the trailing machanism doesn’t work in live trading because the two ordertyps SET STOP %LOSS stopLoss and SELL AT newSL STOP aren’t working like in backtest. But I’m not sure. It was realy a nightmare to verify this in life trading and I have lost a lot of pizzas try to activate the stupid trailing mechanism.
best, Reiner
11/11/2016 at 5:48 PM #16389@Nikolas: I know your time is limited but could you please advise me. Is it possible to use SET STOP %LOSS / SET TARGET %PROFIT (as superordinate order) and SELL AT… STOP / EXITSHORT AT… STOP together in life trading? Here is the code for a long position management:
12345678910111213141516171819202122232425// manage long positionsIF LONGONMARKET THEN// first move (breakeven)IF newSL = 0 AND close - tradeprice(1) >= trailingStartLongInPoints * pipsize THENnewSL = tradeprice(1) + trailingStepLongInPoints * pipsizemaxCandlesLongWithProfit = maxCandlesLongWithTrailProfitstopLoss = 0 // in % set superordinate stop order to breakeventakeProfit = 10 // in % set superordinate take profit order to new limitENDIF// next movesIF newSL > 0 AND close - newSL >= trailingStepLongInPoints * pipsize THENnewSL = newSL + trailingStepLongInPoints * pipsizeENDIFENDIF// trailing stop order to exit the positionsIF newSL > 0 THENIF LONGONMARKET THENSELL AT newSL STOPENDIFENDIF// superordinate stop and take profitSET STOP %LOSS stopLossSET TARGET %PROFIT takeProfitThanks, Reiner
11/11/2016 at 7:16 PM #16394Hi arke und Willkommen,
Do you have changed the preloadbars parameter? The reason for that is in my opinion the missing bar history. If you want to see the same results you have to start the backtest 6 month early. In your scenario try 1. April.
best, Reiner
-
AuthorPosts
Find exclusive trading pro-tools on