Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adjusting Scalping Amount

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

    Adjusting Scalping Amount

    I was wondering if there would be any way to adjust my scalping amount depending upon how much slippage I suffer from. My Strategy updates using limit orders. What I would like to do is set the scalp amount a certain distance away from the price that initially received the entry signal.

    #2
    cboat, could you please clarify what you mean? You can place limit orders at whatever price you want. If you get a signal at a certain price, you can just save that price and submit an order +/- some distance.
    AustinNinjaTrader Customer Service

    Comment


      #3
      I understand that. An example would be that my strategy gets it's entry signal at 1.00. Yet due to slippage I do not get a position at 1.00 rather 1.05. Now if my scalp amount is set to 10 cents, is there a way to reduce my scalp by the amount of slippage I had. I.E. .05

      Comment


        #4
        cboat, I'm not quite sure what you mean by "reduce my scalp". If I'm interpreting you right, you could create some DataSeries/array of desired fills vs actual fills to get an average slippage and then offset your entry by that amount.
        AustinNinjaTrader Customer Service

        Comment


          #5
          i'm sorry i didn't mean "scalp" I meant to say profit taking. And if it is at all possible i would like to run this part of the strategy on every order rather that taking an average.

          Comment


            #6
            Then yes, that is definitely possible. You just have to call SetProfitTarget() with the appropriate arguments.
            AustinNinjaTrader Customer Service

            Comment


              #7
              is there a way to set my profit target against the close of the previous bar instead of the open of the current bar?

              Comment


                #8
                cboat, yes, you can reference the previous bar's close with Close[1]:
                Code:
                double prevClose = Close[1];
                AustinNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                648 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                369 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                108 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                572 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                573 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X