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 JGriff5646, Today, 10:02 PM
    0 responses
    1 view
    0 likes
    Last Post JGriff5646  
    Started by AdamDJ8, Today, 09:18 PM
    0 responses
    2 views
    0 likes
    Last Post AdamDJ8
    by AdamDJ8
     
    Started by knowmad, Today, 03:52 AM
    2 responses
    27 views
    0 likes
    Last Post knowmad
    by knowmad
     
    Started by ETFVoyageur, Today, 07:05 PM
    0 responses
    10 views
    0 likes
    Last Post ETFVoyageur  
    Started by Orion815, 05-02-2024, 08:39 AM
    2 responses
    18 views
    0 likes
    Last Post Orion815  
    Working...
    X