stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

ChartSetInteger question
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3526
Page 1 of 1
Author:  ThaiGuy [ Tue Mar 25, 2014 8:31 am ]
Post subject:  ChartSetInteger question

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.
Author:  ThaiGuy [ Tue Mar 25, 2014 12:28 pm ]
Post subject:  ChartSetInteger question

OMG, i found it out already :)
All times are UTC Page 1 of 1