Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

TrailStop on Market if Touched

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    TrailStop on Market if Touched

    I have a strategy which enters the market with market order and has target limit order and stop loss order. I want to enter a trailing stop order and cancel stop loss order if profit touched 18 ticks.
    Is it something to possible to do in NT both for backtests? In live I can use tick updates but for backtests the logic needs to be built using MFE.

    #2
    Hmm, I guess you MFE should read MIT, correct? Those orders are unfortunately not supported by NT.

    For stoploss trailing aspect, you could code this out yourself with the concept demonstrated here -

    BertrandNinjaTrader Customer Service

    Comment


      #3
      I meant MFE. So during backtest you track mfe and exit poistion at certain offset below MFE instead of bar close price. Like you do for SetTrailStop but only difference is that TrailStop should trigger after Pnl touches x points.

      I have implemented this strategy in live using tickupdate just need to set it up for backtests.

      Comment


        #4
        Unfortunately backtesting just doesn't have tick granularity. I am not sure how you actually have the logic programmed though.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Same as SetTrailStop but the only difference is trailstop will activate only after MFE crossed above certain level.

          Comment


            #6
            To simulate this is backtesting, you would need to work then with lower granular data (fast tickcharts) and then simulate your higher time frame conditions on this chart as a replacement for the unknown intrabar tick formation of your higher frame.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by rhyminkevin, Today, 04:58 PM
            3 responses
            48 views
            0 likes
            Last Post Anfedport  
            Started by iceman2018, Today, 05:07 PM
            0 responses
            5 views
            0 likes
            Last Post iceman2018  
            Started by lightsun47, Today, 03:51 PM
            0 responses
            7 views
            0 likes
            Last Post lightsun47  
            Started by 00nevest, Today, 02:27 PM
            1 response
            14 views
            0 likes
            Last Post 00nevest  
            Started by futtrader, 04-21-2024, 01:50 AM
            4 responses
            50 views
            0 likes
            Last Post futtrader  
            Working...
            X