Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Facebook üzerinde bulun!
Fan sayfamıza katılın
Komut dosyasını ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Komut dosyasını beğendiniz mi? MetaTrader 5 terminalinde deneyin
Uzman Danışmanlar

GlobalVariable - MetaTrader 5 için Uzman Danışman

Görüntülemeler:
2839
Derecelendirme:
(21)
Yayınlandı:
2015.11.02 15:29
Güncellendi:
2016.11.22 07:32
MQL5 Freelance Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

This advisor demonstrates an example of global variables usage. The task of the advisor: store the calculation result in a global variable and get the global variable value on new initialization.

The global variable receives its compound name from text and magic number. A typical global variable name example: "main_id_1010458".

The idea of the advisor: binding the name of a global variable to magic number. The advisor algorithm is the following:

  • Start of the advisor: if the variable does not exist, it is created and assigned a calculated value; if the variable exists, its value is retrieved and stored in the variable.
  • Deinitialization adviser: if the variable does not exist, it is created and assigned a calculated value; if the variable exists, it is assigned a new calculated value.

MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/13871

ColorZerolagJCCX ColorZerolagJCCX

This variant of JCCX oscillator is calculated based on five JCCX indicators.

JS-Stoh-BB-RSI_HTF JS-Stoh-BB-RSI_HTF

The JS-Stoh-BB-RSI indicator with the timeframe selection option available in the input parameters.

ColorZerolagJCCX_HTF ColorZerolagJCCX_HTF

The ColorZerolagJCCX indicator with the timeframe selection option available in the input parameters.

Exp_ColorZerolagJCCX Exp_ColorZerolagJCCX

The Exp_ColorZerolagJCCX Expert Advisor enters the market when the ColorZerolagJCCX indicator cloud changes its color.