Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

how to make a signal valid for 4 bars?

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

    how to make a signal valid for 4 bars?

    Hi.

    I have a cross over trading system on tick chart. I need the limit buy signal stay valid for 4 bars. But it canceled the limit order after the bar[0] is closed.

    Is there any way to work around it?

    Thank you!

    #2
    Take a look at the example in the link below... of how to use EnterLongLimit() with LiveUntilCancel optional parameter, a bar counter variable, and CancelOrder(). Read the caution note too.


    Last edited by borland; 05-16-2012, 08:34 PM.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by The_Sec, Yesterday, 03:37 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by vecnopus, Today, 06:15 AM
    0 responses
    1 view
    0 likes
    Last Post vecnopus  
    Started by Aviram Y, Today, 05:29 AM
    0 responses
    5 views
    0 likes
    Last Post Aviram Y  
    Started by quantismo, 04-17-2024, 05:13 PM
    3 responses
    27 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by ScottWalsh, 04-16-2024, 04:29 PM
    7 responses
    36 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X