Thanks to those who have commented, I also have code to plot the candlesticks 
(shown below), but still now way to hard code the color of the grid and axes. 
It is the commented lines, the first and third from the bottom of the Chart 
Formatting section, for which I require Amibroker commands.

Quoted code:
"
//====================================================================
// Chart Candlesticks & Trades
//====================================================================

Plot( Close, "Candle Close", colorWhite, styleCandle, 0, 0, 0, 0 ) ;

//====================================================================
// Chart Formatting
//====================================================================

GraphXSpace = 5; // Adds % extra space above and below the graph line.
SetChartBkColor(colorGrey40);
SetChartOptions( 2, chartShowDates );
SetChartOptions( 2, chartLogarithmic );
//SetChartAxes(colorWhite); // Don't know how to do this???
//GridColor = ParamColor( "GridColor", colorLightGrey );
//SetChartGrid(GridColor); // Don't know how to do this???
"

-WILLIAM

--- In [email protected], afzal hossain <cube_...@...> wrote:
>
> Try this if works for you
> 
> PlotOHLC(Open, High, Low, Close,     "BIdx = " + BarIndex() +       "\n" + 
> "O = " + O + "\n"+"H = "+ H + "\n"+"L  = " + L         + "\n"+"C ",    
> IIf(Close>Open, colorBrightGreen,colorRed), styleCandle); 
> 
> RegardsAfzal
> --- On Tue, 8/3/10, william.schram <williamsch...@...> wrote:
> 
> From: william.schram <williamsch...@...>
> Subject: [amibroker] Commands to create a white on black chart: 
> SetChartOptions for Axes/Grid Color
> To: [email protected]
> Date: Tuesday, August 3, 2010, 12:50 AM
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
>  
> 
> 
> 
>   
> 
> 
>     
>       
>       
>       I found code on the knowledge base for a chart that normally has a 
> colored background (because the plots are white). I want to know if there are 
> commands like: "SetChartOptions( 2, chartShowDates );" for setting the color 
> of the Grid and Axes of a chart, without altering my default white background 
> with black text?
> 
> 
> 
> I am aware that the work around would be alter the code from the knowledge 
> base, but I'd rather learn something about editing the chart environment.
> 
> 
> 
> Below is the code I use presently to setup the chart formatting:
> 
> 
> 
> //====================================================================
> 
> // Chart Formatting
> 
> //====================================================================
> 
> GraphXSpace = 5; // Adds % extra space above and below the graph line.
> 
> SetChartBkColor( colorBlack );
> 
> SetChartOptions( 2, chartShowDates );
> 
> SetChartOptions( 2, chartLogarithmic );
> 
> //SetChartAxes(colorWhite); // Don't know how to do this!!!
> 
> //GridColor = ParamColor( "GridColor", colorLightGrey );
> 
> //SetChartGrid(GridColor); // Don't know how to do this!!!
> 
> 
> 
> Are the comparable functions to set the Chart Axes and/or grid color?
> 
> 
> 
> Any help would be appreciated,
> 
> -WILLIAM
>


Reply via email to