[LegacyColorValue = true];

Questions about MultiCharts and user contributed studies.
User avatar
Posts: 375
Joined: 12 Jul 2006
Location: Los Altos, California, USA
Has thanked: 31 times
Been thanked: 13 times

[LegacyColorValue = true];

Postby RobotMan » 17 Sep 2007

[LegacyColorValue = true];

What is the reason to have this at the top of every imported indicator?
I tried looking at every option in PLE and could not find a switch. Is there a way to *not* have it entered as first line when importing .els or .pla?

Sometimes I forget it is there and I try and use RGB(xxx,yyy,zzz) and it gets frustrating until I remember and delete the line.

Just wondering,
Bob Perry
Los Altos, CA

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 18 Sep 2007

This line is added to ensure backward compatibility for those scripts that were developed when RGB format was not supported. If you import one of such scripts and there is no [LegacyColorValue = true] line, the colours could not be adequately plotted.

If you do not need this line, you can always delete it.

Return to “MultiCharts”