Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple 'Profit in Ticks Selection' in Strategy Builder

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

    Multiple 'Profit in Ticks Selection' in Strategy Builder

    Hello,

    I have built a strategy that allows me to pick certain times my strategy is allowed to place trades, and I am wondering if there is a way to allow two options involving the amount of ticks in profit as a feature.

    To further explain this, I would like to be able to either choose a 75 tick profit or a 130 tick profit when I am going to run the strategy. Rather than have two different strategies to choose this, I would like it to be inside ONE strategy.

    Just as I am able to select what 'Time' my strategy can place trades, I'd like to select which 'Profit in Ticks' as well.
    84 miles

    Thank you
    Last edited by kuttu; 08-26-2020, 01:21 PM.

    #2
    Hello kuttu,

    Thanks for your post.

    Yes, you can create a "User Input" that will add a parameter field such that when you apply the strategy you can change the value at that time.

    I would suggest creating the user input as an int type and set your "default" value to be 75. In the profit target, you would set the type to Ticks and then "set " the "value" field to be the user input. I've attached two screenshots, the first shows creating the User input, the 2nd shows using the user input in the profit target.

    Click image for larger version

Name:	kuttu-1.PNG
Views:	101
Size:	31.7 KB
ID:	1115244

    Click image for larger version

Name:	kuttu-2.PNG
Views:	90
Size:	32.7 KB
ID:	1115245
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by JTizz, Today, 03:32 PM
    1 response
    35 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by ebaydan777, Today, 02:41 PM
    1 response
    28 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by aligator, Today, 02:28 PM
    1 response
    27 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by daniel_weber8, Today, 01:21 PM
    1 response
    45 views
    0 likes
    Last Post NinjaTrader_ChristopherS  
    Started by jungsoohuh, Today, 12:07 PM
    1 response
    37 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Working...
    X