Stochastic Pop and Drop by Jake Bernstein v1 [Bitduke]I found a simple strategy by Jake Bernstein, modified it a little and created a strategy with Risk Management System (SL+TP); After that I test it on the different cryptocurrency pairs.
About the Indicator
Basically it's the strategy of 2 indicators: Stochastic Oscillator to define the bias and Average Directional Index to confirm it.
One again, It uses Stochastic Oscillator to define the trading bias. In particular, the trading bias was deemed bullish when the weekly 14-period Stochastic Oscillator was above some default value (in him paper - 50) and rising and vice versa.
Once the trading bias is established, Steckler used the Average Directional Index (ADX) to define a slowdown in the trend. ADX measures the strength of the trend and a move below 20 signals a weak trend.
Modifications
I didn't implement Average Directional Index (ADX) and test just different sources for data, oscillator periods and different levels in relation to the crypto market.
So, it shows good results with two tight thresholds at 55 and 45 level.
The bar chart below the defining the bullish and bearish periods (green and red) and gives a signal to enter the trade (purple bars).
Backtesting
Backtested on XBTUSD , BTCPERP (FTX) pairs. You may notice it shows good results on 3h timeframe.
Relatively low drawdown
~ 10% (from 2019 to date) FTX
~ 22% (4 years from 2016) Bitmex
I backtested on the different altcoin pairs as well, but the results were just not good.
Relatively good results were shown by some index pairs from the FTX exchange ( FTX:SHITPERP ), but I think there is a few data for backtesting to be asure in them.
Bitmex 3h (2017 - 2020) :
i.imgur.com
FTX 3h (2019 - 2020):
i.imgur.com
Possible Improvements
- Regarding trading algorithm it would be good to check with strategy with ADX somehow. Maybe for the better entries
- As for Risk Management system, it can be improved by adding trailing stop to the strategy.
Link: school.stockcharts.com
Stochastic Oscillator
WhiteSRSI
This indicator, combines stochastic and rsi of different timeframes, is convenient when used on younger timeframes.
Stoch RSI+Stoch RSI+
It is based on mainstream setting
Shows Stochastic RSI K line(blue) and nStochastic RSI D line(red)
■Buy sign
will buy when golden cross occured and Stochastic RSI K line <= OverBought%
■Sell sign
will buy when dead cross occured and Stochastic RSI K line >= OverSold%
Dumb Indicator 21 - Function's Candlestick Bar's StyleThe idea is help traders to see the patterns and levels from a different point o view.
This script create candlestick using the opening, high, low and close price as source on your favorite function.
It's very simple to use:
Select a function in the drop box list, the number of bars length, check or uncheck the boxes to treat source as logarithm, smooth, and if you want to plot the SMA from the results.
To make a deeper analysis, you can select to plot the candles in Stochastic or in Percent Rank way.
The Stochastic and Percent Rank plot will show how far the price is close to highest or lowest value of the source from the last "Stochastic Length" number of bars.
Some functions with different names can plot the same results.
This indicator works on every kind of market, but you will need to find the best function and length to use.
Please, if you find anything good with this, share to everyone.
CryptoSignalScanner - Stochastic Trend IndicatorDESCRIPTION:
This script has been designed to provide the ideal buy and sell moment on the lower time frames.
• This scripts is based on the Stochastic RSI Indicator.
• When we are in an uptrend the background becomes green.
• When we are in a downtrend the background becomes red.
• It is also possibility to set the overbought and oversold range.
HOW TO USE:
• When the blue line (stochastic K) has crossed above the red line (stochastic D) in the oversold area then this is the ideal moment to get into a trade.
• When the blue line (stochastic K) has crossed below the red line (stochastic D) in the overbought area then this is the ideal moment to get out of a trade.
• Use this together with the CryptoSignalScanner - Advanced BUY/SELL indicator to get a stronger confirmation.
• Use the Fibonacci tool together with the Eliot Waves to help you to find the ideal buy or sell moment.
HOW TO GET ACCESS TO THE SCRIPT:
• Use the link below to subscribe to our indicators.
REMARKS:
• This advice is NOT financial advice.
• We do not provide personal investment advice and we are not a qualified licensed investment advisor.
• All information found here, including any ideas, opinions, views, predictions, forecasts, commentaries, suggestions, or stock picks, expressed or implied herein, are for informational, entertainment or educational purposes only and should not be construed as personal investment advice.
• We will not and cannot be held liable for any actions you take as a result of anything you read here.
• We only provide this information to help you make a better decision.
• While the information provided is believed to be accurate, it may include errors or inaccuracies.
Good Luck,
The CryptoSignalScanner Team
Better Stochastic RSI to find DivergencesThis indicator is a modified version of a stochastic RSI oscillator. I want to share this because it is really good for analysis of divergence between price action and the oscillator. You can also use it to trade overbought and oversold conditions.
To find out more what a divergences is when we talk about trading. Take a look at this: medium.com
Trend Scalper (Expo)Trend Scalper (Expo)
DESCRIPTION
Trend Scalper (Expo) is a Scalping strategy based on RSI, Stochastic and moving averages techniques. The idea is to visualize scalping opportunities in trends.
The trend is determined by the color of the moving average called ‘TrendHolder’ The ‘Trendholer’ consists of 3 colors, green, red and orange. Green is a positive trend, red is a negative trend and orange is a neutral or no trend.
Scalping opportunities are visualized by the circles and the triangles. The circles are based on RSI calculation. The triangles are based on Stochastic calculation.
- If there is a green circle and a green triangle and ‘Trendholder’ is orange or green, Enter Long!
- If there is a red circle and a red triangle and ‘Trendholder’ is orange or red, Enter Short!
Combine the indicator with HEIKIN ASHI candlesticks.
HOW TO USE
1. Use the indicator to find scalping opportunities in trends.
I NDICATOR IN ACTION
BTCUSD
EURUSD
GOLD
The indicator works with RENKO, HEIKIN ASHI and with KAGI charts as well.
I hope you find this indicator useful, and please comment or contact me if you like the script or have any questions/suggestions for future improvements. Thanks!
I will continue to work on this indicator, so please share your experience and feedback with me so that I can continuously improve it. Thanks to everyone that have contacted me regarding my scripts. Y our feedback is valuable for future developments!
ACCESS THE INDICATOR
• Contact me on TradingView or use the links below
-----------------
Disclaimer
Copyright by Zeiierman.
The information contained in my scripts/indicators/ideas does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, or individual’s trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My scripts/indicators/ideas are only for educational purposes!
Borjas Tarh RangerBorjas Tarh Ranger
This indicator has a Light ( Low TF ) and a Heavy ( High TF ) lines which are based on Stochastic Calculations.
Best used for Ranging price action .
Light > 80 => Purple Color
Light < 20 => Aqua Color
The Heavy can be Support or Resistance for the Light. Also, you could spot Divergences on both of them.
Besides, the EMA can be used for Support and Resistance as well but the Heavy has more weight than the EMA .
© mrhashem
© Borjas Tarh Company
How to pirnt out siganl price on candleHi, this is Yong from Mby_lab
this codes explain how print out signal price on candles.
only working on 4H timeframe.
Core code based on 3H timeframe so This time close show on 4H, realtime close.
if 3H close fixed, then it will show on 4H line break style and this is not show twice on candle cause like this
When 3H closed / 4H = realtime
4H closed / 3H = realtime
then like this
3am close show 4am candle
6am close show next 4H candle for 8am~
..
.....
enjoy this!
this codes can help solve timeframe / security issues.
//
StOrc
Combining both Stochastic and Stochastic RSI for better data consolidation for more accurate user analysis
The big shortCreated an indicator for overbought zone based on crossover to smooth moving average with RSI and STOCHASTIC for altcoin with alert condition so you can know before exit scam by big whales next time :)
Ultimate Gemstone‘’Ultimate Gemstone = best indicator to accurately predict price movement based on momentum’’
This indicator is combination of multiple indicators (RSI, Stoch, GM, Moving averages & CCI) works on all the trading assets and time frames. Accurately predicts top and bottoms ( tested on all major crypto's, stocks and forex).
Comes with 6 different presets with different calculations giving additional flexibility to the user.
"Instructions How To Use"
This indicator is based on four different moving lines depicting momentum; first line (Aqua) is a fast trend line, which reacts rapidly to existing price action, second line (Purple) is slower and takes more price action into account, while third line (Yellow) is the slowest and depicts overall trend. Additionally, CCI/EMA moving line with changing color's (red/green) acts as a another trend confirmation tool.
The three moving lines acts as support and resistance depending on there location to each other. Non-moving parts include fibonacci support and resistance (68.2 & 38.2) areas of the oscillator. Different caution (Red, Green dots & background flashes) settings based on GM indicator to help identify perfect buying and selling opportunities. Additionally, the oscillator has oversold, overbought, bullish and bearish control zones similar to RSI/Stoch oscillators. Similar to RSI/Stoch divergences and trendlines do also work on this oscillator. Other ways to use is Aqua line crossovers with the Purple line, giving hard buy/sell signals and Aqua(fast) line turning (angle change) indicating momentum is reversing.
Example 1: When faster moving line gets pulled into the medium and slower line (especially in the overbought territory of the oscillator) gives you indication to be prepared as most likely the price will go down. Perfectly called Bitcoin top in 2017.
Example 2: BTC bottom in dec2018 and start of new trend in feb2019
Example 3 BTC Top in june2019
Example 4 works across all time frames, Recent BTC price action from 6500 to 7700.
Example 5 LINKBTC daily
Double Smoothed Stochastic RSI [ChuckBanger]This is a double smoothed stochastic RSI . Stoch RSI is a very good indicator but it can sometimes give the trader false indications because of its jagged (noisy) motion. There is a lot of filters out there that can give a good result but it very often it also adds unacceptable lag. And lag is delaying your decision-making.
This filter is ideal to clean up common technical indicators like stoch RSI , Willams %R or whatever your favorite oscillator you have. The chart here is just an example for demonstrating purposes. But it gives the user a visual representation of how it can look like. And it works on all time frames and markets you can think of...
Stochastic Pro Suite (Zeiierman)█ Overview
Stochastic Pro Suite (Zeiierman) is a full stochastic trading framework built on top of an Efficient Price engine. Instead of feeding the oscillator with raw price data, the script first converts price into a volatility-aware, efficiency-weighted path called Efficient Price and then builds a stochastic on that foundation. Every major component, including EP Stochastic, Significant Stochastic Moves, divergence logic, inefficiency regimes, momentum impulses, and the multi-timeframe dashboard, reads from this refined stream.
The result is a stochastic that still behaves like the familiar 0–100 %K/%D oscillator, but with far more context behind every move. It doesn’t simply tell you where the price is within a recent high–low range; it tells you how reliable that move is, how clean the underlying regime is, and when the internal rotation is stretched. The tool works equally well for traders who like classic overbought/oversold swings and those who prefer higher-level context such as pressure bands, regime shifts, and impulse-driven moves.
⚪ Why This One Is Unique
Most stochastic indicators calculate %K and %D directly from the recent high–low range. Stochastic Pro Suite goes a step earlier in the chain. It first runs the chosen EP source (Close, Mean-reversion, or Trend) through a two-stage Efficient Price model that adapts to volatility, filters out random zigzags, and emphasizes directional quality. Only then is the stochastic calculation applied.
This means that when the oscillator hugs the top of its range, it’s not just reacting to any move up; it’s reacting to price movement that has already passed through an efficiency filter. Shallow, noisy moves tend to be down-weighted; clean, committed pushes stand out more. Around this EP Stochastic core, the script layers:
Significant Stochastic Moves to track internal pressure zones,
Divergence detection based on EP-Stochastic pivots,
An inefficiency layer that flags distorted regimes,
A momentum impulse engine focused on unusually strong surges, and
A dashboard that stitches everything together across multiple timeframes.
█ Main Features
⚪ EP-Based Stochastic
At the core is an EP-Stochastic built on Efficient Price instead of raw highs and lows. The oscillator keeps the classic stochastic look:
0–100 scale,
Upper and lower tension zones,
A midline representing balance,
Signal line via several moving-average types.
What changes is the input: instead of loosely tracking every tick, the EP engine compresses noisy swings and lets structured moves dominate the signal. This makes the stochastic more stable in directionally clean phases and more revealing when the market truly rotates.
You can choose between three EP behaviors to shape how the oscillator responds:
Close
The engine follows price almost one-to-one, but with the benefit of efficiency filtering. This setting is ideal if you want a familiar, general-purpose stochastic feel with fewer random spikes and more meaningful tests of the bands.
Mean-reversion
Here, the EP source emphasizes swing turns and back-and-forth rotation. The stochastic becomes a dedicated swing tool: transitions between upper and lower zones become more pronounced, and range-bound behavior is easier to read. This mode is well-suited for traders who fade extremes or trade oscillations inside a broader sideways structure.
To get better mean-reversal signals, increase the Stochastic Length to 200 and the Efficiency Length to 20.
Trend
In Trend mode, the EP source is smoothed to emphasize directional movement. When a trend is strong, the oscillator stays mostly in one half of its range and usually remains there until the trend begins to weaken. This makes it easier to see whether a pullback is just a pause in the trend or a sign that the structure is starting to roll over.
If you increase the EP Length, a more filtered trend will appear.
⚪ Significant Stochastic Moves
Instead of only watching fixed numerical levels like “80” or “20,” the suite identifies where the oscillator is trading within its own evolving range. Significant Stochastic Moves appear when the EP Stochastic pushes into internally important zones, areas where the market has historically shown heightened reaction or follow-through.
These highlights show when the stochastic is pressing into one of its key pressure zones. This helps you distinguish between normal rotation and moments where the internal push becomes strong enough to deserve attention. To identify significant moves, switch to Mean-reversion mode.
⚪ Divergence Detection
The script includes automatic detection of regular bullish and bearish divergences between the EP-Stochastic and price:
Bullish divergence: price makes a lower low while the EP-Stochastic prints a higher low.
Bearish divergence: price makes a higher high while the EP-Stochastic prints a lower high.
These are drawn directly on the oscillator pane with clear labels. Because the oscillator is driven by Efficient Price, many of the “random” divergences you see with standard stochastic are filtered out, leaving fewer but more structurally relevant signals, especially around extended trends, tight ranges, and turning points. To detect divergence, switch to Mean Reversion mode.
Since this divergence function is based on price-efficiency rather than traditional momentum swings, some divergences may appear a bit unconventional; however, the accuracy is on an entirely different level.
⚪ Momentum Impulses
Momentum impulses focus on moments when the oscillator accelerates unusually quickly relative to its own recent behavior.
Green circles near the upper region highlight powerful bullish surges.
Red circles near the lower region highlight powerful bearish surges.
The underlying logic exaggerates only the strongest deviations and ignores routine oscillation. These impulses often coincide with breakout thrusts, exhaustion spikes, sharp squeezes, or capitulation moves, places where the market briefly abandons its usual rhythm. They’re not a stand-alone trading system, but a visual cue that something unusually strong just happened in the stochastic structure.
⚪ Inefficiency Regime
The inefficiency engine monitors how orderly or distorted the combined price–stochastic behavior is. When the internal regime becomes noisy, spiky, or unbalanced, the script marks blue diamonds around the mid-region of the oscillator.
These diamonds tend to cluster when:
A previously clean trend starts to fragment,
A range becomes unstable and prone to fake breakouts,
Moves extend beyond what the recent structure would consider “normal.”
Used together with Significant Stochastic Moves, impulses, and divergence, these inefficiency markers help you distinguish between healthy follow-through and movement that is increasingly fragile.
⚪ Visual Multi-Timeframe Dashboard
On the right edge of the pane, a compact dashboard summarizes several key elements across 5M, 15M, 1H, 2H, 4H, and 1D:
Signals: immediate directional bias from the stochastic context,
OB/OS flags: stretched conditions by timeframe,
Divergence: where the structure disagrees with price,
Impulse: active momentum bursts,
Inefficiency: unstable or imbalanced regimes,
Explosive: high-energy conditions highlighted by Significant Stochastic Moves.
Think of it as a “stochastic climate map.” Instead of checking six separate charts, you get a quick snapshot of whether lower timeframes are in sync with the higher backdrop, or whether they are fighting each other. This is extremely helpful for multi-timeframe alignment and for deciding when to be aggressive versus when to stay defensive.
█ How to Use
⚪ Classic Stochastic Trading
Interpreting EP-Stochastic is similar to classic stochastic, but cleaner:
Sustained time above the midline signals a bullish rotational bias in the Efficient Price space.
Sustained time below the midline signals a bearish rotational bias.
When the oscillator repeatedly leans against the upper zone with a strong signal line, it indicates firm buyer control; when it leans against the lower zone with a soft or falling signal line, it indicates firm seller control.
When using “Close” as the EP Source, consider increasing the Efficiency Length to above 10 to produce more trend-like behavior.
⚪ Trend Trading
For trend trading, Trend mode is your core setting:
Use Trend mode with a moderate or slightly longer stochastic length.
Watch whether the oscillator lives mostly in the top or bottom half of its range.
Use the dashboard to see if higher timeframes show similar directional signals and OB/OS flags.
Impulse markers and Significant Stochastic Moves can be treated as continuation confirmations when they appear in the direction of the trend. Inefficiency diamonds and fading impulses act as early warnings that the current leg is losing coherence and may transition into consolidation or reversal. Inefficiency diamonds also signal imbalance in the market, where price can move quickly as the structure becomes unstable.
⚪ Pullback Trading
One useful workflow:
Run EP-Stochastic in Trend mode to define the dominant direction and regime.
Overlay a shorter, standard stochastic to spot pullbacks inside that regime.
When the EP-Stochastic clearly favors one side (mostly upper-half behavior in an up move, lower-half in a down move), wait for the short stochastic to cycle into its opposite extreme (oversold in an uptrend, overbought in a downtrend).
Entries during those counter-swings, especially when they coincide with impulse exhaustion in the opposite direction, often give cleaner, better-timed participation in the ongoing trend.
⚪ Overbought/Oversold Trading
Overbought zones represent strong buying pressure. When the stochastic becomes overbought, start watching for signs that buying pressure is fading.
If buying pressure continues, it typically indicates a strong bullish trend.
If the stochastic starts to decline and crosses back under the upper band, it can signal that buying pressure is weakening and a potential reversal is forming.
Oversold zones represent strong selling pressure. When the stochastic becomes oversold, start looking for signs that selling pressure is easing.
If selling pressure persists, it usually indicates a strong bearish trend.
If the stochastic begins to rise and crosses back above the lower band, it can signal that selling pressure is fading and a potential reversal is developing.
⚪ Mean-reversion Trading
Switch to Mean-reversion mode, increase the EP Source Length to 200, and reduce the Stochastic Length to 20 when you’re primarily focused on turning points and range rotation.
Look for clear spikes or peaks in the indicator, short-term bursts that quickly reverse. These moments often signal market conditions with a high likelihood of mean reversion, making a snapback in the opposite direction more likely.
⚪ Divergence Trading
When you want to focus on structural turning points rather than trend following:
Enable divergence detection.
Focus on divergences that form after extended moves or near the outer zones of the oscillator.
Bullish divergences emerging from deep lower regions can confirm early long ideas or justify scaling in as pressure transitions from aggressive selling to rotational buying. Bearish divergences out of extended upper regions can support profit-taking or exploratory short positions. The EP-Stochastic basis helps reduce “false” divergences that arise from random noise.
To get more divergence signals, consider switching to Mean-reversion mode and increasing the Efficiency Length to 20. Keep in mind that some divergences may appear “weird” or different from traditional divergence patterns—this is because they are based on Efficient Price, which uses a completely different detection engine in the background.
⚪ Breakout Trading
For breakout and breakdown scenarios, use:
Significant Stochastic Moves as evidence of a meaningful internal shift,
Impulse markers to confirm that the move is carried by strong momentum,
Inefficiency diamonds to recognize when the structure is becoming unstable.
When price breaks a level and the EP Stochastic prints a Significant Move in the direction of the break, backed by fresh impulses, it signals that the breakout is supported by internal strength.
⚪ Reversal Trading
Enable the reversal signals to identify potential turning points. Use them together with quick peaks in the stochastic oscillator. If the oscillator forms a peak and a reversal signal appears nearby, it strengthens the case for a reversal. However, if a reversal signal prints while the stochastic is simply leaning toward the upper or lower band without forming a clear peak, the signal carries less significance.
⚪ Interpreting Inefficiency Diamonds
Inefficiency diamonds highlight imbalance points in the market. When they appear, they signal that price and order flow are no longer in harmony, creating unstable conditions. These imbalance points often lead to sharp or sudden moves as the market snaps to correct the inefficiency.
Clusters of diamonds indicate a stronger imbalance and a higher likelihood of fast movement or abrupt shifts in direction.
⚪ Overview Panel
Use the multi-timeframe dashboard as a context checklist rather than a mechanical entry system. It quickly answers:
Are lower and higher timeframes pointing in the same direction?
Are multiple frames overbought or oversold at once?
Are impulses and inefficiency regimes showing up in isolation or in clusters?
█ How It Works
⚪ EP Source and Pre-EP Layer
The system begins by selecting an internal driver such as Close, Mean-reversion, or Trend. This source is evaluated through an efficiency model that measures how clean or noisy recent movement has been. Each increment is weighted by its structural quality and volatility conditions, producing a preliminary Efficient Price stream that favors meaningful directional progress over random chop.
Calculation: Applies efficiency weighting, volatility normalization, and adaptive length control. The output is a first-stage EP path that encodes directional reliability.
⚪ Main EP Engine and Adaptive Refinement
The preliminary EP stream is passed through a second refinement stage. This step smooths irregularities, boosts consistent movement, and remains sensitive to shifts in volatility regimes. The result is a fully refined Efficient Price path that forms the input for the EP-Stochastic rather than using raw highs and lows.
Calculation: Uses a second ER pass with volatility moderation and cumulative weighting. The output is the core Efficient Price trajectory used to build the EP-Stochastic.
⚪ EP-Stochastic Construction
Instead of calculating %K from raw price highs and lows, the oscillator is derived from where the refined Efficient Price sits within its own recent EP range. This keeps the stochastic familiar in shape but far more structurally coherent.
Calculation: Determines the EP range over the selected window, computes %K from EP’s position within that range, and applies optional smoothing for the signal line.
⚪ Inefficiency–Trend
This component evaluates the Efficient-Price-driven stochastic through two behavioral lenses: inefficiency and trend. Inefficiency highlights spike-driven, unstable, or imbalanced movement, while the trend component captures underlying slope, persistence, and regime strength. A smooth transition blends these two views depending on the system’s efficiency state.
Calculation: Computes an inefficiency score from ER deviation and a trend score from normalized regression slope. A smoothstep blend transitions between them, and diamond markers appear when the oscillator confirms it is operating inside an inefficiency regime.
⚪ Momentum Impulse
Momentum impulses isolate powerful rotations inside the EP-Stochastic. Only the sharpest acceleration bursts make it through, while routine oscillation is suppressed.
Calculation: Applies chained non-linear transforms to exaggerate extreme deviations, compares them to local historical envelopes, performs a cluster check to avoid false bursts, and marks impulses only when the deviation is structurally significant.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Stochastic Delta PivotsBased on stochastics converging and diverging, identifying pivot points to detect early momentum changes.
DiNapoli Stochastic PredictorStochastic Predictor is a brand new development to the toolkit of DiNapoli traders.
This indicator allows us to identify the price points at which the Stochastic might shift. These points often operate as Support and Resistance.
If you'd like to subscribe to this one or other DiNapoli indicators, please drop me a private message.
LEAN ChangeLEAN = Difference between %K and %D values of stochastic
Change in LEAN is plotted over the bar as a "Circle"
RED Circle => LEAN is decreased from previous value
GREEN Circle => LEAN is increased from previous value
Value of LEAN can be viewed at data window.
Lane's Stochastics (yasujiy)This script is original Lane's Stochastics.
Default script uses SMA for %D, but this %D is calculated separately numerator and denominator.
GBP CopperThis is copper prices in GBP.
After noticing that the FTSE100 shot up in March 2018 very sharply and continued into May while the rest of the world seemed to take its time carrying on until September while the FTSE fell back after its May peak, I wonder if the price of copper had any effect.
So here's the price of Copper in GBP.
TradingView Alerts to MT4 MT5 + dynamic variables NON-REPAINTINGAccidentally, I’m sharing open-source profitable Forex strategy. Accidentally, because this was aimed to be purely educational material. A few days ago TradingView released a very powerful feature of dynamic values from PineScript now being allowed to be passed in Alerts. And thanks to TradingConnector, they could be instantly executed in MT4 or MT5 platform of any broker in the world. So yeah - TradingConnector works with indices and commodities, too.
The logic of this EURUSD 6h strategy is very simple - it is based on Stochastic crossovers with stop-loss set under most recent pivot point. Setting stop-loss with surgical precision is possible exactly thanks to allowance of dynamic values in alerts. TradingConnector has been also upgraded to take advantage of these dynamic values and it now enables executing trades with pre-calculated stop-loss, take-profit, as well as stop and limit orders.
Another fresh feature of TradingConnector, is closing positions only partly - provided that the broker allows it, of course. A position needs to have trade_id specified at entry, referred to in further alerts with partial closing. Detailed spec of alerts syntax and functionalities can be found at TradingConnector website. How to include dynamic variables in alert messages can be seen at the very end of the script in alertcondition() calls.
The strategy also takes commission into consideration.
Slippage is intentionally left at 0. Due to shorter than 1 second delivery time of TradingConnector, slippage is practically non-existing. This can be achieved especially if you’re using VPS server, hosted in the same datacenter as your brokers’ servers. I am using such setup, it is doable. Small slippage and spread is already included in commission value.
This strategy is NON-REPAINTING and uses NO TRAILING-STOP or any other feature known to be faulty in TradingView backtester. Does it make this strategy bulletproof and 100% success-guaranteed? Hell no! Remember the no.1 rule of backtesting - no matter how profitable and good looking a script is, it only tells about the past. There is zero guarantee the same strategy will get similar results in the future.
To turn this script into study so that alerts can be produced, do 2 things:
1. comment “strategy” line at the beginning and uncomment “study” line
2. comment lines 54-59 and uncomment lines 62-65.
Then add script to the chart and configure alerts.
This script was build for educational purposes only.
Certainly this is not financial advice. Anybody using this script or any of its parts in any way, must be aware of high risks connected with trading.
Thanks @LucF and @a.tesla2018 for helping me with code fixes :)
Apirine Stochastic MACD w/ MA Selection by Cryptorhythms📊 Apirine Stochastic MACD w/ MA Selection by Cryptorhythms
Intro
Had to re-release due to moderation.
This happens to be my first open source indicator, hope you all enjoy it!
Description
This indicated is ported from November 2019 issue of TASC. “The Stochastic MACD Oscillator” in this issue, author Vitali Apirine introduces a new indicator created by combining the stochastic oscillator and the MACD . He describes the new indicator as a momentum oscillator and explains that it allows the trader to define overbought and oversold levels similar to the classic stochastic but based on the MACD .
Options
-You can enable bar coloration for trade state (signal conditions setup in the "long" and "short" variables).
-You can choose histogram or columns for the convergence/divergence display.
-You can turn on/off and adjust the overbought / oversold zones.
-You can choose what type of moving average to use in the calculation from a small selection of options. This gives you more flexibility to adapt the indicator to your needs.
👍 We hope you enjoyed this indicator and find it useful! We post free crypto analysis, strategies and indicators regularly. This is our 70th script on Tradingview!
🤐Check my Signature for other information
StochRF V3 [NXT2017] - modified StochRSI / Stochastic RSIHI BIG PLAYERS,
here is my modified Stochastic RSI indicator with the same signals, but less noise.
Kind regards
NXT2017






















