Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

exposing values of Custom indicator in a strategy

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

    #16
    Originally posted by NinjaTrader_ChelseaB View Post
    Hello nothingbutprofits,

    Are there other public variables (possibly using the NinjaScriptProperty attribute) within the scope of the MACDCustom indicator class?

    Overloads are how you would call the indicator based on the public properties using the NinjaScriptProperty attribute.

    Below is a link to the help guide on NinjaScriptProperty Attribute.
    https://ninjatrader.com/support/help...yattribute.htm

    Like SMA(14), this requires a Period overload parameter (declared publicly within the SMA class and uses the NinjaScriptProperty attribute).
    https://ninjatrader.com/support/help...simple_sma.htm

    MACD(2,14,3), this requires a Fast, Slow, and Smooth overload parameters (also public using NinjaScriptProperty).
    https://ninjatrader.com/support/help...gence_macd.htm
    Your recommendation links help me on solving the problem. Your support and knowledge are awesome!

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    567 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    548 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    548 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X