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 rtwave, 04-12-2024, 09:30 AM
    2 responses
    19 views
    0 likes
    Last Post rtwave
    by rtwave
     
    Started by tsantospinto, 04-12-2024, 07:04 PM
    5 responses
    67 views
    0 likes
    Last Post tsantospinto  
    Started by cre8able, Today, 03:20 PM
    0 responses
    6 views
    0 likes
    Last Post cre8able  
    Started by Fran888, 02-16-2024, 10:48 AM
    3 responses
    49 views
    0 likes
    Last Post Sam2515
    by Sam2515
     
    Started by martin70, 03-24-2023, 04:58 AM
    15 responses
    115 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X