MQL5 ReferenceStandard LibraryIndicatorsTrend IndicatorsCiFrAMAMain MaPeriodIndShiftAppliedCreateMainType 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 if successful, or EMPTY_VALUE if there is no correct data. Create Type