Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CumPofit

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

    CumPofit

    Is it possible to set a limit in terms of Pips rather than profit for the days trading.

    #2
    Instead of using Performance.AllTrades.TradesPerformance.Currency.C umProfit, use Performance.AllTrades.TradesPerformance.Points.CumProfit.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh

      Comment


        #4
        Hello Josh

        HI, may i request a favor
        I want to set my strategy while my loss of that day, over certain points,
        then the parameter of the strategy will be change to my other preset number immediately

        I will use :
        if (Performance.AllTrades.TradesPerformance.Points.Cu mProfit < myLossToday)
        -- do something --

        but while i backtest it with one month, it cannot show my desire result,
        becase the strategy cannot identity "each day loss", it cumilate all days trades performance

        i hope it can do automatic change in backtest for testing 1 month:
        i have 2 set parameter, setA, setB
        normal days will use setA,
        but while there is a big loss in certain day, it will turn to setB immediately, until end of the day,
        then it will reset to setA in next day.

        Can you help, thanks


        With Kind regards
        Frankie

        Comment


          #5
          Hello Josh again,
          if i want the stragegy stop/flatten immediately once it hit myTargetProfitToday,
          what i should write the code?

          Kind regards
          Frankie

          Comment


            #6
            Frankie, did you check already into this reference sample here? - http://www.ninjatrader-support2.com/...ead.php?t=4084

            Comment


              #7
              Dear Bertrand

              Thank you very much !!, they really work, thanks again.

              have a good day

              Warm regards
              frankie

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              637 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              366 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              107 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              569 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              571 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X