Triple Function Indicator

Triple Function Indicator

TripleFunctionIndicator (TFI) is meant to be a daytrading system that give good results on a 10 minutes graphic. Especially its a combination of three 3 Indicators namely the SMI The CCI and the RSI indicator. As you can see on the graphic,, even on an overbought situation, given by DemarkIndicator  it do work. The classic limits for each indicator are repected.

For SMI  +40 and -40

For CCI  +100 and -100

For RSI  70 and 30.

Finally each Indicator give 3 results if there is a condition fullfilled or not and none of the two.

The total result is calculated and as only 3 possibilities  namely +3 ;+1 ; -1 and -3.

Share this

Risk disclosure:

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 : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Souhail Sam • 02/05/2020 #

    I need help to understand this.
    When to buy ? When to sell ?
    How this indicator must look like ?
    Once I make your code with the indicators i only have lines that i can’t understand.
    Thank you for Sharing and for help

    • Zigo • 02/05/2020 #

      I can understand that it is a little bit confused. Therefore some more explanation: The Indicator is correct (for values 17 for n and 5 for m ) but I have posted the backtest results instead of the indicator vieuw.(sorry)
      I shall try to post a graphic, that will explaine a lot.
      In fact TFI is an indicator concist of tree classical indicators, who are testest all three. The result is “Yes” or “No” “Yes” equals (+1 ) No” equals (-1) If all three the indicators are “Yes” , we are in a bull fase and contrairely 3 times “No” is a bearish result.
      If you take the sine of the arctangent of the result, then the results are:
      Yes,Yes,Yes (+3)
      Yes, No Yes (+1) also :(No, Yes, Yes (+1) and Yes, Yes, No(+1) )
      No,No,No (-3)
      Yes,No,No (-1) and so on
      For the sin(atan( Value) there are only for results:
      1) Strong Trend +3 (0.94868)
      2)Strong Trend -3 (-0.94868)
      3) Minor trend +1 and -1 (0.70711 and -0.70711 resp.)
      Thats it. For the rest is watch and see.

  2. Balmora74 • 02/05/2020 #

    thanks very interesting 🙂

  3. Wolf • 02/05/2020 #

    Compilation by sinusoid concept is very interesting. Thanks

  4. groen200 • 02/05/2020 #

    Hi Zigo can you make backtest from this indicator

  5. rosario • 02/05/2020 #

    Good evening I would like to understand why it doesn’t work for me.

  6. xar3 • 349 days ago #

    I would like to comment that observing the logic of the variables of the three indicators, it is likely that in line 5 the result of the SMI variable should be <-40

    Perhaps it would also be logical to give a value "0" to ZLS1, ZLS2, ZLS3, when the value of the three indicators is not in the margins defined for +1 or -1

  7. fifi743 • 190 days ago #

    Good morning,
    there is no mistake about the shorts

    • Zigo • 190 days ago #

      has to be c11=SMI[14,3,5] < -40

    • xar3 • 186 days ago #

      Thank you 😉 Zigo

Register or


avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
superfalcio I need to fix it a little bit before to post...
Stenozar Hi Superfalcio, can you explain, in short, the Connor's 2Rsi strategy?
superfalcio The original one is based on 1 day timeframe and for stocks/indexes. Buy setup: price >SM...
2 months ago
Violet Nicolas, you calculate iRSI, but don't use it. You show RSI in the returned values, which, a...
Nicolas Yes, that's an error. RSI instruction is set by default to 14 if you don't indicate it that'...
DELBERT Bonjour , Nicolas , je voudrais installer cet indicateur sur ma PRT , version 10.3 , mais je...
Nicolas En effet, il faut à minima une version 11. La 10.3 est tellement ancienne maintenant.. Je pe...
DELBERT Bonjour , Nicolas , merci pour ta réponse , je fais un essai et je verrais . Salutations .
Khaled Thank you Nicolas! Looks like TDI (Trader Dynamic Index). Interesting to give Exit Signal as...
Nicolas ColorBetween is an instruction added last year:
AntoGH Bonjour peut-on backtester cela ? Et si vous l'avez fait pourriez vous nous donner le code.....
Nicolas désolé c'est un oubli de ma part, tu peux supprimer cette ligne, elle n'est plus utile dans ...
DELBERT Bonjour , Nicolas , merci pour ta réponse , je suis en effet avec PRT 10.3 , et j'ai bidouil...
volanirina Bonjour Je souhaite l'avoir sur l'indicateur MT4 si possible s'il vous plait. car je l'ai fa...
Nicolas ProRealCode est un site dédié à l'utilisation de la plateforme de trading ProRealTime: https...
Nicolas Merci d'ouvrir un sujet dans le forum des screeners en respectant les règles de publication ...
Pensera Bravo Nicolas ! Tu es en quelque sorte l’inventeur de Metascore…(oups je viens de lire jusqu...
Nicolas Dans un but d'investissement pure, et non spéculatif.
DIOS Bonjour Nicolas, comment coder un indicateur de rsi de Divergence? Merci pour ta réponse
Nicolas En apprenant la programmation :) Plus sérieusement, il y a quantité d'exemples dans la libra...
DonTony Bonjour Nicolas, Très bel indicateur! Bravo!
Madrosat I Have not see a fully functioning automated strategy on your site?? Really have you???
juanj Hi Madrosat, why would it be on my site? I have developed it for my personal use and also to...
Madrosat ok I understood you are using prorealcode to hack the fish
imonix Have been trying this on demo since Monday before deciding whether to go live with it. Using...
Roberto Blázquez I'm sorry, I've tried it since November 2012 and it's bad results.
Guillaume Mcm I gave the above message fix ;)
Tradingrob Is it possible to put the itf-file in the right way here in Prorealcode? so the right 'trend...
Guillaume Mcm Update link ;)
woktrade Superbe !
Vonasi An updated version with a bug fix can be found here:
snucke hey Vonasi is it possible you can help me get this indicator to show how much a market mo...
Vinks_o_7 Vonasi you're a beast !!! ;-)))
pableitor Amazing indicator , you are pushing PRT to the limit! But looking at the scatter its not c...
3 years ago
stephane2.0 c=exponentialaverage[9](MACDLine[12,26,9](close))
Forexcheckup Hi I down loaded the ITF file, it paints red for a down trend but for all up trends the can...
stephane2.0 line 22: r = 195 by r = 0 line 23: g = 195 by g = 0 line 24: b = 195 by b = 255 ;)
Balmora74 thanks for this code Philippo ! So if i understand well a Positive (+) EntryOK x ROC means a...
Dritan Hi Philippo,thanks for sharing this code.Can You add please Volume more than 250.00?Thanks
Sapo Thank you very much. as always your indicators are extremely effective. kind regards Vonasi.
mitsu21 Hi, it looks nice. I'll try it tomorrow thank you for your share kind regards bruno
kj1988 Thank you Vonasi for sharing this indicator. Very useful as a comfirmation to the price act...
Teddy Coronak Bonjour Nicolas , je voulais simplement te dire merci pour cet indicateur. Très simple et...
€Ȝ Hi Nicolas, Excellent piece of code. I used your concept in one of my own indicators too wh...
Nicolas Thanks a lot for the tip.
ggolfet Thanks Nicolas, I imported the itf file and solved the problem.
Hasardeur Hallo Nicolas, i tried to code the multi period heat map in combination with the Ehler’s ...
Nicolas Please open a new topic with the code in forum.