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 Renejm, Today, 06:17 AM
    0 responses
    3 views
    0 likes
    Last Post Renejm
    by Renejm
     
    Started by kazisl, Yesterday, 06:41 PM
    2 responses
    10 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by impactX, 05-04-2021, 01:07 AM
    2 responses
    11 views
    0 likes
    Last Post NinjaTrader_Melissa  
    Started by op1031, Yesterday, 05:51 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by aaadetos, 05-04-2021, 09:28 AM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_Heath  
    Working...
    X