Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 Taddypole, 04-26-2024, 02:47 PM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Eduardo  
    Started by futtrader, 04-21-2024, 01:50 AM
    6 responses
    58 views
    0 likes
    Last Post futtrader  
    Started by sgordet, Today, 11:48 AM
    0 responses
    4 views
    0 likes
    Last Post sgordet
    by sgordet
     
    Started by Trader146, Today, 11:41 AM
    0 responses
    5 views
    0 likes
    Last Post Trader146  
    Started by jpapa, 04-23-2024, 07:22 AM
    2 responses
    19 views
    0 likes
    Last Post rene69851  
    Working...
    X