Bangkok
Posts: 5 since Jan 2016
Thanks Given: 0
Thanks Received: 1
|
def Condition1 = (Indicator1 > value1) and (Indicator2 > value2) and (Indicator3 > value3);
def Condition2 = (Indicator1 < value1) and (Indicator2 < value2) and (Indicator3 < value3);
AssignPriceColor
(if Condition1 then Color.green
else if Condition2 then Color.red
else Color.CURRENT);
you can use "CreateColor(0,222,0)" instead of "Color.green" to create more specific color in RGB
|