Thank you for your reply and information, but when I tried this indictor and loaded my customer indicators, it showed me an error as in attached file, but these indicators works well with instruments in TS2 such as EUD/USD, Copper, SPX500, HKG33, Usoil, etd.
The problem about the error of custom indictor has been solved. Now I meet a new problem. when I import stock data from yahoo, the chart showes us the period which actual has not data because it is a holiday such as Thanksgiving, national day, labour day, etc. Please check the attached chart, the yellow lines indicated the holidays.
Could you please modify the indicator which import stock data from yahoo and make it delet the holids like TS delets weekends.
Oh,,Yahoo does not provide the 15min or 1hour data. But google provides.I ever tried to modify your program by changing the web site from Yahoo to google, but it did not work. could you please optimize your program so data from Google can be import to TS2?