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 mattbsea, Today, 05:44 PM
    0 responses
    3 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    31 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    2 views
    0 likes
    Last Post tkaboris  
    Started by GussJ, 03-04-2020, 03:11 PM
    16 responses
    3,282 views
    0 likes
    Last Post Leafcutter  
    Started by WHICKED, Today, 12:45 PM
    2 responses
    20 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Working...
    X