Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaScript - Adding 3rd Party indicator ninjascript code

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

    NinjaScript - Adding 3rd Party indicator ninjascript code

    Greetings traders and programmers, I downloaded for nt8 ecosystem( Fair Value Gap (ICT) v0.0.3.0) it will be attached.

    Im not really experienced programming by myself code, im a trader, but i have programmed using StrategyBuilder. My Current issue is im trying to develop a strategy which uses the indicator i mentioned above and im having a really hard time figuring out by myself how to add it to the code strategy as it is not available as an option in StrategyBuilder Indicators.

    If someone can help showing me how to add it to code it would be really helpful!

    Also please let me know why indicator isnt accesible through nt8 strategy builder and how could this be fixed or if it is even programmable on a ninjascript strategy.

    Thanks!
    Attached Files
    Last edited by joanvanbeek9; 07-23-2024, 07:01 PM.

    #2
    Hello joanvanbeek9,

    Thank you for your post.

    Indicators will only be accessible in the Strategy Builder if the indicator contains a plot and a value is assigned to that plot. The Strategy Builder would then be able to access that plot's value in the Conditions and Actions screen.

    The AddPlot() method can be used to add a plot to the script. Then, you could assign a value to that plot by calling Value[0] = 'x', where x is the value you are assigning.

    See this help guide page for more information about AddPlot() and sample code: https://ninjatrader.com/support/help...t8/addplot.htm

    Please let me know if I may assist further.​

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    51 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    128 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X