MAE and MFE calculator.

Forums ProRealTime English forum ProOrder support MAE and MFE calculator.

Viewing 5 posts - 1 through 5 (of 5 total)
  • #77327

    Although this is an indicator I am posting it in this forum as I wrote it really to assist in deciding on stop loss and take profit levels within a strategy (not that I ever use them!)

    It is based on long positions only but just reverse the results if you want MAE and MFE for short positions. The MAE and MFE is calculated from the bar open price.

    This indicator will calculate the following:

    • The all time average MAE and MFE from open price per bar.
    • The biggest all time 1 bar MAE and the biggest all time 1 bar MFE.
    • The MAE and MFE since the open n bars back.
    • The average 1 bar MAE and average 1 bar MFE since the open n bars back.

     

    With this it is easy to check recent market volatility compared to the average and also to decide on stop loss and take profit levels. You could even use the calculations within a strategy to set dynamic levels.

    Not sure if it is worthy of the indicator library but I will submit it if Nicolas thinks it is.

    Note: just in case anyone does not know – MAE = Maximum Adverse Equity and MFE = Maximum Favourable Equity. Basically how far price moves for or against your position.

    Screenshot_4Screenshot_5

     

    7 users thanked author for this post.
    #77481

    An interesting way to use these MAE and MFE values is with bands based on the average of them over a look back period of n.

    Screenshot_1-1

    The above is a weekly chart. The bands have been shifted so that the values for the current forming bar are those at the close of the previous bar. It can then be easily seen if price is near to the average MAE or MFE which can be areas to enter a trade or get out of a trade. I have added a multiple so that you can move the bands to for example 1.5 times MAE and MFE if you want to.

    MAE-and-MFE-bands

    …and here is an image of a daily strategy that buys when price drops to an average of MAE (done with MTF). It seems like there is some potential there.

    Screenshot_2

     

    5 users thanked author for this post.
    #146203

    an old topic, but I just want to say thanks for posting this.

    1 user thanked author for this post.
    #146204

    would you mind sharing that strategy vonasi? 🙂

    #146255

    That was a very old strategy from over two and a half years go so I don’t recall exactly which one it was. Looking at the equity curve and the positioning sizing in a constantly trending up market I can only imagine that it involved some averaging down which is not something that I would recommend as a long term strategy unless you have very deep pockets.

    Despite that disappointment MAE and MFE are very important in any strategy when deciding on exit positions for either take profit or stop loss and should most certainly not be ignored.

Viewing 5 posts - 1 through 5 (of 5 total)
Similar topics:

Create your free account now and post your request to benefit from the help of the community
Register or Login