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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    45 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    14 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    20 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    22 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X