MQL5 ReferenceStandard LibraryTrade ClassesCPositionInfoCheckState TimeTimeMscTimeUpdateTimeUpdateMscPositionTypeTypeDescriptionMagicIdentifierVolumePriceOpenStopLossTakeProfitPriceCurrentCommissionSwapProfitSymbolCommentInfoIntegerInfoDoubleInfoStringSelectSelectByIndexSelectByMagicSelectByTicketStoreStateCheckState CheckState Checks the current parameters against the saved parameters. bool CheckState() Return Value true - the position parameters have changed since the last call of the StoreState() method, otherwise - false. StoreState CDealInfo