Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Unisciti alla nostra fan page
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Trailing_Stop_Level - indicatore per MetaTrader 5
- Visualizzazioni:
- 5040
- Valutazioni:
- Pubblicato:
- 2018.06.06 14:02
- Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
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.
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/20436
Simple_Support_Resistance
An indicator of current support/resistance levels.
RMOThe tend indicator: Rahul Mohindar Oscillator
TriMA
Triangular Moving Average.
Dominant_ColorAn indicator of the dominant direction of closing of bars.