Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Same script two or three times?

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

    Same script two or three times?

    Hi,

    instead of coding to enter either 1, 2, or 3 futures contracts, couldn't I simply run the same script two or three times in parallel?

    What would like to do is to enter signal + 1 Tick at one scritp, signal + 2 Ticks, etc., but all on the same instrumen (ES). That would also allow me to just run the "+2" and "+3" ticks scripts if I expect a more volatile day, or the "+1" and "+2" script (or even two time the "+1" script)?

    Would this be working? Do I need to name the entries/positions differntly in each script?

    Thank you!

    #2
    Hi BillCh, no you can run a script for example multiple times with separate input values - you would just need unique names if you combine it in one strategy. See also this sample - http://www.ninjatrader-support2.com/...ead.php?t=3225
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Irukandji, Today, 09:34 AM
    0 responses
    1 view
    0 likes
    Last Post Irukandji  
    Started by TraderBCL, Today, 04:38 AM
    3 responses
    24 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by WeyldFalcon, 08-07-2020, 06:13 AM
    11 responses
    1,423 views
    0 likes
    Last Post jculp
    by jculp
     
    Started by RubenCazorla, Today, 09:07 AM
    0 responses
    4 views
    0 likes
    Last Post RubenCazorla  
    Started by BarzTrading, Today, 07:25 AM
    2 responses
    29 views
    1 like
    Last Post BarzTrading  
    Working...
    X