Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Calling public Variables

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

    Calling public Variables

    How does one call public Variables into a strategy or another indicator?
    // Useful public properties
    public int dir;

    #2
    Hello gg80108,

    Please see the reference sample below which discuss how to do this:

    Exposing Indicator values that are not plots

    SampleBoolSeries has a variable called ExposedVariable.

    This variable is accessed in SampleBoolSeriesStrategy.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by fredrikn, 05-08-2019, 04:01 AM
    57 responses
    4,391 views
    2 likes
    Last Post Momentum  
    Started by Blairski, Yesterday, 09:19 AM
    2 responses
    11 views
    0 likes
    Last Post Blairski  
    Started by tonynt, Today, 09:33 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by minotti1, Today, 08:31 AM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by SmartArtsStudio, 05-15-2021, 10:46 AM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X