Scripting Ideas: For [back] testing MFE Maximum Favorable Excursion. [and bonus comand] VOLTT

0 108 Views No Comments 2 months ago
HTS ENTERPRISESTABLE
  • Add MFA to Max Draw Down/MAE for back testing/reports

    What does MFE mean?

    MFE stands for Maximum Favorable Excursion.

    MFE marks the highest price during a long trade and the lowest price during a short trade. This shows you what the highest profit was during a trade.

    What does MAE mean?

    MAE stands for Maximum Adverse Excursion (Max Draw Down)
    MAE marks the lowest price during a long trade and the highest price during a short trade. This helps you to identify what the maximum loss was during a trade. This is also known as maximum drawdown of the position.

    Maximum Adverse Excursion ( Price MAE )
    Defines the price of the asset that would have led to maximum losses during the trade.

    Maximum Favorable Excursion ( Price MFE )
    Defines the price of the asset that would have led to maximizing profits during the trade.

    Maximum Adverse Excursion ( Position MAE )
    Defines the maximum possible losses that could have taken place during the trade.

    Maximum Adverse Excursion ( Position MFE)
    Defines the maximum possible profits that could have taken place during the trade.

    Why are these metrics important?
    These metrics are key are they can answer the following key questions while trading:

    How much profit did I leave on the table?
    What could have been the best possible exit price?
    What are the maximum possible losses I could have taken during the trade?
    What could have been the worst possible exit price?

    Answering the questions above can help you better understand whether the trade you took respected your trading rules and whether your exit could have been better or not.

    https://analyzingalpha.com/maximum-favorable-excursion

    HaasScript Code
    Sign in or Register to download for free
  • Mandala Trading Competition Promotion Type: contest Expires: June 9, 2023 Exclusive
    Trading volume competition, win up to $10,000 USDT and bounties.
  • Earn Up to 200 BMEX Tokens Promotion Type: contest Expires: March 31, 2023
    15 BMEX @ $20,000, 25 BMEX @ $50,000, 50 [email protected] $200,000, 100 BMEX @ $400,000, 200 BMEX @ $600,000 in monthly derivatives volume
Login or Register to Comment

Unlock your crypto trading potential

Create a free account and enjoy everything we have to offer.

Join for Free