Nicolas

TMMS oscillator (Trading Made More Simpler)

Category: Indicators By: Nicolas Created: September 13, 2019, 12:23 PM
September 13, 2019, 12:23 PM
Indicators
20 Comments
TMMS oscillator (Trading Made More Simpler)

The TMMS oscillator (aka “Trading Made More Simpler”) is an indicator made of conditions based on both 2 separated Stochastic and 1 RSI.

Bullish zone is green and bearish one is red. When the histogram is grey, no signals is available at that time.

The indicator has an option to show the current trend of an Hull moving average (ascending or descending curve). When the trend is up, green dots are plotted on the zero line. When the trend is down, the dots are coloured in orange.

Indicator converted from an MT4 version by a request in the indicators forum.

//PRC_smTMMS-Oscillator_v3.0 | indicator
//13.09.2019
//Nicolas @ www.prorealcode.com
//Sharing ProRealTime knowledge
//translated from mt4 version

// --- settings
RSIPeriod=14
Stochastic1PeriodK  = 8
Stochastic1PeriodD  = 3
Stochastic2PeriodK  = 14
Stochastic2PeriodD  = 3
DrawHullTrend = 1 //(1=true ; 0=false)
HullPeriod     =12
HullDivisor    =2
// --- end of settings

once threshold=50
once ilimit=0

bufRSI=rsi[RSIPeriod]
bufStoch1=stochastic[Stochastic1PeriodK,Stochastic1PeriodD]
bufStoch2=stochastic[Stochastic2PeriodK,Stochastic2PeriodD]
bufRSI=bufRSI-threshold
bufStoch1=bufStoch1-threshold
bufStoch2=bufStoch2-threshold

bufHistUP=0
bufHistDN=0
bufHistNO=0
if(bufRSI>ilimit and bufStoch1>ilimit and bufStoch2>ilimit) then
 bufHistUP=bufStoch2
else
 if(bufRSI<ilimit and bufStoch1<ilimit and bufStoch2<ilimit) then
  bufHistDN=bufStoch2
 else
  bufHistNO=bufStoch2
 endif
endif

if (DrawHullTrend) then
 inner = 2*weightedaverage[ round( HullPeriod/HullDivisor ) ](close)-weightedaverage[HullPeriod](close)
 MMHULL=weightedaverage[ round( sqrt(HullPeriod) ) ]( inner )
 r=255
 g=155
 if MMHULL>MMHULL[1] then
  r=0
  g=255
 endif
 drawtext("●",barindex,0,dialog,bold,16) coloured(r,g,0)
endif

return bufHistUP coloured(0,128,0) style(histogram) as "Up", bufHistDN coloured(255,0,0) style(histogram) as "Dn", bufHistNO coloured(169,169,169) style(histogram) as "No",0 coloured(168,168,168) style(point,1) as "level0", 20  coloured(168,168,168) style(dottedline,1) as "level20", -20  coloured(168,168,168) style(dottedline,1) as "level-20"

 

Download
Filename: PRC_smTMMS-Oscillator_v3.0.itf
Downloads: 838
Nicolas
Nicolas Legend
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

Morris59
6 years ago
#

Hallo Nicholas, tks very much for your work, I'm a rookie in the world of indicators and oscillators, I'm happy to use this and i'm shure worked well togheter experience and other tool, please if I want increase "aggressive" (10%) in this tool whick parameters I must change, tks and I'm sorry for my bad english Maurizio (Mi-Italy)

rosario
6 years ago
#

Merci pour la réponse, je l'utilise comme indicateur, mais les colonnes lorsque le prix est positif (les vertes au dessus de zéro) ne sortent pas. En dessous de zéro, les barres négatives sortent à la fois des rouges et des grises. cordialité

Nicolas
6 years ago
#

C'est curieux, merci d'ouvrir un sujet sur le forum et de produire des copies d'écran.

rosario
6 years ago
#

salut Nicolas, je voudrais vous demander pourquoi sur mon pro en temps réel cet oscillateur très intéressant n'apparaît pas? merci

Nicolas
6 years ago
#

je ne sais pas, il fonctionne correctement pour moi. Il ne faut pas l'appliquer sur le prix, mais utiliser le bouton des indicateurs.

scarphace38
7 years ago
#

Bonjour, Merci Nicolas pour tout ce travail. Je n'arrive pas a avoir le même graphique que toi. Voici ce que j'ai : Que faut il faire et modifier ? Encore Merci

overspin
7 years ago
#

Bonjour Nicolas, avez vous déjà essayé de mettre une alerte PRT au passage du zéro avec cet indicateur, en ce qui me concerne cela n'est pas possible, même en créant une ligne (zéro) et programmant le UP ou DOWN a = zéro ? merci d'avance pour votre réponse

sally31120
7 years ago
#

Bonjour Nicolas, C’est indicateur semble très intéressant mais je n’ai pas les compétences pour l’exploiter. Serait-il possible de connaitre le code pour en faire des screeners 1) Passage du point orange en point vert 2) Point vert avec passage histogramme gris > 0 3) Point vert avec passage histogramme vert > 0 Merci d’avance

Nicolas
7 years ago
#

Merci de formuler une demande dans le forum des screeners.

Cedlam
7 years ago
#

Qu'est ce que j'aimerais savoir faire ça !!!!! Merci beaucoup Nicolas.

Marcelo Tevrizian
7 years ago
#

Anyone has rewritten this to Ninja? I am working on it but it will take some time. Thanks.

Balmora74
7 years ago
#

Thanks a lot Nicolas. Fantastic indicator !!!!! Wawaouhh !!!

Maxime Baudin
7 years ago
#

Thank you Nicolas!

f1_maik
7 years ago
#

Thank you so much. Is it possible to rewrite the Indicator to a program? What would this look like?

f1_maik
7 years ago
#

Yes, I'd like to. But I don't know when I want to choose to leave or join. When the histogram turns green? When an orange dot appears? That's why I ask for a system. Only the indicator is of little use to me.

f1_maik
7 years ago
#

Yes. I would be fine and brings help with a backtest.

Nicolas
7 years ago
#

Please open a topic in the automatic trading forum for that and bring sufficient explanation on how it should behaves (entries, exit, ..). Thanks in advance.

Nicolas
7 years ago
#

Do you mean an automated trading system?

rigel
7 years ago
#

Thanks a lot Nicholas, also liked very much the description of it use

Teddy Coronak
7 years ago
#

Merci Nicolas pour ce travail !!! Toujours aussi simple et efficace.

ProRealCode ProRealCode
Loading...