Schaff Trend Cycle (STC)
A 0 to 100 oscillator built from a double Stochastic over MACD, signalling on crosses of the 25 and 75 levels.
Separate windowHas alerts
On-chart table showing the strength of the eight major currencies across several timeframes, with alerts for notable pairs
Open source, Apache License 2.0, by EarnForex.com. See licences
First release on this site.
Drag it onto any chart. If your broker names pairs with a prefix or suffix, the indicator tries to detect it from the chart symbol when CurrPrefix and CurrSuffix are both empty, or you can fill them in; if a pair is not found an error alert pops up. Load the price history of every pair and every enabled timeframe; the table tells you when data is missing.
Turning on AutoFocus makes the chart switch to the ideal pair by itself, which can get in the way of using that chart, and per the code comment it disables notifications. Use it with other analysis: the table shows relative strength, not an entry timing.
| Name | Default | Description |
|---|---|---|
| IndicatorName | MQLTA-CSM | Name used for chart objects and in notification text. |
| CalculationMode | Mode_CloseClose | How strength is calculated: close difference, MA difference, RSI difference, RSI MA, Stochastic main or Stochastic signal. |
| BarsDifference | 1 | Number of bars between the two values that are compared. |
| MAPeriod | 2 | MA period (used in the MA and RSI MA modes). Higher is less sensitive. |
| MAMethod | MODE_EMA | MA method (used in the MA, RSI MA and Stochastic modes). |
| RSIPeriod | 14 | RSI period (used in the RSI modes). |
| Stochastic_K_Period | 5 | Stochastic %K period. |
| Stochastic_D_Period | 3 | Stochastic %D period. |
| Stochastic_Slowing | 3 | Stochastic slowing value. |
| UseOutputBuffers | false | Expose output buffers so another EA or indicator can read the values (uses a large number of buffers). |
| ShowType | SHOW_COLORS | Show values or just colours in the table. |
| SortByPeriod | CURRENT | Sort the currencies by strength on the chosen timeframe (or the chart timeframe). |
| ShowAcceleration | false | Show a colour that tells whether the strength is accelerating or slowing. |
| MinimumRefreshInterval | 5 | Minimum interval in seconds between table refreshes. |
| AutoFocus | false | Automatically switch the chart to the pair the table rates as ideal. Per the code comment this disables notifications. |
| EnableNotify | false | Turn on notifications. Off by default. SendAlert, SendApp and SendEmail only apply when this is on. |
| SendAlert | true | Notify with an MT5 popup alert. |
| SendApp | false | Send a push notification to the MT5 mobile app (MetaQuotes ID must be set up first). |
| SendEmail | false | Send an email notification (email must be set up in MT5 first). |
| WaitTimeNotify | 10 | Wait time between notifications, in minutes. |
| NotifyOnlyCurrentPair | false | Notify only when the ideal pair is the one on this chart. |
| NotifyOnlyFirstAndLast | false | Notify only when the ideal pair is made of the first and last currency in the ranking. |
| UseEUR | true | Include EUR in the calculation. |
| UseUSD | true | Include USD in the calculation. |
| UseGBP | true | Include GBP in the calculation. |
| UseJPY | true | Include JPY in the calculation. |
| UseAUD | true | Include AUD in the calculation. |
| UseNZD | true | Include NZD in the calculation. |
| UseCAD | true | Include CAD in the calculation. |
| UseCHF | true | Include CHF in the calculation. |
| UseM1 | true | Show the M1 timeframe column. |
| UseM5 | true | Show the M5 timeframe column. |
| UseM15 | true | Show the M15 timeframe column. |
| UseM30 | true | Show the M30 timeframe column. |
| UseH1 | true | Show the H1 timeframe column. |
| UseH4 | true | Show the H4 timeframe column. |
| UseD1 | true | Show the D1 timeframe column. |
| UseW1 | true | Show the W1 timeframe column. |
| UseMN1 | true | Show the MN1 timeframe column. |
| CurrPrefix | Prefix of the broker pair names, if any. | |
| CurrSuffix | Suffix of the broker pair names, for example .m or pro, if any. | |
| XOffset | 20 | Horizontal offset of the table, in pixels. |
| YOffset | 20 | Vertical offset of the table, in pixels. |
| Scale | 1 | Scale factor for the size of the table. |
Defaults are the values shipped with the EA, not a recommendation. Results depend on the market and on each account. Past results do not guarantee future results. Trading carries a high risk of loss.
This indicator calculates the overall strength of the eight major currencies (EUR, USD, GBP, JPY, AUD, NZD, CAD, CHF) from many currency pairs and timeframes, and shows it as a table on the chart. Each row is a currency and each column is a timeframe, with a summary column on the right and a pair suggestion under the table.
There are six calculation modes: close difference, MA difference, RSI difference, RSI MA, Stochastic main and Stochastic signal. You choose which currencies and timeframes count, the ranking timeframe, and whether to show colours or values. With EnableNotify on it alerts with a POSSIBLE BUY or POSSIBLE SELL message for the pair the table rates as ideal.
It needs all 28 major pairs listed in the code. The indicator tries to add those pairs to Market Watch itself, and the buttons in the table switch the chart symbol or timeframe.
Banners from the Exness partner programme

FXIDTH is an independent IB partner of Exness. This channel is not owned or operated by Exness.*Spreads may fluctuate and widen due to factors including market volatility, news events, market open/close, and others.*Processing times may vary depending on the chosen payment method.
A 0 to 100 oscillator built from a double Stochastic over MACD, signalling on crosses of the 25 and 75 levels.
Separate windowHas alerts
EA that buys at the lower Bollinger Band, sells at the upper band and closes at the middle line, with SL and TP.
EA that opens a Buy when RSI crosses below 30 and a Sell when it crosses above 70, with SL and TP in points.