Eliminate MFE trades with value of 0

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #172121 quote
    deletedaccount051022deletedaccount051022
    Participant
    New

    Hi,

    Am backtesting a Vectorial system from this wonderful site.  Sorting the results by MFE there are a number of trades with a value of 0, showing that once the position was taken it immediately become loss making and subsequently closed for a loss.

    I am trying to insert a a piece of code to eliminate these trades using a Buy (or SellShort) Stop order however, I still get trades with an MFE value of 0.  I have ticked ‘ProBacktest in tick by tick mode’, am using a spread of 2.4 points for the DOW and set the value EntrySpread to 11 to be sure to clear the spread. Please can someone suggest where I might be going wrong?

    Thank you very much

     

    EntrySpread=11
    
    //ENTER LONG POSITION
    IF CONDBUY THEN
    buy positionsize contract at close[1]+EntrySpread stop
    MFE-value-0.png MFE-value-0.png
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Eliminate MFE trades with value of 0


ProOrder: Automated Strategies & Backtesting

New Reply
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 06/22/2021
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...