Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order Placing

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

    Order Placing

    Hi

    I want to know, if its possible

    1. to place an Limit Order based on a Moving Average automatically.

    2. Automatically cancel the existing limit order (every 2 min), and place a new limit order based on the 5 min Moving Average

    3. Can it place a STP Order, when placing the limit order as stated in pt 2

    Thanks
    Raj

    #2
    Hello Raj,
    Thanks for your note.

    1. Yes, you can place a limit order with SMA as the limit price. A basic sample code will be like:
    Code:
    this.EnterLongLimit(SMA(14)[0]);
    2. You dont have to cancel the order. You can simply modify the order by placing the order again.

    3. To assists you further may I know are you trying to place a bracket order, or are you simply trying to place a stop order (using the Set method).
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    157 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    91 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    143 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    130 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X