Medium Term Weighted Stochastic (STPMT) by DGTLa Stochastique Pondérée Moyen Terme (STPMT) , or Mᴇᴅɪᴜᴍ Tᴇʀᴍ Wᴇɪɢʜᴛᴇᴅ Sᴛᴏᴄʜᴀꜱᴛɪᴄꜱ created by Eric Lefort in 1999, a French trader and author of trading books
█ The STPMT indicator is a tool which concerns itself with both the direction and the timing of the market. The STPMT indicator helps the trader with:
The general trend by observing the level around which the indicator oscillates
The changes of direction in the market
The timing to open or close a position by observing the oscillations and by observing the relative position of the STPMT versus its moving average
STPMT Calculation
stpmt = (4,1 * stoch(5, 3) + 2,5 * stoch(14, 3) + stoch(45, 14) + 4 * stoch(75, 20)) / 11.6
Where the first argument of the stoch function representation above is period (length) of K and second argument smoothing period of K. The result series is then plotted as red line and its moving average as blue line. By default disabled gray lines are the components of the STPMT
The oscillations of the STPMT around its moving average define the timing to open a position as crossing of STMP line and moving average line in case when both trends have same direction. The moving average determines the direction.
Long examples
█ Tʜᴇ CYCLE Iɴᴅɪᴄᴀᴛᴏʀ is derived from the STPMT. It is
cycle = stpmt – stpmt moving average
It is indicates more clearly all buy and sell opportunities. On the other hand it does not give any information on market direction. The Cycle indicator is a great help in timing as it allows the trader to more easily see the median length of an oscillation around the average point. In this way the traders can simply use the time axis to identify both a favorable price and a favorable moment. The Cycle Indicator is presented as histogram
The Lefort indicators are not a trading strategy. They are tools for different purposes which can be combined and which can serve for trading all instruments (stocks, market indices, forex, commodities…) in a variety of time frames. Hence they can be used for both day trading and swing trading.
👉 For whom that would like simple version of the Cycle indicator on top of the main price chart with signals as presented below.
Please note that in the following code STMP moving average direction is not considered and will plot signals regardless of the direction of STMP moving average. It is not a non-repainting version too.
here is pine code for the overlay version
// © dgtrd
//@version=4
study("Medium Term Weighted Stochastic (STPMT) by DGT", "STPMT ʙʏ DGT ☼☾", true, format.price, 2, resolution="")
i_maLen = input(9 , "Stoch MA Length", minval=1)
i_periodK1 = input(5 , "K1" , minval=1)
i_smoothK1 = input(3 , "Smooth K1", minval=1)
i_weightK1 = input(4.1 , "Weight K1", minval=1, step=.1)
i_periodK2 = input(14 , "K2" , minval=1)
i_smoothK2 = input(3 , "Smooth K2", minval=1)
i_weightK2 = input(2.5 , "Weight K2", minval=1, step=.1)
i_periodK3 = input(45 , "K3" , minval=1)
i_smoothK3 = input(14 , "Smooth K3", minval=1)
i_weightK3 = input(1. , "Weight K3", minval=1, step=.1)
i_periodK4 = input(75 , "K4" , minval=1)
i_smoothK4 = input(20 , "Smooth K4", minval=1)
i_weightK4 = input(4. , "Weight K4", minval=1, step=.1)
i_data = input(false, "Components of the STPMT")
//------------------------------------------------------------------------------
// stochastic function
f_stoch(_periodK, _smoothK) => sma(stoch(close, high, low, _periodK), _smoothK)
//------------------------------------------------------------------------------
// calculations
// La Stochastique Pondérée Moyen Terme (STPMT) or Medium Term Weighted Stochastics calculation
stpmt = (i_weightK1 * f_stoch(i_periodK1, i_smoothK1) + i_weightK2 * f_stoch(i_periodK2, i_smoothK2) + i_weightK3 * f_stoch(i_periodK3, i_smoothK3) + i_weightK4 * f_stoch(i_periodK4, i_smoothK4)) / (i_weightK1 + i_weightK2 + i_weightK3 + i_weightK4)
stpmt_ma = sma(stpmt, i_maLen) // STPMT Moving Average
cycle = stpmt - stpmt_ma // Cycle Indicator
//------------------------------------------------------------------------------
// plotting
plotarrow(change(sign(cycle)), "STPMT Signals", color.green, color.red, 0, maxheight=41)
alertcondition(cross(cycle, 0), title="Trading Opportunity", message="STPMT Cycle : Probable Trade Opportunity {{exchange}}:{{ticker}}-> Price = {{close}}, Time = {{time}}")
Oscilador Estocástico
StochasticUser request. A tuned version of the built-in Stochastic indicator with the following options included:
K-D Histogram
K/D Crossovers
K/D Ribbon
Bands breakouts highlighting
Middle line crossovers background
The WWG Plan Indicator V2█ OVERALL
This indicator was specifically created for the Walsh Wealth Group.
In short it is a fusion of some of the most basic and widely used indicators to show overbought patterns and trend reversals.
Its best usage is with LTF scalping and agressive profit taking but can also be used to find HTF dips and buy-zones.
█ FEATURES
Buy Signal (Buy):
Printed only with all confirmations triggered
Small Buy Signal (B1 & B2)
Printed if some of the confirmations are triggered and can be treated as DCA entries or for further
confirmation with other indicators and basic TA.
Crayons (Color Bars):
Blue: RSI is oversold
Olive: RSI and Stoch RSI are oversold
Yellow: RSI, Stoch RSI are oversold and lower Bollinger Bands are crossed by Low
Orange: RSI, Stoch RSI and CCI are oversold
Trailing SL:
If activated in the config, a trailing SL can be displayed on the chart based on ATR.
█ SETTINGS
The underlying indicators used are RSI, Stoch RSI, Bollinger Bands, MACD and CCI.
All possible configs can be changed in the config settings.
█ GENERAL INFORMATION
Depending on the settings, the indicator performance will be highly affected.
This indicator is only displaying highly oversold areas and events of trend reversal it is not a *God*-Signal and will print false positives.
█ ALERTS
An alert for the main buy-signal is implemented and can be used via the TV alert functionality.
Stochastic with Lines - ChartWhat is Stochastic with Lines - Chart and why do you need it?
I use it for chart analysis to identify key K/D levels from which bullish / bearish market structure continues to develop.
Chart means that every K/D cross above/below the signal lines will be notified on your Chart and not on the stocahstic oscillator. To see them on your chart please choose "Stochastic with Lines - Default" in my library.
Once K or the D line cross over or under your upper or lower signal line you will see background colors which you can adjust in the settings menu.
This small indicator is for a larger project which will be uploaded in several days/weeks.
Stochastic with Lines - DefaultWhat is Stochastic with Lines - Default and why do you need it?
I use it for chart analysis to identify key K/D levels from which bullish / bearish market structure continues to develop.
Default means that every K/D cross above/below the signal lines will be notified on your Stochastic Indicator and not on your chart. To see them on your chart please choose "Stochastic with Lines - Chart" in my library.
Once K or the D line cross over or under your upper or lower signal line you will see background colors which you can adjust in the settings menu.
This small indicator is for a larger project which will be uploaded in several days/weeks.
Multi-Timeframe Stoch RSIGood evening folks!
Today I want to share with you a simple variant of the Stochastic-RSI built-in indicator.
Nothing too complex: by enabling the relative checkbox and setting the desired (k, d or the RSI ) source and timeframes, you can see higher timeframes data plotted on your screen.
Everything you need to do is enabling the indicator on the lowest timeframe (in this case 15 minutes), then you will see in YELLOW the information retrieved from the next higher timeframe (in this case 30 minutes) and in RED the information retrieved from the highest timeframe (in this case 45 minutes).
IT'S IMPORTANT THAT YOU DISPLAY THE INDICATOR ON THE LOWEST TIMEFRAME!
You can play with the overbought and oversold heights in order to have the best configuration you want (in oversold conditions is suggested to buy while in overbought conditions is suggested to sell)
The higher timeframes data are retrieved avoiding repainting since the method used for taking them is the 10th method described in this PineCoders Article , so, if you want to enable alerts, you SHOULD ignore the disclaimer message related to it without any problem.
Good Trading!
Precise_SignalThis signal combines a portion of Chris Moody's 2014 SlingShot and my 2017 MTF Indicators. Both of our prior scripts over indicated Buy and Sell Points. This signal indicates a buy or sell point much less than our prior scripts did but with absolute precision.
I would say it is 100% accurate, but that is because I am yet to find a timeframe and symbol where the Buy signal failed to see the equity move up or the Sell signal failed to see the equity move down over the next 5 bars. I have tested 2000 charts so far. To be safe, I would rather state this indicator is accurate nearly 100% of the time.
The indicator is made up of 2 main portions and both of them have to agree on a buy or sell in order to indicate such with a vertical green or maroon bar beneath the chart. If there is a failure to agree, nothing is signaled.
Indicator 1 combines a stochastic of a 3 hour chart and a daily chart to determine when the stochastics are in agreement on direction. When there is agreement, both of them MUST cross from a buy state to a sell state and vice versa at exactly the same time. This is difficult to achieve and it is already rare for this occurrence to produce a signal. When a signal is produce it is combine with Chris Moody's 2014 SlingShot Indicator which conservatively determines Buy and Sell signals based on EMAs and market direction. Signals from his SlingShot are infrequent.
BUY Signal
When my MTF signals Buy at the same time that the SlingShot signals a Buy, a vertical green bar will appear in the window containing this script. The vertical bar is based on the close price of the equity and is only final when the close price is final. A BUY signal means the equity will move up potentially as early as the next bar and achieve a higher value from the close price on the signal bar.
SELL Signal
Likewise, a sell signal from the MTF at the same time as a sell signal from the SlingShot will create a maroon bar in the window containing this script. The vertical bar is based on the close price of the equity and is only final when the close price is final. A SELL signal means the equity will move down potentially as early as the next bar and achieve a lower value from the close price on the signal bar.
The default values for this script are hard-coded into this script. You can edit any of the value you would like to play with other timeframes, stochastic, and moving average lengths.
I have played with these values and have hard-coded the ones that are most accurate. Please let me know if you find others that work.
Hopefully this becomes an extra tool in your technical trading toolkit.
Stochastic with Outlier Labels/MTFTL;DR This indicator is an update to a simple stochastic ('Stoch_MTF' by binarytrader666) that provides a novel outlier highlighting feature
Improvements on stochastic:
1. Novel outlier highlighting that points out crosses that are the Nth consecutive cross or greater.
2. Allowing for multiple timeframes to be shown on the same chart
3. Highlighting/Labelling crosses and providing labels for alerts
A cross of the stochastics in the high or low zones establishes a trend. Successive crosses in the same region seem to indicate a continuation of that trend. The outlier functionality here provides a signal for when X number of crosses have been in the same trend, signaling further strength of that signal.
I also provided the necessary code for converting this to a strategy if you so wish at the bottom.
StochasticMore colorful than the built-in Stochastic.
My suggestion is to use it for checking divergences between K line with the price only, so I hide the signal D line as default, as the crossover between K line and D line, and the overbought and oversold area are not so reliable.
(JS) Double StochasticThe idea for this indicator came from looking at the Stochastic RSI. The Stochastic RSI takes the RSI reading then applies the Stochastic formula to it - an indicator on top of an indicator. Using this logic, I decided to try using a Stochastic on the existing Stochastic in order to smooth it out - hence the "Double Stochastic". I have also added the option to add RSI on to the indicator as well (with smoothing if you'd like).
Resolution:
I added this so you can look at the reading on any time frame.
K & D:
This is the standard K% and D% used with the Stochastic indicator - the numbers modify the length of their calculations.
Smooth:
This is the smoothing calculation, also from the normal Stochastic indicator.
Use Second Stochastic:
This adds a second Stochastic on to the chart for analysis.
K & D 2:
This is the parameters used to calculate the second K% and D% lines.
Smooth 2:
This is the smoothing interval for the second K% and D% lines.
Use K% and D%:
The default for this is to have it on. What it means is that you wish to see both the K% and D% lines (watching for a cross). If you turn this off, the plot switches to a K% & D% difference line. It is just one line that plots the distance between the two.
SMA Length Using Difference:
If this is on, then you can smooth the difference plot with an SMA, obviously if you just want the raw difference to plot, then set this to 1.
Use RSI:
Since both RSI and Stochastic use a 0-100 scale, I added the ability to plot the RSI along with the Stochastic. This will not plot if you are using the Difference plot, being that plot isn't on a 0-100 scale.
Smooth RSI:
I also added the ability to smooth the RSI if you'd like, you can turn this off for the standard RSI reading.
RSI Length:
This is the period of bars used to calculate the RSI.
RSI Smoothing Length:
This is the smoothing interval if you'd like to apply a moving average on the regular RSI reading.
RSI Smoothing Use EMA:
This makes the RSI smoothing use an EMA, when off an SMA is used instead.
RSI Source:
And finally, this is the source used to calculate the RSI value.
I hope that you all may find this useful, I have been using it myself with a lot of success. Any questions, please leave them in the comments, thanks!
[MACLEN] HODL ZONE RENKO
PLEASE READ!
Trade at your own risk. Please read about renko charts before using this indicator. This indicator is for educational purposes only.
This Indicator is only valid in renko charts with 1 second timeframe. For BTCUSDT . With the traditional method and the size box of 80.
With this indicator we can detect zones of buy and sell. Even that is not recommended to use leverage, I use it to find an entry and use only small leverages. It could be also used to accumulate and HODL bitcoin .
Please, comment anything.
POR FAVOR LEER!
Tradea bajo tu propio riesgo. Por favor lee sobre las graficas renko antes de usar este indicador. Este indicador es solamente con fines educativos.
Este indicador es válido solamente en graficas renko con un timeframe de 1 segundo. Para BTCUSDT . Con cajas del método tradicional de un tamaño de 80.
Con este indicador podemos detectar zonas de compra y venta. A pesar de que no es recomendable usar apalancamiento, yo lo uso para encontrar entradas y solo uso apalancamientos pequeños. También podría usarse para acumular y holdear bitcoin .
Por favor, escríbeme cualquier duda o comentario.
G-Oscillator Strength v.1Hello this is my new indicator. Purpose of this indicator is to find the strength of the trend.
This indicator was developed by RSI(14) and Stochastic(50)
How to used
Red = RSI(14) & Sto(50) < 40
Lightblue = RSI(14) >= 50 and Sto(40) < 50
Darkblue = RSI(14) & Sto(40) >= 50
Green = Sto(40) >= 80
Yellow = RSI(14) < 50 and Sto(40) >= 50
Buy&Sell
Buy signal for this indicator is Lightblue to Darkblue
Sell signal is Green to Darkblue or Darkblue to Yellow
G-strength downThis is my so proud indicator.
I call is "G-stength down" purpose of this indicator is " one glance to see the power of trend "
I am not full time-trader, Im physiotherpist and im not have a lot of time to analyze the graph. I trade only stock and crypto and buy only.
This's indicator develop form RSI(14) and Sto(50)
How to use
RED : Bearish
YELLOW : Bullish is coming but it's so weak
BLUE : Strong bullish
GREEN : Extreme bullish, if this color is present you can held until the color change
** Buy signal for me is YELLOW and change to BLUE and Sell signal is Green change to BLUE or BLUE change to YELLOW**
Note : I dont know how to write adjust the opacity. Im sorry T_T
Good luck :D
High and Low Checker
GBPUSD / 3m
BTCUSD / 5m
This is an indicator used to know the tops and bottoms of the market.
The logic is simple.
1. find out whether the current price is above or below the past by a very slow stoch.
2. Find out if the RSI is overbought or oversold.
3. Combine these two conditions and find out if the current price is tops or bottoms than it was in the past.
Appropriate settings will vary depending on the market and the time frame. Try changing various settings!
It is also not useful in markets that are experiencing a very strong trend.
For this case, we have chosen to display overshoot.
日本語
これは相場の天井と底をスナイプするために作ったインジケーターです。
ロジックはいたってシンプルです。
1. 非常に期間の長いStochを使い現在の価格が、過去から見て上か下に位置するのかを判断します。
2. RSIの買われすぎ、売られ過ぎを判断します。
3. この2つを組み合わせます。価格帯が上に位置する場合買われ過ぎが有効になり、価格帯が下に位置する場合売られ過ぎが有効になります。
銘柄や時間軸によって適切な設定値が変わると思うので、色々と試してみて下さい。
また、非常に強いトレンドが発生している相場では基本的に役に立ちません。
その場合のために、オーバーシュート(×マーク)を表示するようにしているので、参考にして下さい。
SDev Adjusted StochasticDescription : This Stochastic variant will auto-adjust stochastic period based on volatility measured by standard deviation.
The idea behind it are in highly volatile market, %K period will be reduced to account for recent price range,
while in low volatility market, %K period will be increased to account less of the recent price range.
This idea is based on one of medium article written by Sofien Kaabar with slight modification on the adjusting logic implementation. Any ideas to further improve this indicator are welcome :)
Disclaimer:
I always felt Pinescript is a very fast to type language with excellent visualization capabilities, so I've been using it as code-testing platform prior to actual coding in other platform.
Having said that, these study scripts was built only to test/visualize an idea to see its viability and if it can be used to optimize existing strategy.
While some of it are useful and most are useless, none of it should be use as main decision maker.
Simple Bollinger Band and stochastic oscillator strategy for SPXThis is a very simple Bollinger Band strategy with stochastic oscillator added. Main trend is determined by Band breakout while (5,3,3) stochastic crosses is used for additional entries. Alert function is configured as "one alert for any events", so that free users can set up and get alert for every events in the script. The following code segment can be manipulated as your needs, by removing or keeping "//" comment slashes etc. Entries should be above/below the signal bars and 7-8 points should be regarded as first target, trail the left. Good luck !
signal = bbupcross or bbdowncross //or add_long or add_short
DMI Stochastic ToltecasModification of DMI Stochastic Indicator created by @usgears
- Added Crossing Up/Down Text Signal
- Added Crossing Up/Down Arrow Signal
- Added Crossing Up/Down Darts Signal
- Added Midline level
- Custom settings for oversold, midline and overbought levels to select a solid, dotted, or dashed line style.
- Added Background Color
Stochastic with Bollinger & EMAIn this script
I combined the various of the oscillator
Stochastic (STOCH) with BB (Bollinger Bands).
Each cut of K and D creates a mark (+) Red / green - accordingly.
As the Stochastic (K) crosses the BB base, a green / red point is formed accordingly.
As a sign it is possible to continue up / down.
I added EMA8 to K (style circles)
When the oscillator is above the EMA - it is possible that this is a clear sign of an increase.
Band 50 was also added to facilitate the calculations.
Logistic RSI, STOCH, ROC, AO, ... by DGTExperimental attemt of applying Logistic Map Equation for some of widly used indicators.
With this study "Awesome Oscillator (AO)", "Rate of Change (ROC)", "Relative Strength Index (RSI)", "Stochastic (STOCH)" and a custom interpretation of Logistic Map Equation is presented
Calculations with Logistic Map Equation makes sense when the calculated results are iterated many times within the same equation.
Here is the Logistic Map Equation : Xn+1 = r * Xn * (1 - Xn)
Where, the value of r is the key for this equation which changes amazingly the behaviour of the Logistic Map.
The value we have asigned for r is less then 1 and greater than 0 ( 0 < r < 1) and in this case the iterations performed with the maximum number of output series allowed by Pine is quite enough for our purpose and thanks to arrays we can easiliy store them for further processing
What we have as output:
Each iteration result is then plotted (excluding plotting the first iteration), as circles or line based on user preference
Values above and below zero level (0) are coloured differently to emphasis bull and bear power
Finally Standard Deviation of Array's Elements is ploted as line. Users may choose to display this line only
So where it comes the indicators "Awesome Oscillator (AO)", "Rate of Change (ROC)", "Relative Strength Index (RSI)", "Stochastic (STOCH)".
Those are the indicators whose values are assigned to our key varaiable in the Logistic Map equation forulma which is r
Further details regarding Logistic Map can found under the description of “Logistic EMA w/ Signals by DGT” study
Disclaimer:
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
CC STOCH RSI [Rogulabo]3 indicators in 1.
Included Indicators are:
- Correlation Coefficient
- RSI
- Stochastics
Basic usage of these indicators respectively are:
- CC value of 1 represents a perfect correlation, while a value of -1 represents an inverted correlation.
- RSI values above 70 is commonly overbought, whilst below 30 is oversold.
- Stochastics for describing the momentum and turning points of price swings.
Please recognize that these are simplified explanations.
Reasons for 3 in 1 assembly:
This indicator is intended to be used by students, and followers of Dan Takahashi
(a prominent educator of investing in Japan who is also a user of TradingView) .
Those who wants to use and learn with the same setup as Dan, would greatly benefit from this since,
the complex setting up process which can be a pain for beginners can be skipped with a simple click.
Every stylistic choice of color and placement were made to make it similar to the chart used by Dan.
Simple customizations are available such as:
- Changing color
- Changing the values
- Hide/show controls
Notes:
This is intended to be used alongside “EMA ICHI BB ” for the complete the setup.
Any questions, please refer to:
@rogulabo
==
高橋ダンさんが使用されてるチャートと同様のセットアップの為にご活用ください。
複数のインジケータをグループにしておりますので、無料版を使われてる方は効率よく使っていただけると思います。
また、“EMA ICHI BB ”どいうタイトルのインジケータも同時に公開しておりますので、セットアップを完成させたい方はこちらもご活用ください。
以下のインジケータを含みます。
・相関係数
・ストキャスティクス
・RSI
カスタマイズされたい方はご自由に値を変更ください。
ご質問は @rogulabo までよろしくお願いいたします。
Doble stochastic oscillator fast and slowThis is a two stochastic in one indicator :
We have a normal stochastic, and a slower one in order to identify changes in the price movement.
At the same time I added more levels, so its easier visually to identify in each scenario we are.
The slower oscillator, also change color based on direction it has.
Green color = long direction - > buy
Red color = short direction - > sell
Momentum ArrowsThis simple indicators paints the Momentum based on Stochastic, RSI or WaveTrend onto the Price Chart by showing Green or Red arrows.
In the settings it can be selected which indicator is used, Stochastic is selected by default.
Length of the arrows is determined by the strength of the momentum:
Stochastic: Difference between D and K
RSI: Difference from RSI-50
WaveTrend: Difference between the Waves
(Thanks to @LazyBear for the WaveTrend inspiration)
PS:
If anyone has an idea how to conditionally change the color of the arrows, then please let me know - that would be the icing on the cake. Then it would be possible to indicate Overbought/Oversold levels with different colors.
Unfortunately it currently seems not to be possible to dynamically change the arrow colour.