Forum

CopyBuffer takes too long when there isn't enough bars to calculate Indicator for high periods

Hi, I am working on TEMA indicator values of different periods (500,1000, 2000 etc) for different time frames. When I add these indicators on the graph of H1 timeframe, I can see 500 and 1000. But since there is not enough number of bars for 2000, it can't be calculated which is normal. In my EA, I

Is there any way to read the template name of the chart?

Hi, When I attach my EA, I need to see what template is attached to the chart so that EA can open other time period charts of that symbol with whatever template has been applied to the chart. We can apply a template with ChartApplyTemplate command. But I couldn't find a command like

OnChartEvent doesn't fire for another chart opened with ChartOpen

Hi, I am trying to receive CHARTEVENT_MOUSE_MOVE event for a chart that I open with ChartOpen : int OnInit () { //Everything is fine for the current chart, I receive the CHART_EVENT_MOUSE_MOVE events with the following line ChartSetInteger ( 0 , CHART_EVENT_MOUSE_MOVE , 0 , true ) //I open an