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 FishTrade, Today, 12:00 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by ptchpainkd, Today, 12:05 AM
    0 responses
    1 view
    0 likes
    Last Post ptchpainkd  
    Started by ptchpainkd, Today, 12:05 AM
    0 responses
    2 views
    0 likes
    Last Post ptchpainkd  
    Started by chingus, Yesterday, 10:36 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by i2w8am9ii2, Yesterday, 06:29 PM
    2 responses
    8 views
    0 likes
    Last Post i2w8am9ii2  
    Working...
    X