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
Görüntülemeler:
5913
Derecelendirme:
(12)
Yayınlandı:
2018.06.06 12:47
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

The Highest Lowest indicator searches for bars having High above the High of bars on the left and on the right, as well as bars having Low below the Low of bars on the left and on the right:

Highest Lowest

Fig. 1. Highest Lowest

The indicator is displayed using the DRAW_ARROW style.

Since the indicator analyzes the bar on the right, the value of the indicator may change in some cases. For example, the following bar can be redrawn:

Highest Lowest The bar can be redrawn

Fig. 2. Highest Lowest The bar can be redrawn

This bar will not be redrawn:

Highest Lowest The bar can not be redrawn

Fig. 3. Highest Lowest The bar can not be redrawn

If you want to see the default indexing of bars in indicators, uncomment code in OnCalculate:

/*
   int bar_0=0;
   int bar_rates_total_minus_1=rates_total-1;
   Comment("prev_calculated=",prev_calculated,"\n",
           "time[",bar_0,"]=",time[bar_0],"\n",
           "time[",bar_rates_total_minus_1,"]=",time[bar_rates_total_minus_1]);
*/

This code displays on the screen the value of the prev_calculated variable, the time of the bar with the 0 index and the time of the bar with the index of rates_total-1.

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

JP Oscillator JP Oscillator

A trend oscillator.

UI UI

Ulcer Index (UI) - the volatility decrease index.

EA Stop Order EA Stop Order

The Expert Advisor places a grid of pending Buy Stop and Sell Stop orders.

HLBands HLBands

An indicator of daily levels.