img

Object Chart - chart settings

Chart Properties

Chart object provides access to the chart settings of the chart with the attached script.

  • string Symbol - chart symbol
  • int Interval - chart interval
  • int Digits - symbol accuracy
  • double Point - pip value
  • int Bars - number of bars for the current chart
Example:
 int Initialize() {return(0);} int Run() { System.Print("Symbol = "+Chart.Symbol); System.Print("Interval = "+Chart.Interval); System.Print("Digits = "+Chart.Digits); System.Print("Point = "+Chart.Point); return(0); } int DeInitialize(){return(0);}