Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Telegram ü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:
4751
Derecelendirme:
(42)
Yayınlandı:
2013.01.25 15:25
Güncellendi:
2016.11.22 07:32
bts.mq5 (8.39 KB) görüntüle
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

The script has two functions:

  • bsearch() - a binary search
  • tsearch() - a ternary search

Comparing the speed of two types of search is performed.

Test is performed 30 times on different arrays, the alert displays the result of each test and at the end the total time for each function.

A ternary search is almost one and a half faster than a binary.


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

Normalized Volume Normalized Volume

The market volume indicator whose main purpose is to filter false signals which occur in the side movement of the market.

HawaiianTsunamiSurfer, a statistical look at determinant price explosions HawaiianTsunamiSurfer, a statistical look at determinant price explosions

This system, based on Momentum indicator, assumes that very strong price movements are determinant. It consists in riding the appearing tsunamis, for instance, an important US Nonfarm Payrolls release. HawaiianTsunamiSurfer works well on AUDUSD, USDJPY and EURUSD.

Exp_ADX_Cross_Hull_Style Exp_ADX_Cross_Hull_Style

The Expert Advisor is realized on the ADX_Cross_Hull_Style and UltraXMA indicators.

One Cancel Other(s) One Cancel Other(s)

The script imitates the One Cancel Other function for orders. When one order is triggered, the others are deleted.