• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 marcus2300, Today, 04:20 AM
    0 responses
    2 views
    0 likes
    Last Post marcus2300  
    Started by teafortwo, Today, 12:51 AM
    0 responses
    9 views
    0 likes
    Last Post teafortwo  
    Started by wevermord, Today, 12:17 AM
    0 responses
    1 view
    0 likes
    Last Post wevermord  
    Started by johnnymustard, Yesterday, 11:45 PM
    0 responses
    21 views
    0 likes
    Last Post johnnymustard  
    Started by Mttzern, 02-22-2020, 10:42 AM
    1 response
    27 views
    0 likes
    Last Post NinjaTrader_Marco  
    Working...
    X