This indicator is derived from Bressert’s works in market cycles (Double Smooth Stochastic). It is converted from MT4 code and it is a part of a complete trading strategy of scalping, I certainly post on forums soon.
The DSS indicator is intended to spot overbought and oversold areas with less false signals than any other stochastic indicator. When the oscillator remains longer into one of the area, it is the beginning of a trend change.
I found it useful to spot price rebound while in a already formed trend. Of course, because stochastic is most used to find price reversal over a calculated price center, this indicator can also be nicely used in ranging markets.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
EMAperiod=8 STOperiod=13 once DssBuffer = 50 once MitBuffer = 30 smoothcoefficient = 2.6 / (1 + EMAperiod) if barindex>STOperiod then //price range definitions HighRange = Highest[STOperiod](high) LowRange = Lowest[STOperiod](low) delta = Close - LowRange rrange = HighRange-LowRange if rrange = 0 then rrange = 1*ticksize endif MIT = delta/rrange*100.0 MitBuffer = ROUND(smoothcoefficient * (MIT - MitBuffer[1]) + MitBuffer[1]) //DSS calculation HighRange=0 LowRange=stoperiod*1000 for i = 0 to Stoperiod do HighRange=Max(MitBuffer[i],HighRange) LowRange=Min(MitBuffer[i],LowRange) next delta = MitBuffer - LowRange DSS = delta/(HighRange - LowRange)*100.0 DssBuffer = smoothcoefficient * (DSS - DssBuffer[1]) + DssBuffer[1] endif // 30.144.255 / blue // 255.105.180 / hot pink RETURN dssbuffer as "DSS Bressert Scalper", 20 coloured(102,102,102) as "20 level", 80 coloured(102,102,102) as "80 level" |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
Hello, what`s the code for getting the two colours of the dssbuffer/DSS Bressert Scalper?
Just modify the up and down colors in the indicator window parameters.
Hi, it don’t work on my system, anything I need setup before?
Please explain what is the problem exactly? It should work if you add it on any instrument with the prorealtime indicator window.
a pop up windows show indicator error.
..and what is the error please?
Hi Nicolas
I am IG user and the interface setup is in Chinese, a pop up windows show “indicator error”, not only this DSS, many indicator I found here also appear this result.
Please open a new forum topic for this particular error and upload pictures of it, would be much better to assist you.
Bonjour Nicolas,
Je souhaiterais faire apparaître le PRC_Bressert Scalper Improved en 5 mn dans les UT inférieures et des UT en ticks.
Savez-vous si cela est possible et si oui comment je peux modifier le code ?
J’ai cherché dans les manuels PRT mais je n’ai rien trouvé.
En vous remerciant par avance de votre retour.
Je vous souhaite un agréable dimanche.
Denis
Non ça n’est pas encore possible.
Merci Nicolas.
Bonjour à tous,
Est-il possible de rajouter un morceau de code qui permette d’afficher (sur la droite de la fenêtre) la valeur à partir de laquelle l’indicateur se retournera?
En vous remerciant par avance.