Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using 3rd party Plots for Strategy Builder

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

    Using 3rd party Plots for Strategy Builder

    Hello, I did a lot of research but didn't find a good answer.

    I have a third party indicator that I would like to use in the strategy builder. The code is not accessible, but the data window shows a plot value for the indicator, so I should be able to use it for the strategy builder as well, right?

    I've already added the indicator to the strategy and added a function "enter long-position, if plot value xy is bigger than mysc numeric value " but compiling doesn't work. What can I do?​
    Last edited by jamesonjameson; 08-02-2023, 02:07 AM.

    #2
    Hello jamesonjameson,

    The plots Values series also require a public Series<double> object to make the plots appears in the Strategy Builder.

    Below is a link to a forum post that discusses.
    I'm trying to expose my variables to the strategy builder so everyone can have better use of the WaveTrend indicator (it has a lot of code). Explain this to me like I am 5 because this isnt the first time I've tried to figure it out and hit a wall. What is Series? I know its like an array that stores bars. Why not just call it


    A compile error would not be related to that.

    See the post below about opening the NinjaScript Editor and compiling to find compile errors.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi, thank you for the answer. I tried , but don´t get it. In another Post I saw the Sample Customer Render. That works, everytime I want to go long, there is a 1, when I want to go short, there is a -1. On the historical chart. Also compiling the strategy script works fine. But when I try it live with demo, there is a "n.a." shown on the live candle (histoeical candles are okay, just live), and opens positions like every 2 or 3 seconds. What can I do? Can you explain for my 8 years old? : D : D

      Comment


        #4
        Hello jamesonjameson,

        I'm not clear on the specific issue.

        Is the issue that there is no value set on the currently building last bar?

        Is the script running with Calculate.OnPriceChange or .OnEachTick so this updates before the bar closes?

        Do you have a condition that compares the indicator plot to Misc -> Numeric value set to 1 or -1?
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Today, 05:17 AM
        0 responses
        37 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        124 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        64 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        41 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