Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy TIME

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

    Strategy TIME

    Looking for TIME Start/Stop on Strategy. Currently not working.
    I entered in SET 5 TAB. Start 7am. Stop 8AM.
    My Entry and Exits Formulas are working under SET 1-4.
    Do I have to put Start Stop Strategy under each SET tab 1-4, with entry/exits.

    See attached pic

    Also want a simple exit from trade by number of ticks.
    If Strategy Long position, I want to exit after 3 tick profit.
    Can't figure out at Custom Builder what to choose. (Left & Right Column)
    Attached Files

    #2
    Hello,

    Thank you for the image that helps.

    You would need to place the time check you have on the left image in each set that you would like the time check to apply to.

    In the actual code the wizard makes, each set is evaluated independently so if you have a time check in set 5, set 1 would be outside of that time check because it is a different set.

    For the 3 ticks of profit exit, this could be accomplished by using a UserVariable.

    In your set 1 in the "Do the following" you could add Misc -> Set user defined Variable. choose Variable0
    Click in the "Value" row and then click the button on the right (...)
    Click Price data -> Close
    In the Offset enter 3 for 3 ticks.

    This would set the variable0 to the current price plus 3 ticks from the point of entry.

    In a different set, you could do a condition if the Close crosses above UserVariable0 then exit or if the Close is greater than the UserVariable0 etc.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DanielTynera, Today, 01:14 AM
    0 responses
    2 views
    0 likes
    Last Post DanielTynera  
    Started by yertle, 04-18-2024, 08:38 AM
    9 responses
    40 views
    0 likes
    Last Post yertle
    by yertle
     
    Started by techgetgame, Yesterday, 11:42 PM
    0 responses
    12 views
    0 likes
    Last Post techgetgame  
    Started by sephichapdson, Yesterday, 11:36 PM
    0 responses
    2 views
    0 likes
    Last Post sephichapdson  
    Started by bortz, 11-06-2023, 08:04 AM
    47 responses
    1,615 views
    0 likes
    Last Post aligator  
    Working...
    X