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 Haiasi, 04-25-2024, 06:53 PM
    2 responses
    17 views
    0 likes
    Last Post Massinisa  
    Started by Creamers, Today, 05:32 AM
    0 responses
    5 views
    0 likes
    Last Post Creamers  
    Started by Segwin, 05-07-2018, 02:15 PM
    12 responses
    1,786 views
    0 likes
    Last Post Leafcutter  
    Started by poplagelu, Today, 05:00 AM
    0 responses
    3 views
    0 likes
    Last Post poplagelu  
    Started by fx.practic, 10-15-2013, 12:53 AM
    5 responses
    5,408 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Working...
    X