• 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 GibbsB613, 08-21-2018, 08:37 PM
    3 responses
    211 views
    0 likes
    Last Post elliot5
    by elliot5
     
    Started by mcosta72, Yesterday, 06:38 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by quinton77, Today, 04:36 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by mr_trader, Yesterday, 03:52 PM
    3 responses
    20 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by b16_aln, Today, 12:43 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Working...
    X