How do I permit the operation of my EasyLanguage document for a specified data compression (bar interval)?
The effectiveness of an EasyLanguage document can depend on the data compression being used by the chart to which it is applied. BarType and BarInterval are EasyLanguage functions available for this very purpose. The following restricts processing of the EasyLanguage document to a daily chart. Example If BarType = 2 then begin Plot1(Close,”Close”); End; The following restricts processing of the EasyLanguage document to a 5-minute chart.