Help for gride prices .....

To add comments, please log in or register
Marinov
33
Marinov  

Hi Friends ...

How to get prices for this axis

Thanks for your help



Nikolaos Pantzos
25954
Nikolaos Pantzos  
Marinov:

Hi Friends ...

How to get prices for this axis

Thanks for your help



Hello,

you can start with this chart operations...


double priceMin=ChartGetDouble(0,CHART_PRICE_MIN,0); 
double priceMax=ChartGetDouble(0,CHART_PRICE_MAX,0); 

Marinov
33
Marinov  

thanks for answering

what i want is in the picture bellow

gg


         double max_price  = ChartGetDouble(0,CHART_PRICE_MAX);
         double min_price  = ChartGetDouble(0,CHART_PRICE_MIN);
         long chart_height = ChartGetInteger(0,CHART_HEIGHT_IN_PIXELS);      
         SetHlines("Max",0 ,max_price, 1 ,0 , clrRed) ;
         SetHlines("Min",0 ,min_price, 1 ,0 , clrRed) ;
To add comments, please log in or register