Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Exposed Variable

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

    Exposed Variable

    Normally I write code directly without using the wizard so I've never run into this before. I wrote an indicator that has exposed variables. Now I am using the strategy wizard and want to be able to use those exposed variables. However, they don't show up anywhere in the condition builder. These exposed variables are not parameters and that's all I see available in the condition builder. If I were writing code directly without using the wizard, the call looks like this "deRangeStudy(25,70000,0).DailyRange[0]" and works just fine. Just need to see it in the wizard.

    Please set me on the path to enlightenment.

    Mike

    #2
    Hi Mike, is your value exposed as per this sample's recommendations?



    Have you tried deleting your NS wrappers and then recompiling the script and then rechecking if you can access the value in the wizard?

    Thanks,

    Comment


      #3
      yes that's reference is the way I exposed the variables. I removed the NS wrappers and recompiled but still no exposed variables. I wonder where these exposed variables are supposed to appear in the strategy wizard. I compiled the SampleBoolSeries and those exposed values don't show up in the strategy wizard either that I can find. So, maybe I'm just looking in the wrong place.

      Comment


        #4
        Mike, I saw some unexpected behavior here on my end as well - will look into it.

        Comment


          #5
          How's it going on this challenge?

          Comment


            #6
            Mike, sorry for my late update: please try using an exposed DataSeries for your value, it should then be listed under Plots in the wizard's condition builder and be accessible.

            Comment


              #7
              I really dont' want to use a dataseries because the underlying object is an arraylist. A dataseries has a value for each bar and makes it much harder to compare the valid values. Any other way to do this?

              Comment


                #8
                Then unfortunately not through the wizard for the final strategy code - perhaps you can create the core code in the wizard and then unlock it to add the reference to your array value for the conditions?

                Comment


                  #9
                  shucks...yeah i'm trying to create the indicators for use by someone else so they can do their own analysis using strategy analyzer. i'll figure out a way around this. thanks

                  Comment

                  Latest Posts

                  Collapse

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