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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    164 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    317 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    245 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    350 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X