Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to diversify entries and outputs through code

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

    How to diversify entries and outputs through code

    How to diversify entries and outputs through code depending on the day and time?

    example.

    if today is thursday the system should enter at 9:00 and exit at 21:00
    but if it is another day of the week the system should enter at 9:30, exit at 12:00 re enter at 15:00 and exit at 21:00

    #2
    Hi Radagast,

    Thank you for posting.

    You can create a time filter that can filter out when you would want the trades to take place.

    Below is a reference sample on a time filter with NinjaScript
    http://www.ninjatrader.com/support/f...ead.php?t=3226

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    5 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    12 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
    13 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,982 views
    3 likes
    Last Post jhudas88  
    Working...
    X