Above 90% winning rate but auto stopped out from running in Proorder
Forums › ProRealTime English forum › ProOrder support › Above 90% winning rate but auto stopped out from running in Proorder
- This topic has 71 replies, 7 voices, and was last updated 4 years ago by kkkok288.
-
-
12/05/2019 at 7:44 AM #114222
Hi, kindly refer to the attachment for 2 EAs.
Based on the backtest result of 100,000 units, the EAs show high winning rate of more than 90% with minimal stop loss.
However, when I put them to run in Proorder, I discover that the EAs are automatically stopped from the system in the next morning.
Two weeks ago, I had informed this problem to help centre but they cannot settle it till now.
Could anyone please help me in this matter? I have another 20EAs having the same problem.
Many thanks,
Roger
12/05/2019 at 9:05 AM #11422512/05/2019 at 9:56 AM #114228The system asks me to add the code “DEFPARAM PreLoadBars = 2000” for the EA’s parameter.
I have added the code in the 2 EAs but it doesn’t work.
Then I contact help centre again but no solution provided from them.
Many thanks,
Roger
12/05/2019 at 10:29 AM #11423212/05/2019 at 10:29 AM #114233If the code is not too long then it might be a good idea to post it here using the ‘Insert PRT Code’ button rather than as an ITF file. This avoids people having to open their platform and import the files just to see if there is something in the code that is causing the problem.
12/05/2019 at 10:39 AM #114234I also received that messages several times on several strategies. They sometimes stop, while sometimes they don’t. No matter how many PRELOADBARS I set.
I never investigated to see what really causes these problems, but since they occur only on some strategies and not on others, I guess there must be some code that is not 100% compatible with DEFPARAM PRELOADBARS.
It’s sounds a bit like ONCE, the only place where it works as expected is ProOrder, while ProScreener hates it! ProBuilder doen’t love it too much. In the latter two tools I started replacing ONCE with IF BarIndex = 0 THEN… without addressing PRT anymore.
12/05/2019 at 10:44 AM #114237us15m DImaccimovoatr testcfd3
I’ve set both EA’s going on DJI 15 min FT on Demo … I’ll report back.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566// Definition of code parametersDEFPARAM CumulateOrders = False // Cumulating positions deactivated// Conditions to enter long positionsindicator1 = Average[1](DI[14](close))c1 = (indicator1 CROSSES OVER -40)indicator2 = Momentum[12](close)c2 = (indicator2 <= -350)indicator3 = CCI[20]c3 = (indicator3 < -95)IF c1 AND c2 AND c3 THENBUY 1 PERPOINT AT MARKETENDIF// Conditions to exit long positionsindicator4 = SAR[0.02,0.02,0.2]c4 = (close CROSSES UNDER indicator4)IF c4 THENSELL AT MARKETENDIF// Conditions to enter short positionsindicator5 = Average[1](DI[14](close))c5 = (indicator5 CROSSES UNDER 10)indicator6 = Momentum[12](close)c6 = (indicator6 <= 33)indicator7 = Volumec7 = (indicator7 <= 1300)indicator8 = Volumec8 = (indicator8 >= 100)indicator9 = ExponentialAverage[9](MACDline[12,26,9](close))indicator10 = MACDline[12,26,9](close)c9 = (indicator9 <= indicator10)indicator11 = Average[5](volume)-Average[25](volume)c10 = (indicator11 >= -300)indicator12 = AverageTrueRange[14](close)c11 = (indicator12 >= 12)indicator13 = Stochastic[14,3](close)c12 = (indicator13 < 88)indicator14 = ExponentialAverage[9](MACDline[12,26,9](close))indicator15 = MACDline[12,26,9](close)c13 = (indicator14[1] < indicator15[1])indicator16 = ExponentialAverage[9](MACDline[12,26,9](close))indicator17 = MACDline[12,26,9](close)c14 = (indicator16[2] < indicator17[2])c15 = (close < close[1])indicator18 = MoneyFlowIndex[14]c16 = (indicator18 <= 75)indicator19 = MoneyFlowIndex[14]c17 = (indicator19 >= 40)indicator20 = Momentum[12](close)c18 = (indicator20 >= 20)IF c5 AND c6 AND c7 AND c8 AND c9 AND c10 AND c11 AND c12 AND c13 AND c14 AND c15 AND c16 AND c17 AND c18 THENSELLSHORT 1 PERPOINT AT MARKETENDIF// Conditions to exit short positionsindicator21 = SAR[0.02,0.02,0.2]c19 = (close CROSSES OVER indicator21)IF c19 THENEXITSHORT AT MARKETENDIF1 user thanked author for this post.
12/05/2019 at 12:07 PM #11424212/05/2019 at 12:33 PM #114247hahah I guessed right, well I tried it on a few TF’s.
Performance results look good and I like that lots of trades are in and out in a few hours!
Only an OOS / Forward Test will give confidence.
Like Roberto, I’ve had that ‘preLoad bars’ error message kinda randomly and never got to the bottom of it to any satisfaction as I recall.
12/05/2019 at 3:15 PM #11426312/06/2019 at 1:57 AM #11429612/06/2019 at 8:40 AM #11430412/06/2019 at 10:13 AM #11431212/06/2019 at 10:48 AM #11431512/06/2019 at 11:55 AM #114323 -
AuthorPosts