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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    152 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    87 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    131 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    127 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    106 views
    0 likes
    Last Post CarlTrading  
    Working...
    X