MQL5 ReferenceStandard LibraryStrategy ModulesBase classes for Expert AdvisorsCExpertSignalMagic BasePriceUsedSeriesWeightPatternsUsageGeneralIgnoreInvertThresholdOpenThresholdClosePriceLevelStopLevelTakeLevelExpirationMagicValidationSettingsInitIndicatorsAddFilterCheckOpenLongCheckOpenShortOpenLongParamsOpenShortParamsCheckCloseLongCheckCloseShortCloseLongParamsCloseShortParamsCheckReverseLongCheckReverseShortCheckTrailingOrderLongCheckTrailingOrderShortLongConditionShortConditionDirection Magic Sets the value of "Magic" parameter. void Magic( int value // value ) Parameters value [in] New value of "Magic" (Expert Advisor ID). Return Value None. Expiration ValidationSettings