Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninjatrader equivalent of MT4 scripts

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

    Ninjatrader equivalent of MT4 scripts

    Hi Folks

    I'm just starting to use Ninjatrader, having a lot of experience with MT4 previously. I have written a lot of MQL code, and in particular I have a script which I double click, and it places a buy stop order on the high of the previous bar. If price rises, I get taken in, if it falls I'm not in a bad trade

    In MT4 this was relatively easy to code a script. Is there something similar in Ninjascript? I was wondering if its possible to add buttons to the chartrader, with my ninjascript code behind it to do this?

    I'm really just looking for a pointer in the right direction, because I can see running strategies but I don't think thats what I'm looking for - its more of a one off script to save me manually placing a buy limit order at the right place on the chart.

    Many thanks.

    #2
    Hello Steve, welcome to our forums here - this would be not natively supported in NinjaScript, but possible to add in via C# coding, so you can add a button in your strategy that could enable the needed order submission for you - some great starting ideas can be found here - http://www.ninjatrader.com/support/f...ad.php?t=37910

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    648 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    572 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    574 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X