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 argusthome, Yesterday, 10:06 AM
    0 responses
    20 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    18 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    14 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    9 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    38 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X