• 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

Select entry logic option for strategy

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

  • NinjaTrader_PaulH
    replied
    Hello brucelevy,

    Thanks for your post.

    As member koganam has offered, using an enum in the strategy properties would allow you to select which strategy code to use and then in your code you can use branching statements based on the enum selected.

    Here is a link to a reference indicator that demonstrates using an enum: http://ninjatrader.com/support/forum...ead.php?t=3420

    Leave a comment:


  • koganam
    replied
    Originally posted by brucelevy View Post
    Hi, I would like to know how I can select an entry logic condition set in the strategy settings drop down menu.

    I plan on separating a breakout and a mean reversion entry logic based on a drop down box in the strategy settings.
    Use an enum variable.

    Leave a comment:


  • brucelevy
    started a topic Select entry logic option for strategy

    Select entry logic option for strategy

    Hi, I would like to know how I can select an entry logic condition set in the strategy settings drop down menu.

    I plan on separating a breakout and a mean reversion entry logic based on a drop down box in the strategy settings.

Latest Posts

Collapse

Topics Statistics Last Post
Started by patpat, Today, 04:25 PM
2 responses
5 views
0 likes
Last Post bboyle1234  
Started by bboyle1234, Today, 06:25 PM
0 responses
3 views
0 likes
Last Post bboyle1234  
Started by saturntd, Today, 06:14 PM
0 responses
2 views
0 likes
Last Post saturntd  
Started by derslyr1, Today, 04:48 PM
0 responses
2 views
0 likes
Last Post derslyr1  
Started by Mykro, Today, 02:01 PM
3 responses
15 views
0 likes
Last Post NinjaTrader_Melissa  
Working...
X