CapitaineFlam88
Member
I get the following error:
SetDefaultColor should be called on a IBasePlot at 15:1
Cannot access dynamic value for initialization of 'setdefaultcolor'
SetDefaultColor should be called on a IBasePlot at 15:1
SetDefaultColor should be called on a IBasePlot at 15:1
Cannot access dynamic value for initialization of 'setdefaultcolor'
SetDefaultColor should be called on a IBasePlot at 15:1
Code:
plot OC = OpenCloseP2;
AssignBackgroundColor (if OC >= 5 then color.LIGHT_GREEN else Color.BLACK );
SetDefaultColor(if OC >= 5 then color.BLACK else Color.white);