Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot inside Strategy

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

    Plot inside Strategy

    hello how can I apply this on Strategy, not indicator (in NT7?)

    public override void Plot(Graphics graphics, Rectangle bounds, double min, double max) Plot is not known inside strategy
    Thanks lot for help

    #2
    Hello kujista,

    Unfortunately, its not possible to do custom rendering from a strategy. (The Plot method is not part of the Strategy base class)

    Instead, its necessary to plot with an indicator and then add that to a chart with the strategy.

    Below is a public link to a reference sample in the help guide that demonstrates.
    [url]https://ninjatrader.com/support/helpGuides/nt7/plotting_from_within_a_ninjasc.htm[/url]
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DJ888, Today, 10:57 PM
    0 responses
    6 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by MacDad, 02-25-2024, 11:48 PM
    7 responses
    158 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Today, 09:29 PM
    0 responses
    7 views
    0 likes
    Last Post Belfortbucks  
    Started by zstheorist, Today, 07:52 PM
    0 responses
    7 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    151 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Working...
    X