ChartSetInteger question

Post Reply
User avatar
ThaiGuy
Trader
Posts: 17
Joined: Mon Apr 29, 2013 6:33 am

ChartSetInteger question

Post by ThaiGuy »

Hey All!

I have the following:

ChartSetInteger(0,CHART_SHOW_GRID,false);
ChartSetInteger(0,CHART_SHIFT=true);
ChartGetInteger(0,CHART_AUTOSCROLL=true);

ChartSetInteger(0,CHART_COLOR_BACKGROUND,C'28,38,65');
ChartSetInteger(0,CHART_COLOR_CHART_LINE,Lime);
ChartSetInteger(0,CHART_COLOR_CHART_UP,C'62,62,62');
ChartSetInteger(0,CHART_COLOR_CHART_DOWN,C'30,90,255');
ChartSetInteger(0,CHART_COLOR_CANDLE_BULL,C'62,62,62');
ChartSetInteger(0,CHART_COLOR_CANDLE_BEAR,C'30,90,255');

The thing is that everything works perfect, except for line 2 and 3, I get a compile error.
I figured it worked for the grid as well, shouldn't CHART_SHIFT and AUTOSCROLL work as well?

Reason I have this implemented all, is that I can set everything the way I want it to look like OOTB :-)

Thanks all for kind help :)

TG.
User avatar
ThaiGuy
Trader
Posts: 17
Joined: Mon Apr 29, 2013 6:33 am

ChartSetInteger question

Post by ThaiGuy »

OMG, i found it out already :)
Post Reply

Return to “Coders Hangout”