Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Averaging in

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

    Averaging in

    Hi,
    I've searched the forum a bit to figure out how to do this. I'm trying to add to my position throughout the trade. For instance, if a trade is open, and price is greater than last bar close, add to the position. When I use the enter long function, it looks like it is selling my previous position. I've seen where it is recommended to do it in the ninjascript code, but what method would you use to add to a position that you are currently in.

    Thanks,
    Matt

    #2
    Just submit another EnterLong() order if you are long or an EnterShort() if you are short. You will need to make sure you have EntriesPerDirection set greater than 1 though.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by fx.practic, 10-15-2013, 12:53 AM
    5 responses
    5,403 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by Shai Samuel, 07-02-2022, 02:46 PM
    4 responses
    94 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by DJ888, Yesterday, 10:57 PM
    0 responses
    6 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by MacDad, 02-25-2024, 11:48 PM
    7 responses
    158 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Yesterday, 09:29 PM
    0 responses
    8 views
    0 likes
    Last Post Belfortbucks  
    Working...
    X