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 josh18955, 03-25-2023, 11:16 AM
    6 responses
    435 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    3 views
    0 likes
    Last Post FAQtrader  
    Started by rocketman7, Today, 09:41 AM
    5 responses
    18 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by frslvr, 04-11-2024, 07:26 AM
    9 responses
    127 views
    1 like
    Last Post caryc123  
    Started by selu72, Today, 02:01 PM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_Zachary  
    Working...
    X