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 usazencort, Today, 01:16 AM
    0 responses
    1 view
    0 likes
    Last Post usazencort  
    Started by kaywai, 09-01-2023, 08:44 PM
    5 responses
    602 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by xiinteractive, 04-09-2024, 08:08 AM
    6 responses
    22 views
    0 likes
    Last Post xiinteractive  
    Started by Pattontje, Yesterday, 02:10 PM
    2 responses
    20 views
    0 likes
    Last Post Pattontje  
    Started by flybuzz, 04-21-2024, 04:07 PM
    17 responses
    230 views
    0 likes
    Last Post TradingLoss  
    Working...
    X