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.
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.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue