Calculate entry and exit accuracy using MAE and MFE values

Please add an entry and exit accuracy calculation for strategies:



See:
https://strategyquant.com/forum/topic/4633-better-use-of-mae-and-mfe-in-sq4/#post-137028



Some details on what is required to analyse entry and exit fitness:


http://www.automated-trading-system.com/e-ratio-trading-edge/



Example calculation:

Assume the following:
- Enter long at price of 100
- Market moves down to a price of 90
- Market moves up to a price of 130
- Exit at a price of 110

Entry Efficiency is Calculated as:

(maximum price seen - entry price) / (maximum price seen - minimum price seen)
= (130 - 100) / (130 - 90)
= 75%
= The entry took 75% of the trade range

Exit Efficiency is Calculated as:

(exit price - minimum price seen) / (maximum price seen - minimum price seen)
= (110 - 90) / (130 - 90)
= 50%
= The exit took 50% of the available trade range

Total Efficiency is Calculated as:

(exit price - entry price) / (maximum price seen - minimum price seen)
= (110 - 100) / (130 - 90)
= 25%
= The trade represented only 25% of the trade range

   • The formulas are reversed for short





Attachments
No attachments
  • Votes +3
  • Project StrategyQuant X
  • Type Feature
  • Status Moved
  • Priority Normal
  • Assignee None

History

m
#1

mikeyc

08.10.2018 18:15

Task created

m
#2

mikeyc

08.10.2018 18:16
Voted for this task.
k
#3

Karish

10.09.2020 10:55
Voted for this task.
MF
#4

Mark Fric

26.11.2020 10:49
Task moved to project SQ Programming, new link to task: https://sq.projectpanel.com/tasks/sqp_0119

Votes: +3

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please