Does this system have an edge or is it just the last year?
Forums › ProRealTime English forum › ProBuilder support › Does this system have an edge or is it just the last year?
- This topic has 35 replies, 5 voices, and was last updated 7 years ago by victormork.
-
-
03/31/2017 at 4:26 PM #30552
Manel I didn’t notice your post when I replied from my phone.. I can understand why the backrest is only working for current market conditions. It needs smooth movements and if the market becomes more volatile it will not work anymore. If you have any idea in how to compensate this shortcoming please let me know!
03/31/2017 at 9:52 PM #30574An idea that I have is to try is to restrict long and short slightly depending on trend, right now they are working slightly more as a mean reverse.
03/31/2017 at 10:23 PM #30578You say ... if the market becomes more volatile it will not work anymore … that is not a bad thing unless you can ensure that trades are on the right side of the volatility?
Alternatively get out quick using a stop dependent on a condition which is a measure of volatlilty?
If Shortonmarket AND ‘volatile measure’ AND Price > Price[1] AND Price[1] > Price[2] etc (i.e Price increasing) THEN
Set pstoploss at (price+min stop distance) (or maybe just exitshort?)
Endif
But you would need to be able to use a 1M or even 1 sec TF as no good waiting until the end of the 1H TF as volatility may be over by then.
The conditions above would only be read / set at the end of a bar … hence the need for 1 sec TF? PRT Multitimeframe is coming along soon I believe?
Just a few thoughts. I only wish I could code as quick as I think of these daft ideas which probably aren’t even codable?? hahaha
Regards
GraHal04/01/2017 at 9:42 AM #30581the system already use a trailing stop, what I meant was that it can’t hand shock movements and at the moment it can go long when there is no price-action supporting long positions, therefore I would suggest it to be more trend following. I have not yet tested this so it can be completely wrong.
04/01/2017 at 9:59 AM #30586Sorry GraHal, I think I misunderstood what you said about the stop function. I’ll have a look to see what I can do. Will try to see if I can use any of your suggestions 🙂
1 user thanked author for this post.
04/01/2017 at 2:07 PM #30614I’m thinking that it could be changed to something like this. I have tried to create the same system with much less indicators. Still missing the real robust edge.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869// Definition of code parametersDEFPARAM CumulateOrders = False // Cumulating positions deactivated// Prevents the system from placing new orders on specified days of the weekdaysForbiddenEntry = OpenDayOfWeek = 6 OR OpenDayOfWeek = 0// indicatorsindicator1 = TRIX[9](close)indicator2 = Average[6](TRIX[9](close))indicator3 = Average[20]indicator4 = Average[150]// Conditions to enter long positionsc1 = (indicator1 CROSSES OVER indicator2)c2 = (indicator3 > indicator4)c3 = (indicator1 < -0.01)IF (c1 AND c2 AND c3 ) AND not daysForbiddenEntry THENBUY 1 CONTRACT AT MARKETENDIF// Conditions to enter short positionsc11 = (indicator1 CROSSES UNDER indicator2)c12 = (indicator3 < indicator4)c13 = (indicator1 > 0.01)IF (c11 AND c12 AND c13 ) AND not daysForbiddenEntry THENSELLSHORT 1 CONTRACT AT MARKETENDIF// StoplossSET STOP pLOSS 55trailingstart = 40 //trailing will start @trailinstart points profittrailingstep = 10 //trailing step to move the "stoploss"//reset the stoploss valueIF NOT ONMARKET THENnewSL=0ENDIF//manage long positionsIF LONGONMARKET THEN//first move (breakeven)IF newSL=0 AND close-tradeprice(1)>=trailingstart*pipsize THENnewSL = tradeprice(1)+trailingstep*pipsizeENDIF//next movesIF newSL>0 AND close-newSL>=trailingstep*pipsize THENnewSL = newSL+trailingstep*pipsizeENDIFENDIF//manage short positionsIF SHORTONMARKET THEN//first move (breakeven)IF newSL=0 AND tradeprice(1)-close>=trailingstart*pipsize THENnewSL = tradeprice(1)-trailingstep*pipsizeENDIF//next movesIF newSL>0 AND newSL-close>=trailingstep*pipsize THENnewSL = newSL-trailingstep*pipsizeENDIFENDIF//stop order to exit the positionsIF newSL>0 THENSELL AT newSL STOPEXITSHORT AT newSL STOPENDIF -
AuthorPosts
Find exclusive trading pro-tools on