Download MetaTrader 5
To add comments, please log in or register
Make profit on MQL5 services. It's easy!
Matthias Schneider
1637
Matthias Schneider 2014.03.06 16:49 

Hi, I would like to change the min/max price of a chart to see the trade level even after breakouts without changing the periodicity. But if I do that with the code sample below the tick volume disappears. If I do the same manually with the mouse on the vertical price scale it works. Is there any other or better way than

 

ChartSetInteger(0,CHART_SCALEFIX,1);

ChartSetDouble(0,CHART_FIXED_MIN,minPrice);
ChartSetDouble(0,CHART_FIXED_MAX,maxPrice);
   
   
ChartSetInteger(0,CHART_SHOW_VOLUMES,CHART_VOLUME_TICK);  
or
ChartRedraw(0);
doesn't help
/
To add comments, please log in or register