MQL5 ReferenceStandard LibraryIndicatorsBill Williams IndicatorsCiAOMain CreateMainType Main Returns the buffer element by the specified index. double Main( int index // index ) Parameters index [in] Buffer element index. Return Value Buffer element of the specified index, or EMPTY_VALUE if there is no correct data. Create Type