Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help. Plot variable in Strategy code on chart

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

    Help. Plot variable in Strategy code on chart

    HI

    My strategy is still in the early phases but I ran into a snag.

    My strategy looks at multiple signals and assigns each a buy/sell percentage. Then calculates an overall percentage. This is done using variables in the program. I can assign that value then to a user defined variable if needed.

    I want to plot that variable over my chart. Or it's own chart. Or if it just shows the value in the databox that'll be fine too.

    Thanks

    #2
    Hello SmokyTradeR,

    You can use an indicator to plot values from a strategy if the strategy is added to a chart.

    Below is a link to a reference sample that demonstrates this.
    When running a strategy on a chart you may find the need to plot values onto a chart. If these values are internal strategy calculations that are difficult to migrate to an indicator, you can use the following technique to achieve a plot. NinjaTrader 8 With NinjaTrader 8 we introduced strategy plots which provide the ability
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by realblubb, Today, 09:28 AM
    0 responses
    2 views
    0 likes
    Last Post realblubb  
    Started by AaronKoRn, Yesterday, 09:49 PM
    1 response
    18 views
    0 likes
    Last Post Rikazkhan007  
    Started by ageeholdings, Today, 07:43 AM
    0 responses
    12 views
    0 likes
    Last Post ageeholdings  
    Started by pibrew, Today, 06:37 AM
    0 responses
    4 views
    0 likes
    Last Post pibrew
    by pibrew
     
    Started by rbeckmann05, Yesterday, 06:48 PM
    1 response
    14 views
    0 likes
    Last Post bltdavid  
    Working...
    X