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 Belfortbucks, Today, 09:29 PM
    0 responses
    6 views
    0 likes
    Last Post Belfortbucks  
    Started by zstheorist, Today, 07:52 PM
    0 responses
    7 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    151 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    6 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Working...
    X