Alım-satım robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Twitter üzerinde bulun!
Fan sayfamıza katılın
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
Ö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:
- 5799
- Derecelendirme:
- Yayınlandı:
- 2018.06.06 14:02
-
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
The indicator displays possible StopLoss levels on the price chart. Levels are shown separately for Long and Short positions. The indicator is similar to Mod_ATR_Trailing_Stop, but has a different calculation basis - in percentage.
It has one input parameter:
- Percent - the percentage value of the distance between the Stop line and the Close price.
Calculation:
-
If Close[i] > TSL[i-1] and Close[i-1] > TSL[i-1]
TSL[i] = Max(TSL[i-1], Close[i]-loss) -
If Close[i] < TSL[i-1] and Close[i-1] < TSL[i-1]
TSL[i] = Min(TSL[i-1], Close[i]+loss) -
If Close[i] > TSL[i-1]
TSL[i] = Close[i] - loss -
If Close[i] < TSL[i-1]
TSL[i] = Close[i] + loss
where
loss = Close[i]*Percent/100.
MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/20436

An indicator of current support/resistance levels.

The tend indicator: Rahul Mohindar Oscillator

Triangular Moving Average.

An indicator of the dominant direction of closing of bars.