Alım-satım robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Telegram üzerinde bulun!
Fan sayfamıza katılın
Kodu ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Kodu beğendiniz mi? MetaTrader 5 terminalinde deneyin
Göstergeler

SMA(no loop) - MetaTrader 5 için gösterge

Navdeep Singh
Navdeep Singh
The momentum of money is always more potent than the gravity of logic
Free or paid, All tools are coded with intention to help traders
My tools:-
Görüntülemeler:
6565
Derecelendirme:
(29)
Yayınlandı:
Güncellendi:
MQL5 Freelance Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

Simple moving average is calculated by adding prices for last n periods and then dividing that sum by the period. This addition is often done with help of a loop. This loop within a loop implementation is okay for single instances but as the algorithms grow and multiple calculations need to be made, it can cost time and cause latency. Even the finest examples I have seen on code base use loop initially.

In this version, I am proposing a loop less method for calculating the Simple moving average.

SMA(no loop)


RatesCompressor RatesCompressor

Rates Version of a script https://www.mql5.com/en/code/30791

High Low Lines High Low Lines

Add High and Low lines based on number of previous bars defined in input field

Trailing Star Trailing Star

Set Trailing Stop only when profit

Price Line 2 Price Line 2

Shows Last Price, Daily % Change, Symbol name, Countdown or Time left on closing and Time on chat