Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 16:54:20 +0000



Post From: Default Colors

[2023-07-27 17:26:55]
WarriorTrader - Posts: 245
Hello,

FYI, the default colors for sc.Input[] no longer work. A random color is set when the study is first loaded. So the lines below have no effect. You have to manually change the color after the study is loaded. Is there a new way to set defaults for a sc.Input[] variable?




    BreakoutColor.Name = "Breakout Color";
    BreakoutColor.SetColor(0, 255, 0);

    BreakdownColor.Name = "Breakdown Color";
    BreakdownColor.SetColor(255, 0, 0);


--WT