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.
Oscilador Estocástico
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
ANN Forecast Stochastic Oscillator [Noldo] In this script, I tried to integrate ANN Forecast Algorithm on Stochastic Oscillator.
It took me quite a while, but i guess it worth.
After selecting the ticker, select the instrument from the menu and the system will automatically turn on the appropriate Forecast Stoch system.
The system is trained with ANN values of ANN MACD 25 in 1.
The Forecast algorithm is not open-source.
But I'm never remove this script.
You can use it forever for free.
As you can see in the presentation, although it is in the same period, it is more accurate and agile than standard Stochastic Oscillator .
I think even a bar is important in trade.
For those who don't see that command,listed instruments with alternative tickers and error rates:
WTI : West Texas Intermediate (WTICOUSD , USOIL , CL1! ) Average error : 0.007593
BRENT : Brent Crude Oil ( BCOUSD , UKOIL , BB1! ) Average error : 0.006591
GOLD : XAUUSD , GOLD , GC1! Average error : 0.012767
SP500 : S&P 500 Index ( SPX500USD , SP1! ) Average error : 0.011650
EURUSD : Eurodollar ( EURUSD , 6E1! , FCEU1!) Average error : 0.005500
ETHUSD : Ethereum ( ETHUSD , ETHUSDT ) Average error : 0.009378
BTCUSD : Bitcoin ( BTCUSD , BTCUSDT , XBTUSD , BTC1! ) Average error : 0.01050
GBPUSD : British Pound ( GBPUSD , 6B1! , GBP1!) Average error : 0.009999
USDJPY : US Dollar / Japanese Yen ( USDJPY , FCUY1!) Average error : 0.009198
USDCHF : US Dollar / Swiss Franc ( USDCHF , FCUF1! ) Average error : 0.009999
USDCAD : Us Dollar / Canadian Dollar ( USDCAD ) Average error : 0.012162
SOYBNUSD : Soybean ( SOYBNUSD , ZS1! ) Average error : 0.010000
CORNUSD : Corn ( ZC1! ) Average error : 0.007574
NATGASUSD : Natural Gas ( NATGASUSD , NG1! ) Average error : 0.010000
SUGARUSD : Sugar ( SUGARUSD , SB1! ) Average error : 0.011081
WHEATUSD : Wheat ( WHEATUSD , ZW1! ) Average error : 0.009980
XPTUSD : Platinum ( XPTUSD , PL1! ) Average error : 0.009964
XU030 : Borsa Istanbul 30 Futures ( XU030 , XU030D1! ) Average error : 0.010727
VIX : S & P 500 Volatility Index (VX1! , VIX ) Average error : 0.009999
ES : S&P 500 E-Mini Futures ( ES1! ) Average error : 0.010709
SSE : Shangai Stock Exchange Composite (Index ) ( 000001 ) Average error : 0.011287
XRPUSD : Ripple (XRPUSD , XRPUSDT ) Average error : 0.009803
Extras :
- Crossover and crossunder alerts
- Switchable barcolor
NOTE :
Australian Dollar / US Dollar ( AUDUSD ) removed due to high average error. (Average error > 0.013 )
Timeframe advice :
I suggest you to use that system TF >= 1D
My favorite is 1 week bars. (1W)
More info about forecast series (My last forecast example ) :
Special thanks :
Special thanks to dear wroclai for his great effort .
NOTE : I decided to build Autonomous LSTM on Stochastic Oscillator , i think Stochastic Oscillator one of the best and it contains naturally high-lows.
Stochastic Trend Indicator [ChuckBanger]This is a trend indicator based on the calculation of time on stochastic, money flow, rsi and bollinger band calculations. The indicator consists of two lines and a histogram. The histogram is the difference between the two lines. This indicator should be interpreted as a regular MACD indicator.
The indicator can be configured and operated in various ways. It can be used by simply interpret the histogram zero line crossings, or interpret the red and green line crossings alone or both together.
Operating this trend indicator is not difficult, it gives many possibilities of presenting many differnet signals, more than the usual in this type of indicators. In principle, it can be used as a regular MACD. So if you are familuar with MACD, use this the same way and you will be reworded heavily.
How to use it
When the green line is above the red line the time is positive and the price is likely to increase and the opposite is true if red line is under the green line. But the most aggressive user will quickly realize that it also offers the possibility to trade between extremes of the green line and even by divergence between the indicator histogram and price action or green line and price action. Where divergences is more power full.
Divergences
docs.google.com
Divergences can easily be spotted in this Indicator but can also be spotted in several other Oscillators, such as RSI, StochRSI, MACD, CCI, OBV, etc.. and they can be Bullish or Bearish.
Price action (I’m using PA from now on) and Oscillators can follow the same path. It is when they don’t it’s called Divergence. But be aware so you don’t identify them wrongly as they can also be Convergences. Convergences is when PA follows the indicator.
The so called “Divergence” in Stock, Crypto or whatever market you trade is when PA and oscillator are following different paths = PA and Oscillator diverging. They can be strong, medium, weak or hidden, in my link above I also classified them as class A, B and C for strong, medium and weak.
While divergences (class A, B and C) is a sign of reversal being close, hidden divergences is a continuation of the trend pattern. They work 90% of the time although but there is no time frame when it will happen. Many times they create 3 legs up or down when it becomes very strong and can work as an entry as it is time to reserve or continuation of the trend. In this cases the first two is wrong but the last is often very strong.
Bullish divergence
When PA makes a flat bottom or lower low and higher low on Oscillator. The opposite is convergence.
Pay attention to the fact that PA and Oscillator trend is measured from below.
Bearish Divergence
When Price Action makes a flat top or higher high and higher low on Oscillator. The opposite is convergence.
Pay attention to the fact that PA and Oscillator trend is measured from above.
Hidden Bullish Divergence
When Price Action makes a higher lows and lower lows on Oscillator. Hidden Bullish Divergence is telling us that Oscillator is recharging to go back up again. Continuation of an uptrend.
Pay attention to the fact that PA and Oscillator from below (swing lows on the way up). Normally when in uptrend.
Hidden Bearish Divergence
When PA makes higher lows and higher highs on Oscillator. Hidden Bearish Divergence is telling us that Oscillator is creating space to go back down again. Continuation of downtrend.
Pay attention to the fact that PA and Oscillator (swing highs on the way down). Normally in downtrend.
Histogram
You can also traded this indicator with histogram crossing the zero line. When the histogram crosses down below zero line it is a bearish sign and when it crosses up it is a bullish sign
DiNapoli Preferred Stochastic Oscillator [ChuckBanger]In the late 1950s, George Lane developed stochastics, an indicator that measures the relationship between an issue's closing price and its price range over a predetermined period of time. This is Joe DiNapoli version of stochastic oscillator. Use it as you wold use a regular stochastic indicator.
Multiple Time Frame: RSI - Stochastic - Stochastic RSIDeveloped per request.
An RSI, Stochastic, and Stochastic RSI oscillator all in one.
Use the drop down selection to choose which of the 3 indicators to view. Each indicator has the option to show 3 time frames. Time frames are entered in minutes, for example, to view the 1 hour, 4 hour, and 6 hour, enter 60, 240, and 360 in the respective option windows. Currently, the indicator has the Daily as a max resolution (1440 minutes). This might be changed in a future update.
The oscillator has been centered, as opposed to the normal 0-100. There are overbought and oversold boundaries defaulted at 40 and -40, respectively. When any of the 3 main indicators cross one of these boundaries, either a green or red signal is displayed. This can be turned off in the options.
A "Total Line" and "Average Line" can be toggled on/off in the options. The "Total Line" is a simple summation of each of 3 main indicator lines. The "Average Line" is the average of the 3 main indicator lines. If you wish to only view one or both of these lines, the main 3 indicator lines can be turned off in the "Style" section of the options. The "Average" and "Total" lines do not highlight if they cross the upper and lower boundaries.
|-ML-| C4 - Amplified Volume Directional Bias OscillatorThis indicator presents an oscillator that suggests volume directional bias.
Colour switch (blue to ice-blue and red to maroon) confirms oscillator turnaround.
Confirmed divergences flag a trend change that can be used as a trade entry aid.
I suggest changing your candlesticks as follows:
Border: black
Wicks: grey
3 complex stochastics by JYPThis indicator contains 3 complex stochastics.
Each complex stochastic has 4 elements like below :
1 %K value
4 %D values
1 Smooth value
2 custom alerts of %K at 0 and %K at 100
You can catch the most important moments (like %K attatches at 100 or 0, 4 %Ds crossover the %K...)
3 complex stochastics are available but you have on off option in the setting menu of this indicator.
Stoch Divergence PointerThis script points regular and optionally hidden types of bullish and bearish Stoch divergences on the chart by drawing the divergence lines and optionally labels.
Hidden divergence is disabled by default, it can be enabled over settings window.
Regular divergence is enabled by default, it can be disabled over settings window.
There is an option to display the price channel additionally.
Added alerts for all types of divergences.
Easy to Use Stochastic + RSI StrategyA simple strategy that yields some great results.
CODE VARIABLES
LINE 2 - Here you can change your currency and amount you want to invest on each entry.
LINE 10/11/12 - Here we establish what date we want to start backtesting from. Simply change the defval on each line to change the date (In the code below we start on Jan 1st, 2014).
LINES 19 through 27 - Here we set our Stochastic and RSI sensitivity (Currently %K = 14, %D = 3, RSI = 14). Change these to your preference.
LINE 39/41 - Here we execute our orders (Currently set when %K crosses %D under the 20 value and RSI is less than 50 to BUY, %K crosses %D above the 80 value and RSI is greater than 60 to SELL). Change these to your preference.
NOTE: As a beginner you may not want to short stock, therefore LINE 6 was added to only allow long positions.
I didn't overlay the RSI value over the Stochastics because it was too cluttered. Just add the RSI indictor seperately to your layout.
As always, couple this with trend following and exit/entry rules to make the profitability even higher!
Cheers!
PtahX's Slow Stochastic with AlertsPtahX Slow Stochastic
converted to Pinescript Version 4
initial code thanks to Oshri17 !!
PtahX Version
converted to version 4
modified color scheme
Upper and lower band crossing alerts added (Entrance & Exit)
Modified Stochastic MACD Oscillator - Vitali ApirineFor all MACD enthusiasts out there, hot off the press, I present this next generation "Modified Stochastic MACD Oscillator" employing PSv4.0, originally formulated by Vitali Apirine for TASC - November 2019 Traders Tips. Just when you may have thought it was the end of the evolutionary line for MACD technology, it's not! Basically it's a NEW hybridization of a MACD and stochastic rolled into one, maintaining scale symmetry to support overbought/oversold defined levels across time frames and assets, unlike the ordinary MACD. On the ordinary MACD, this is virtually impossible to do properly, and trust me, I have tried with zero success. My less than 40 line implementation, at initial release, is a heavily modified version of the original indicator using novel techniques, surpassing not only Apirine's original intended design, but also the "contemporary MACD" provided by TV, visible on the bottom of the chart.
Utilizing the "Power of Pine", I included the maximum amount of features I could surmise in an ultra small yet powerful package. I provided an abundance of control over each feature as an attempt to create another heavenly MACD experience in an open source package, only rivaled by my "Ultimate MACD Super Pack". Configurations are displayed above in multiple scenarios that should be suitable for most traders. Of notable mention, I rescaled the oscillator more towards a zero mean unity scale, while still leaving the waveforms completely intact.
Features List Includes:
Dark Background - Easily disabled in indicator Settings->Style for "Light" charts or with Pine commenting
AND much, much more... you have the source!
For those of you who are new to Pine Script, this script also may help you understand advanced programming techniques in Pine and how they may be utilized in a most effective manner. I would like to see Tradingview become the go to platform for the best MACD indicators attainable with this contribution to the TV community. This is commonly what my dense intricate code looks like behind the veil, and if you are wondering why there is no notes, that's because the notation is in the variable naming. If you wish to contribute additional ideas, please do so below in the comments about all things MACD in Pine.
NOTICE: Copy pasting bandits who may be having nefarious thoughts, DO NOT attempt this, because this may violate Tradingview's terms, conditions and/or house rules. "WE" are always watching the TV community vigilantly for mischievous behaviors and actions that exploit well intended authors for the purpose of unscrupulously increasing brownie points in reputation scores. Hiding behind a "protected" wall may not protect you from investigation and account penalization by TV staff. Be respectful, and don't just throw a meaningless feature in there branding it as "your" gizmo. Fair enough? Alrighty then... I firmly believe in "innovating" future state-of-the-art indicators, and please contact me if you wish to do so.
The comments section below is solely just for commenting and other remarks, ideas, compliments, etc... regarding only this indicator, not others. When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section if you do have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members, I may implement more ideas when they present themselves as worthy additions. As always, "Like" it if you simply just like it with a proper thumbs up, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
Schaff Trend Cycle [ChuckBanger]The Schaff Trend Cycle is a method, developed by Doug Schaff and based on the concept that trends also have repeating high and low patterns, or cycles. This is a modified MACD line, run through a modified stochastic algorithm and smoothed with Wilders’ smoothing in order to estimate the final Schaff Trend Cycle (STC) indicator. Its purpose is to identify the direction, in which a trend cycle is moving and possible peaks and bottoms within this cycle.
If this is interesting you should also take a look at MACD Leader:
For more info about Schaff Trend Cycle Indicator:
www.investopedia.com
[AU] Waves+ Waves+ v0R7b
Plus version of Waves with components from both Waves Advanced and Mnemosyne. Essentially, Waves+ is highly configurable hybrid wavetrend oscillator and Fibonacci oscillator.
Slow wavetrend component replaced by Follower/Base from Mnemosyne indicator
TTM Squeeze Loose/Strict + Explosion Zones now enabled by default
Extreme Caution Fast Wavetrend Line, Fast wavetrend and Extreme Caution Fast WT cross signal now available
Disabled/removed to speed up script performance and load time: Divergence component, stoch k crossovers, T1 signals. Draw objects reduced from 89 to 64 to conform to Pinescript v4 requirements.
Large inactive code blocks stripped/removed to speed up performance and load time
Smurf_Disco_1This is one of the primary indicators for the Smurf_Disco suite - it is a multi-time-frame (modified) stochastic series. Helpful on its own (google MTF stochastics to find some strats and modify settings as you see fit). A part of the Disco, tho.
CBCI RSI ParallelParallel version of CBCI Cu + RSI w/ SMA and EMA. It's both indicators, but combined into one indicator space with an adjustable bidirectional offset for the spacing and location.
According to Constance Brown, both the CBCI and RSI are technically supposed to be used in tandem to easily spot divergences - this is an attempt to put that into practice, in one indicator, in the context of tradingview subscription limitations for non Pro/Premium users.
cbci-mModified CBCI with the Composite disabled by default and two additional optional EMAs + hlc3 default source.
BOSS Relative Strength MeterTHE BEST FOREX, STOCKS, COMMODITIES , AND CRYPTO INDICATORS FOR TRADINGVIEW.COM
The relative strength meter (RSM) is a momentum indicator that measures the magnitude of recent price changes to evaluate overbought or oversold conditions in the price of a stock or other asset.
The RSM is displayed as a color coded meter.
GREEN: Bullish Uptrend
RED: Bearish Downtrend
YELLOW: Disbursement
Highlights:
Add to any chart or time frame
Prints on the current bar in real time
DOES NOT repaint several bars after the fact
Freedom to Tune
User can change colors
Available Here: bosscripts.com
7_Day Trial: bosscripts.com
[Coingrats]RSI Divergence + StochRSIThis indicator shows the RSI and StochRSI. RSI divergence will also be marked.
- Bullish divergence - green triangle,
- Hidden bullish divergence - gray triangle
- Bearish divergence = red triangle
- Hidden bearish divergence - gray triangle
Credits to BabyWhale83 for the code to spotting divergence
WANNA TIP ME? BUY ME SOME BEERS!
BTC: 3BMEXX5JrX94ziUSoQMLEmi51WcYwphAg3
ETH: 0x541e504bb461aa141de6ddce09dc89eb16f58f9c
LTC: LPBJXzUZJksCuCK27AY2qAVYGGGiUfejok
DON'T FORGET TO LOOK AT OUR SITE MYCRYPTODARAR.COM
Function : Stochastic Oscillator Here is the Stochastic Oscillator function.
Now you can easily use length with mutable variables !!