Noob question numbers down right hand column

Forums ProRealTime English forum ProBuilder support Noob question numbers down right hand column

  • This topic has 4 replies, 3 voices, and was last updated 3 days ago by avatarKovit.
Viewing 5 posts - 1 through 5 (of 5 total)
  • #239262

    Hi guys

    Apologies for the noob question but can someone explain the numbers down the right hand side of this screenshot please as I would like to add them into a strategy but they don’t appear when selected in the creation by programming selection for new strategies.

    Thanks in advance.

     

    #239268

    They are just the price levels, you can reference the using CLOSE.

     

    3 users thanked author for this post.
    #239271

    Generally, data points are plotted on a chart, as in this case using x and y coordinates.

    The right hand side shows the y-axis scale, usually the price in a price panel.

    The chart scale can be set to different types, Linear, logarithm, percentage and Base100.

    It appears that, from image, yours is set to Base100.

    Due to the font size of your chart, the label is bigger than the space available, so the end is cut off.

     

    To change type, right click on the scale, then choose ‘Scale Type’, select option.

    For myself, I only have used linear and have no further comments on the different types.

     

    However, in coding I think that all direct references to price are linear for the open, high, low close etc. If outputting values to the chart, the linear values from code are converted and drawn to the chosen scale.

    If inputting values from a non-linear type scale , then I think that’s a different story. If you wanted to use other scales, you would have to convert the non-linear value to the linear value.

    Easy solution, stay on linear or flick to linear to get the linear value.

     

    Regarding the conversions, since not used, I don’t have the formula’s maybe other’s can elaborate further if needed.

    3 users thanked author for this post.
    #239272

    Further to above, if entering a value for a relevant variable via the indicator configure window, the value entered, is has it was taken from the linear scale.
    If chart is on a non-linear scale and a value was entered for the variable from the non-linear scale, the value is again taken as linear and then converted to the chart scale.

    In this scenario, the required outcome is not correct because the value wasn’t the linear equivalent value entered.

    This is where conversion would come in with the entry value. Convert from non-linear value to linear, so it would get converted back to  non-linear scale from linear.

    I don’t think there away to determine which scale a chart is set to from inside code to automate the entry scale type.

    1 user thanked author for this post.
    #239313

    Many thanks Roberto and Druby. 🙂

Viewing 5 posts - 1 through 5 (of 5 total)

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