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 <[email protected]> wrote:

From: william.schram <[email protected]>
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