array variables availability in ProRealTime – examples and discussions

Forums ProRealTime English forum ProBuilder support array variables availability in ProRealTime – examples and discussions

Viewing 15 posts - 46 through 60 (of 208 total)
  • #123894

    They are dynamic because you can dynamically create new variable just by adding a new index. What you describe is something that you’ll have to code by yourself, if you want it as an indicator.

    If I understand your question correctly, for example, you want to know what was the best stochastic period to get the most of an order opened when it crosses the level 20?

     

    #123906

    No, I meant the possible values for each variable, same as you would enter them in the optimization box. So that by holding them in an array it self-optimizes. Is that poss? Or am I getting it all wrong?

    #123942

    In order to self optimize something, you have to program the way it should sort the result and ‘optimize’ it..

    In this example, if I want to store the value of a RSI for each period, as you would do it with the optimizer:

    Then you can use any value of the RSI stored in each column of the array (index) to do something, such as optimize your strategy. What period is better for each market condition, what value of the RSI is better to use in conjunction with a stochastic to trigger something, etc… There is no limit in what you can explore.

    1 user thanked author for this post.
    #123944

    It sounds fascinating, I’ll have to study that chapter in the manual when v11 comes out.

    #123960

    Another example of the use of arrays can be found here:

    https://www.prorealcode.com/topic/distribution-of-returns-using-arrays-in-prtv11/

    1 user thanked author for this post.
    #124250

    Another example of the benefits of arrays can be found here:

    https://www.prorealcode.com/prorealtime-indicators/every-fractal-trend-lines/

    #124733

    Another example of the use of arrays in a code can be found here:

    https://www.prorealcode.com/topic/fractals-average-using-arrays/

    #125076

    03/24/2020 at 5:11 PM#123172REPLY | QUOTE | REPORT Yes, that would be possible. You just have to deal with the probability calculation.

     

    Hi Nicolas,

    Should I open a new thread in the forum for this?

    Thanks,

    Fabian

     

    #125084

    Yes, why not! Sorry but we are all very busy actually.. will look asap.

    #125104

    Yes, why not! Sorry but we are all very busy actually.. will look asap.

    Yes, I know, that’s why I waited a few days.
    I’ll create a thread and explain in more detail with an example why I think it could add great value to the community.

    #125181

    miss this release! awesome!

    #125221

    when you have an array, how do you do to see what is stored in it, in order to debug???

    #125234

    Make a loop through all the arrays and plot the values with DRAWTEXT.

    #125556

    Another example with this indicator to plot the Relative intraday Volume: https://www.prorealcode.com/topic/relative-volume-rvol/#post-125548

    #125677
    MPL

    Hello everyone, hello Nicolas,

    Do you know if it is possible to get an array via a CALL function calling the indicator that builds this array?
    thank you so much,

    Mikaël

Viewing 15 posts - 46 through 60 (of 208 total)
Similar topics:

Create your free account now and post your request to benefit from the help of the community
Register or Login