Is RETURN with using STYLES & COLOURED parsing broken?

Forums ProRealTime English forum ProBuilder support Is RETURN with using STYLES & COLOURED parsing broken?

Viewing 2 posts - 1 through 2 (of 2 total)
  • #129572

    Hi,

    I split the command below for better readability (no clue why it’s invalid syntax in the first place to separate the statements via comma).

    There is only 1 line defined as DottedLine that’s the RSX but as you can see in the screenshot, the DottedLine is used for the hh (Higher Highs) line instead. In the settings panel of the indicator I see also that every second Line has no Style box associated. Changing the style in the settings box for the lines where the option is provided has no affect either.

    Another example:

    Which should plot a line based moving average over the volume which is displayed as a histogram. But two histograms are plot instead.

     

     

     

     

     

    #129596

    Is this on v11? If so there were some graphics bugs with the use of STYLE that are supposed to have been fixed within the last couple of days. Depending on how you get your PRT platform will depend how soon the roll out of the update is made available to you.

    The easiest thing is to not allocate any style or colour in your code and then change the settings in the indicator configuration window and then save them there.

    There can be only one RETURN in any code and all values that you want to return must follow it on the same line separated by commas. Each line of code is considered separately otherwise how would the code know what is or is not to be included from any following lines. RETURN might always be the last line in a code but having it operate in a different way just to make things look prettier seems a bit OTT.

    I often do as you have done and separate it onto different lines if there are a lot of returned values and then once I have edited everything exactly how I want it I just delete all the line breaks.

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

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