Hi guys ,
I am trying to change the bar color on amibroker , but they always give me the syntax error 30 . could someone help me identify the mistake pls ?
Code 1 :
SetBarFillColor(IIf(O <C, colorSeaGreen,colorOrange));
Code 2:
SetBarFillColor(IIf(C>O,ParamColor("Candle UP Color", colorGreen),IIf(C<=O,ParamColor("Candle Down Color", colorRed),colorLightGrey)));
Code 3:
Plot(C,"nPrice",IIf(C>O,ParamColor("Wick UP Color", colorDarkGreen),IIf(C<=O,ParamColor("Wick Down Color", colorDarkRed),colorLightGrey)),64,0,0,0,0);
I seem to get the same error for all 3 of them . Thanks in advance
I am trying to change the bar color on amibroker , but they always give me the syntax error 30 . could someone help me identify the mistake pls ?
Code 1 :
SetBarFillColor(IIf(O <C, colorSeaGreen,colorOrange));
Code 2:
SetBarFillColor(IIf(C>O,ParamColor("Candle UP Color", colorGreen),IIf(C<=O,ParamColor("Candle Down Color", colorRed),colorLightGrey)));
Code 3:
Plot(C,"nPrice",IIf(C>O,ParamColor("Wick UP Color", colorDarkGreen),IIf(C<=O,ParamColor("Wick Down Color", colorDarkRed),colorLightGrey)),64,0,0,0,0);
I seem to get the same error for all 3 of them . Thanks in advance