Test for lost trades
Forums › ProRealTime English forum › ProOrder support › Test for lost trades
- This topic has 8 replies, 2 voices, and was last updated 8 years ago by Nicolas.
-
-
05/24/2016 at 9:56 AM #7857
Hi. Is there a method where one can fine the trades that actual were in profit, but then the market turned around and against the trades direction to only end up in a loss? I know the report shows run up, but I would like to manually inspect these.
Thanks
05/24/2016 at 11:57 AM #786705/24/2016 at 12:05 PM #7868Done.
Please find below the code to add to your strategy.
1234567//Maximum Favorable Execution (MFE)floatingprofit = (((close-positionprice)*pointvalue)*countofposition)/pipsizeMFE = MAX(MFE,floatingprofit)GRAPH MFE as "MFE"if not onmarket thenMFE = 0endifPlease keep in mind that the GRAPH instruction has to be removed for ProOrder to work. It can only draw the MFE in ProBacktest.
05/24/2016 at 7:01 PM #790805/24/2016 at 7:03 PM #790905/24/2016 at 10:36 PM #794005/25/2016 at 9:01 AM #7951Defining what would be the future would be a great improvement in my trading, and in yours too I believe 🙂
That’s a very good question! It depends on your strategy… Or maybe don’t let more than 50% retracement of the highest MFE occurs? <- good idea.
05/25/2016 at 2:01 PM #799905/25/2016 at 2:14 PM #8002Better test if the actual MFE is inferior of the previous one, not if it has the exact same value (which is almost quiet impossible).
123456floatingprofit = (((close-positionprice)*pointvalue)*countofposition)/pipsizeMFE = MAX(MFE,floatingprofit)IF MFE<MFE[1]*0.8 THENSELL AT MARKETENDIF -
AuthorPosts
Find exclusive trading pro-tools on