DocumentationMQL5 ReferenceStandard LibraryTrade ClassesCPositionInfoSelectByIndexSelectByIndexSelectByIndexSelects the position by index for further access to its properties.bool SelectByIndex( int index // position index );Return Value true – success, false – unable to select position.Last updated on 2026-07-24SelectSelectByMagic