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 burtoninlondon, Today, 12:38 AM
    0 responses
    10 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    14 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    14 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,983 views
    3 likes
    Last Post jhudas88  
    Working...
    X