Forum

Using the library in script

Hi, Can we use the standard library in script? I'm trying to create rectangle using script and the library but nothing happen. Got no problem using ObjectCreate. #property strict #include <ChartObjects\ChartObjectsShapes.mqh> CChartObjectRectangle try;

Problem: chart won't scroll to the right after changing chart scale using custom indicator

Hi, I need some help. This problem is purely cosmetic and me being lazy (sorry). When I'm looking the chart, I want to zoomed in the H4, D1 and W1 timeframe. I can do that using ChartSetInteger ( ChartID() , CHART_SCALE , 5 ); When I'm at H4, I want it to show the line chart using ChartSetInteger (