Essay Language Schaff Trend Cycle

Notice: Use of undefined constant php - assumed 'php' in /3w/ on line 105

This Schaff Trend Cycle code is an attempt to recode the same indicator as the one in the platform to be user with simplified creation to build automatic trading strategy through ProOrder or stock screener with ProScreener. Enjoy. Idea and final code come from this discussion:

How to use it:

The Schaff Trend Cycle (STC) indicator, invented by Dough Schaff, measures the overbought and oversold market conditions. This is an improved version of the traditional MACD indicator widely used by traders.
The STC works by detecting trends, uses exponential moving averages (EMAs), but includes a cycle to include trends in currency sequences.

The STC indicator combines the MACD with a slow stochastic indicator and provides an early signal to recognize trends.

The STC indicator oscillates between 0 and 100.
Less than 20 readings are considered oversold. Over 80 readings are considered overbought.



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?

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

  1. oraclus • 222 days ago #

    Merci il lui ressemble bcp

  2. juanj • 221 days ago #

    Think this is something we can experiment with in the ‘universal’ strategy along with the Bollinger and RSI2.

  3. ggolfet • 162 days ago #

    Hello Francesco,
    thanks for the code. Now I can do backtests on this indicator. I’m testing a weekly strategy and noticed that the parameters which fit most stock indexes do not work with volatile stock markets or commodities. Does every market have a different “cycle”, so you need to fit the indicator to every market (risking overfitting)?
    For weekly chart I use:
    TCLen = 25
    MA1 = 30
    MA2 = 60.

Register or


avatar avatar avatar avatar
Related users ' posts
juanj Definitely, need to code this into an automated strategy.
Marc Boliart dear nicolas, tyvm for your indicators and strategies, i have this following error when i ch...
Nicolas Your picture is too small, but for sure the problem is about the fact you are still using v1...
4 months ago
thierryp Bonjour Nicolas, merci pour le travail que vous effectuez. Je ne suis vraiment pas bon dans ...
Wiezman74 any chance you can email me this indicator for MT4,, can't get the code to work.. limited kn...
Nicolas This website is dedicated to prorealtime programming. But you can ask for custom programming...
patrick3 Merci beaucoup Nicolas pour le temps que tu passes à aider les autres, qui comme moi sont nu...
Frank Lemke hallo nicolas ich hoffe du kannst mir helfen ich möchte dein signale direkt im chart ang...
Nicolas Bitte öffnen Sie ein neues Thema im Forum, um Ihre Abfrage zu spezifizieren. Vielen Dank.
7 months ago

Хейл мог понять смысл лишь двух слов. Но этого было достаточно. СЛЕДОПЫТ ИЩЕТ… - Следопыт? - произнес.  - Что он ищет? - Мгновение он испытывал неловкость, всматриваясь в экран, а потом принял решение.


Leave a Reply

Your email address will not be published. Required fields are marked *