ck - Crypto Correlation IndicatorA simple Correlation Indicator initially configured for Crypto Trader use (but other markets can use this too).
It plots the correlation between the current chart (say BTCUSD ) versus 4 user-definable indices, currency pairs, stocks etc.
By default, the indicator is preconfigured for:
GOLD (Oz/$),
Dow Jones Index (DJI),
Standard & Poor 500 Index (SPX) ,
Dollar Index ( DXY )
You can set the period (currently 1D resolution) in the "Period" box in the settings, valid inputs are:
minutes (number), days (1D, 2D, 3D etc), weeks (1W, 2W etc), months (1M, 2M etc)
Length is the lagging period/smoothing applied - default is 14
When changing comparison instruments/tickers, you may find it useful to prefix the exchange with the instrument's ticker, for example:
Binance:BTCUSDT, NYSE:GOOG etc
*** Idea originally from the brilliant Backtest Rookies - backtest-rookies.com ***
Cari dalam skrip untuk "spx"
Intelligent Exponential Moving Average Private AccessView the full documentation on this indicator here: www.kenzing.com
Note: This indicator is now intended for those who have been granted private access and may be more frequently updated than the previous versions.
Introduction
This indicator uses machine learning (Artificial Intelligence) to solve a real human problem.
The Exponential Moving Average ( EMA ) is one of the most used indicators on the planet, yet no one really knows what pair of exponential moving average lengths works best in combination with each other.
A reason for this is because no two EMA lengths are always going to be the best on every instrument, time-frame, and at any given point in time.
The " Intelligent Exponential Moving Average " solves the moving average problem by adapting the period length to match the most profitable combination of exponential moving averages in real time.
How does the Intelligent Exponential Moving Average work?
The artificial intelligence that operates these moving average lengths was created by an algorithm that tests every single combination across the entire chart history of an instrument for maximum profitability in real-time.
No matter what happens, the combination of these exponential moving averages will be the most profitable.
Can we learn from the Intelligent Moving Average?
There are many lessons to be learned from the Intelligent EMA . Most will come with time as it is still a new concept. Adopting the usefulness of this AI will change how we perceive moving averages to work.
Limitations
Ultimately, there are no limiting factors within the range of combinations that has been programmed. The exponential moving averages will operate normally, but may change lengths in unexpected ways - maybe it knows something we don't?
Thresholds
The range of exponential moving average lengths is between 5 to 40.
Additional coverage resulted in TradingView server errors.
Future Updates!
Soon, I will be publishing tools to test the AI and visualise what moving average combination the AI is currently using.
Follow and like for more content!
Intelligent Moving Average Private AccessNote: This indicator is intended for those who have been granted private access and may be more frequently updated than the previous versions.
Introduction
This indicator uses machine learning (Artificial Intelligence) to solve a real human problem.
The Moving Average is the most used indicator on the planet, yet no one really knows what pair of moving average lengths works best in combination with each other.
A reason for this is because no two moving averages are always going to be the best on every instrument, time-frame, and at any given point in time.
The " Intelligent Moving Average " solves the moving average problem by adapting the period length to match the most profitable combination of moving averages in real time.
How does the Intelligent Moving Average work?
The artificial intelligence that operates these moving average lengths was created by an algorithm that tests every single combination across the entire chart history of an instrument for maximum profitability in real-time.
No matter what happens, the combination of these moving averages will be the most profitable.
Can we learn from the Intelligent Moving Average?
There are many lessons to be learned from the Intelligent Moving Average. Most will come with time as it is still a new concept.
Adopting the usefulness of this AI will change how we perceive moving averages to work.
Limitations
Ultimately, there are no limiting factors within the range of combinations that has been programmed. The moving averages will operate normally, but may change lengths in unexpected ways - maybe it knows something we don't?
Thresholds
The range of moving average lengths is between 5 to 40.
Additional coverage resulted in TradingView server errors.
Future Updates!
This indicator will be maintained and many updates will come in the near future! Stay tuned.
View the documentation on this indicator here: www.kenzing.com
A.I.Driven TradersAI Model Trades for 20190612The entry and exit levels here are NOT derived from any specific indicator but are coming from our A.I. driven proprietary models.
This is an attempt at exploring the trading community here at TradingView and sharing our daily trading plans published at our site with the community here in the form a Pine Script - just starting and learning this platform. Please help point out any obvious errors or gotchas committed in the scripts. Thanks and have a great trading day!
**** The Trading Plan Published for today ****
>>>> Medium-Frequency Models: <<<<< For today, Wednesday 06/12, our medium-frequency models indicate using the 2895 as a pivot point - opening a long on a break above 2895, and opening a short on a break below 2895 (wait for a close on at least a five minute chart to determine the break), both sides with a 9-point trailing stop.
Note: For the trades to trigger, the breaks should occur during the regular session hours starting at 9:30am ET. By design, these models do NOT open any new positions after 3:45pm. Only one open position at any given time.
>>>>> Aggressive Intraday Models: <<<<< For today, Wednesday 06/12, our aggressive intraday models indicate going long on a break above 2892 or 2875 with an 6-point trailing stop, and going short on a break below 2887 or 2878 with an 8-point trailing stop.
Note: For the trades to trigger, the breaks should occur during regular session hours starting at 9:30am ET. Due to the intraday nature of these aggressive models, they indicate closing any open trades at 3:55pm and remaining flat into the session close. No opening of new positions after 3:45pm. Only one open position at any given time.
PpSignal Spread Between Stock and Reference Indexindicator correlation stock, crypto or fx pair with a reference index. for example eurusd and dxy.
we can also obtain the relationship between an asset and its index (spread).
For example, if I want to know what is the correlation of APPLE with its referendum index: it is appl and spx
is calculated based on CFB. if you need more information send me a email to oaperuchena41@gmail or send me a private message
™TradeChartist Entry/Exit Indicator™TradeChartist Entry/Exit Indicator is an easy to use indicator that plots very high probability BUY and SELL signals on the chart along with an optional dynamic trigger line for SELL and BUY which can be used as a reference for Stop Loss/ Trailing Stop Loss.
What does the ™TradeChartist Entry/Exit Indicator do?
Plots very high probability BUY and SELL signals on chart
Plots dynamic BUY or SELL trigger lines that can be used to
---------1. Set Stop Loss reference or Trailing Stop Loss.
---------2. Anticipate change in trend/momentum when price breaches the trigger line.
Plots BUY and SELL price lines which are Candle open prices when BUY/SELL signals are posted.
Alert traders when BUY/SELL signal is generated and Trigger for BUY/SELL is breached.
Plots Background vertical Signal break lines at BUYs in green and at SELLs in red.
Plots % Gains based on candle close in real-time and based on candle high for BUY/candle low for SELL on previous candles calculated from the candle open price at BUY/SELL.
Plots RSI colour candles based on user preferred Overbought and Oversold RSI levels from indicator settings.
Paints background colour for BUY and SELL zones which can be changed from indicator settings under Style tab to personalise the chart screen.
What markets can this indicator be used on?
Forex
Stocks
Commodities
Cryptocurrencies
and almost any asset on Trading View
Works really well when there is good volume, volatility or both in the asset observed/traded.
Does this indicator repaint?
No and Yes
Once the confirmed BUY (in green) and SELL (in red) signals are posted after a candle close, it doesn't repaint.
Repainting happens for real time BUY and SELL trigger plots on the current candle as price tries to breach the trigger line.
For confirmed BUY and SELL alerts, use alerts on candle close. Real-time BUY and SELL trigger alerts can also be set.
Does the indicator send alerts when a signal is generated?
Yes, traders can get alerts by setting Trading View alerts for BUY/SELL Signals and BUY/SELL Triggers. For confirmed BUY/SELL alerts, 'Once per bar close' must be used.
Why are there two Signal Generator types in the indicator settings?
The two types of signal generators cater to almost all types of traders and trade types. Some assets perform well with Type 1 and some assets with Type 2. Also some traders prefer Type 1 and some prefer Type 2 based on variation in frequency of signals on the asset observed. Both types can be used along with 'Use Heikin Ashi Candles' from the indicator settings to have more combinations to test on an asset for maximising gains.
Type 1 on GBPUSD 1hr chart
Type 2 on GBPUSD 1hr chart
Type 1 normally works well with most types of assets.
Should the indicator be used on normal candles or Heikin Ashi candles?
The indicator can be used on either of the candle types. If signals from Heikin Ashi chart needs to be plotted on normal chart, just check 'Use Heikin Ashi Candles' from indicator settings. It may not be exact, but very close as it mimics Heikin Ashi chart trend.
Heikin Ashi charts are recommended to spot trends and reversals but they don't reflect real OHLC values in the candles, so BUY/SELL entry price points may not be ideal using Heikin Ashi charts especially when there are gaps in price action (example Stocks, FOREX, Commodities). For real OHLC prices and to know exact price points for entering/exiting trade, use normal candlestick charts. It is purely for this reason Heikin Ashi chart signals can be mimicked on normal candles using 'Use Heikin Ashi Candles' option from settings without having to switch between the two.
It can be seen from the GOLD 1hr charts above (Heikin Ashi on left and normal candlestick chart on right), the indicator mimics signals sensibly (not copy) and doesn't use same entry values as Heikin Ashi chart to aid the trader with practical trade execution.
How do the Trigger Lines work and should they be used?
Trigger for BUY/SELL lines are coded to adapt to bull and bear power in the asset trading environment and helps the trader to anticipate change in trend based on direction of price momentum when enabled from indicator settings (On by default). Traders can use trigger lines as reference for Stop Loss points. For example, when a BUY signal is posted, the 'Trigger for SELL' can be used as initial Stop Loss reference and as price starts going up, the trigger line starts moving up enabling the trader to use it as a trailing stop loss point which helps secure or lock profits as they act as ideal support/resistance lines based on the type of trade too. BUY/SELL Trigger lines can be enabled or disabled from indicator settings 'Inputs' tab.
Also, the trigger lines can alert traders to anticipate change in trend/momentum when price hits them and it helps them take a position, either Long or Short when confirmed BUY/SELL signal is posted. As price tries to breach the trigger lines, they change from 'Trigger to BUY/SELL' to 'BUY/SELL Triggered' as shown below on 1hr Gold chart. This feature is coded purely to signal the trader a potential change in trend/momentum. The trigger lines also act as strong support/resistance so only a confirmed close above them will ensure a High Probability Trade.
It should also be noted that price tends to test the BUY/SELL trigger lines to see if a breach is possible. A rejection at trigger lines could mean trend continuation in the signal direction. Traders could use other trend indicators like Ichimoku cloud, stoch, TRIX etc. to make an informed trade decision here. In the chart below, the 'BUY triggered' label has changed back to 'Trigger for BUY' as price failed to close above it.
What is the use of 'Plot BUY/SELL Price Line'?
Enabling BUY/SELL price line from settings (On by default) plots the price line corresponding to candle open when BUY/SELL signals were posted on the chart by the indicator. Open price is used as it is close to the trigger lines and is a fair reference point for indicator to calculate the gains plot on chart since BUY/SELL signals.
Can trade gains be plotted on chart and how are they calculated?
To show percentage gains on chart, just enable 'Show % Gains on Chart' from indicator settings (Off by default). As explained above, % gains are calculated from BUY/SELL candle Open price to high (for Long trades) or low (for Short trades) and to current candle close (for both Long and Short trades) as it helps see real-time gains from BUY/SELL candle Open price. The % gains are plotted as below.
0 - 0.75% - ↑ in green
0.75-1.5% - 1% in green
1.51-2.5% - 2% in green
2.51-3.5% - 3% in green
3.51-4.5% - 4% in green
4.51-5.5% - 5% in green
5.51-10.5% - 5+% in green
10.51-20% - 10+% in green
20+% - 20+% in green
Down from Entry - ↓ in red
What are RSI Colour Candles?
RSI Colour Candles are visual candle plots in colour (Blue when RSI>60, Yellow when RSI<30 and On by default) that help trades spot RSI levels at a glance visually from the chart in real-time without the need for another indicator on screen. Traders can also choose the source to be used for plotting RSI colour candles from indicator settings input tab and change candle colours from indicator settings style tab. The length for RSI calculation is 14 and works well for almost any trading scenario and cannot be changed from indicator settings. The default overbought RSI is set at 60 as it helps spot momentum increase and big moves happen above 60 RSI. When deciding to sell or buy, RSI can be tuned from settings to spot decent entry or exit. For example, RSI>80 on a red Heikin Ashi candle (blue body and red border) after an uptrend could signal potential sell-off or RSI<30 on a green Heikin Ashi candle (yellow body and green border) after a down trend could signal a good move up. In the example daily chart of RVN-BTC below, RSI>75 on a red Heikin Ashi candle signalled a potential sell off way before the actual SELL signal plot on chart.
What is the use of Signal Break Line Plot and Paint Background options from indicator settings?
Signal break lines can be useful if traders prefer to switch off BUY/SELL signals from indicator settings to show where previous signals were generated. (On by default)
Paint Background is just a nice to have feature that paints the signal zones to personalise the chart screen. (Off by default). The background paint colours can be changed from indicator settings style tab.
4hr SPX chart below showcases the difference when the Signal Break Lines and Background Paint options are used with BUY/SELL signals switched off.
Important Note:
When using this indicator on a chart, check 'Scale Price Chart Only' and 'Auto (Fits Data to Screen)' by clicking on settings wheel on the bottom right under the chart screen as shown below. If not checked, the chart screen will look like one on the left as shown below.
-----------------------------------------------------------------------------------------
This is not a free to use indicator. Get in touch with me if you would like access to the indicator for a 1 day trial before deciding on a paid access for a period of your choice. Monthly, Quarterly, Half-Yearly and 1 Year access available.
-----------------------------------------------------------------------------------------
Kal’s MTF ADX Rangoli RollerKaly MTF ADX Rangoli Roller is a method/study for finding trending stocks, indexes and cryptocurrencies using two different data periods (10, 5) of ADX Overlap over different time-frames (10m, 1H, 4H, 1D, 1W, 1M). In the study, I used 5-Period ADX for all mentioned time-frames. You may use 10-Period ADX for lower time-frames especially 10m and 1H.
Sample Image of the pinescript code(at the end of this post) in Tradingview looks as follows:
Note: Kal's MTF ADX Rangoli Roller is the lower Plot. The upper plot is KAL’s ADX Overlap Technical Study with MACD Filter( )
Description:
----------------
In the study plot, the lowest row is 10m, row above is 1H, row above is 4H, then 1D, then 1W and highest row is 1M
Lime(Bright Green) dot implies Trending Uptrend for that time-frame (first phase)
Green dot implies Trending Uptrend for that time-frame (second phase near exhaustion)
Red dot implies Trending Downward for that time-frame (first phase)
Maroon dot implies Trending Downward for that time-frame (second phase near exhaustion)
Lime cross implies Strong Trending Uptrend for that time-frame (first phase)
Green cross implies Strong Trending Uptrend for that time-frame (second phase near exhaustion)
Red cross implies Trending Strong Downward for that time-frame (first phase)
Maroon cross implies Trending Strong Downward for that time-frame (second phase near exhaustion)
Yellow is ‘Squeeze On’ setting. During the squeeze period, the ADX signals are almost always ineffective. One may wait and watch over during this time. Once the Squeeze is released (i.e. no longer yellow), the trend corresponds to the color of the dots and crosses.
Black is CRSI Overbought condition for that time-frame. It’s best to wait and research for possibility of trend reversal because
1. Profit-booking/trimming happens after CRSI Overbought condition.
2. Large Short-sellers may take huge positions during this time pushing the stock prices up.
White is CRSI Oversold condition for that time-frame. It’s best to wait and research for possibility of trend reversal because
1. Profit-booking/trimming happens after CRSI Oversold conditions.
2. Large buyers may take huge positions during this time pushing the stock prices down.
I am a disabled man. Therefore, I am not able to write in detail here today. More Details will follow as time permits. Please let me know if I am missing anything…
Legal Disclaimer: I published here so I get replies from fellow viewers to educate myself and for my daily expenses. Hence, if anyone uses this script for making their decisions, I am not responsible for any failures incurred.
Safe Trading!
Kal Gandikota
PS: If you found this script interesting and edifying please follow and upvote.
PS2: Please kindly donate for my daily expenses (atleast as you would on streets) at the following addresses:
BTC Wallet: 1NeDC1GvpFa49DFLuT1v28ohFjqtoWXNQ5
ETH Wallet: 0x35e557F39A998e7d35dD27c6720C3553e1c65053
NEO Wallet: AUdiNJDW7boeUyYYNhX86p2T8eWwuELSGr
PS3: For more information on ADX and CRSI, please 'Google' or search here yourself.
PS4: This study is intended for research in creating automated Python Trading Systems using Pandas( steemit.com ).
Screenshots of the pinescript code looks as follows:
10minute Screenshot of Kal's MTF ADX Rangoli Roller (Above)
1 Hour Screenshot of Kal's MTF ADX Rangoli Roller (Above)
4 Hour Screenshot of Kal's MTF ADX Rangoli Roller (Above)
1 Day Screenshot of Kal's MTF ADX Rangoli Roller (Above)
1 Week Screenshot of Kal's MTF ADX Rangoli Roller (Above)
1 Month Screenshot of Kal's MTF ADX Rangoli Roller (Above)
PpSignal Acceleration BandsAcceleration Bands
Description:
Adaptive bands that contain 95% of price action usually used in 20 or 80 bar periods. Trading signals occur when price action is confirmed outside the bands.
This indicator targets the top 5% of moves, keeping traders focused on the best trends.
The 20 Bar Acceleration Band Expert Advisor (SPX chart below) shows buy and sell signals based on my system. Notice
hat in the 14 months shown, the &P500 only exposed a signal 4 times, each was profitable. This depicts the 5% theory sell - Acceleration Bands highlight only the extreme moves for option traders. The issue many traders face is really two-fold; many traders want more signals and the entry point can use some refinement. Like the Yin & Yang relationship, I've developed a system that combines Acceleration bands with Williams' Percent R% to remove any weaknesses and refine trading signals. Let's take a look at how it works.
Willams' %R with two separate systems based on breakout and retest (lower risk entries) methods. We have smoothed out and modified Williams' Percent R to make it a better and more usable trading vehicle.
Description: Larry Williams created the Percent Range oscillator to highlight overbought versus oversold levels in securities. Traditionally overbought connotates a long exit or sell short entry as oversold would insinuate the opposite, however, we in general consider overbought to be bullish and oversold to be bearish. The Big Trends Percent R system targets the top 20th percentile and bottom 20th percentile.
Signal
Buy when the price breaks the upperline and W5 overblows.
Sell when the price breaks the lower band and W5 oversold
www.bigtrends.com
(JS) TTM Squeeze PercentageSo this is a slightly modified version of the fan favorite "Squeeze" indicator.
I did this because I wanted to compare historic movements, but the standard version calculates in whole numbers so a reading with SPX at 2800 is naturally larger than one at 1000.
What I did was I took the Lazybear script and converted it to a percentage reading rather than a reading of whole numbers.
This way - you can compare historical movements, among other things.
Whenever there's a "squeeze" that's when the icons appear on the indicator (top or bottom depending on the value).
I am also trying something new by adding preset color schemes - this is my first crack at it so I'll likely update it and improve it as time progresses (I plan to add the options on my other indicators as well).
Hope you like it!
PpSignal Variable Index Dynamic Average V2The Moving Average is, perhaps, the most popular indicator in trading for a reason. Comparatively, the crossing average can tell you plenty about a trend, i.e. whether it’s broken or unbroken, changing or holding. But the Moving Average isn’t perfect; there is one area where it falls short and that is volatility. Even an Exponential Moving Average, which places more emphasis on the latest data, can miss the mark when it comes to a sudden change in volatility, rising or falling. Consequently, it can either give a fake signal or else generate a signal only when it is too late to trade on. Volatility is where the Variable Index Dynamic Average comes in, or VIDYA for short.
The Variable Index Dynamic Average or VIDYA was developed by Tushar Chande, and its focus is precisely on volatility. In other words, the VIDYA is an average that adjusts itself to changing volatility. When volatility is high, the VIDYA becomes more sensitive and when volatility is low, the VIDYA becomes less sensitive. That allows you to assess the trend according to current market conditions (and not irrelevant conditions that had earlier prevailed).
The VIDYA in Essence
The math behind the VIDYA formula is quite complicated, but the logic is not.
The VIDYA essentially has two components, the first being the Exponential Moving Average (aka EMA). The second indicator is in the “oscillator family” and it is known as the Chande Momentum Oscillator (aka CMO). Like most oscillators, the Chande Momentum Oscillator generates a signal of -100 and 100, with -100 being oversold and 100 overbought. The EMA is the anchor index, and the CMO’s job is to adjust the exponential average to volatility. The closer the CMO is to 100 or -100 the higher the volatility and the more sensitive our exponential average will turn. Conversely, the closer the CMO is to 0 the less sensitive our exponential average will turn. The final reading after the volatility adjustment is the VIDYA.
As you can see below, once you add the Variable Index Dynamic Average in MetaTrader you get a window with two parameters from which to choose: One is the Period CMO and the other is Period EMA. We can then decide which period the CMO will run on (and thus affect the sensitivity of our EMA) and which period the EMA will run on (to capture our trend). Usually, the best CMO to plug in is a third of the value of the EMA duration; this is to allow the latest change in volatility to impact to the greatest degree. If the CMO period is too long, it will likewise spread over the period too long and consequently fail to reflect current levels of volatility, thus defeating the VIDYA’s purpose.
VIDYA
Comparing the VIDA to the EMA
When we compare the two, we can see the clear advantages the VIDYA(Red) has over the EMA(Green). Both the VIDYA and the EMA run on a 30-week period, but the VIDYA is smoothed out by the Chande Momentum Oscillator running on a 10-week period (again, a third of the whole period). The VIDYA simply captures the trend much more accurately. We can see how, in Point A, when momentum weakens, the Variable Index Dynamic Average starts to flatten, while the EMA just moves across the price and fails to adjust.
This quality is especially beneficial when we want to get an indication if a trend has broken or not. The EMA, in this case, suggests the trend has, indeed, broken but when we look at the VIDYA we quickly get a more accurate picture. We can see that the downtrend has not been broken which allows us to prepare for another bearish round rather than mistakenly expect a rebound.
VIDYA
Of course, for every upside there is a downside and the downside of the VIDYA is that it becomes less effective on a very high duration, such as above 90. The Chande Momentum Oscillator cannot reflect sentiment very well when the duration ןד high and therefore it stops being effective at balancing the Exponential Moving Average within the Variable Index Dynamic Average. One way to tackle or mitigate this is to go higher in the intervals whenever possible, such as from days to weeks or weeks to months. Nonetheless, you should be cognizant of this in inherent weakness in the Variable Index Dynamic Average. Yet, despite that, the Variable Index Dynamic Average does a very effective job. If you are trading under volatile conditions and want to figure out if a trend is broken or set to continue, the Variable Index Dynamic Average could be the solution. When combined with other indicators of momentum, the VIDYA can give you the bigger, clearer picture.
www.onestepremoved.com
PpSignal Jurik RSXJurik RSX
Mark Jurik is a brilliant engineer and has done amazing work creating smooth, minimum lag indicators. I’ve bought a lot of his indicators and in fact I have used the Jurik Moving Average (JMA) to pre-process (smooth) data for the Better Sine Wave indicator. You can check out his website here.
emini-watch.com
www.jurikres.com
Logarithmic Fibonacci RetraceThis script will allow you to use Logarithmic (instead of linear) Fibonacci retrace.
Please see excellent write up here: www.elliottwavetrader.net
explaining why logarithmic is preferred, especially over large price movement and long timeframes.
All TradingView fib tools use linear math, and will show incorrect long-term levels because of this.
HOW TO USE:
* Enter your points for Wave 0 and 1. Example: 1810.10 and 2872.87 in the SPX chart shown.
* Turn on "show lines" and "show labels". These are OFF by default because the chart will usually get warped
if you display the lines before entering the actual values you want.
* Change the "label offset" if the fib labels are too close or too far from the chart.
Please be aware that this is considered an "INDICATOR" script and so will not save the values separately
for each chart. You will need to enter new values each time you change to a different symbol.
Logarithmic Fibonacci ExtensionThis script will allow you to use Logarithmic (instead of linear) Fibonacci extensions.
Please see excellent write up here: www.elliottwavetrader.net
explaining why logarithmic is preferred, especially over large price movement and long timeframes.
All TradingView fib tools use linear math, and will show incorrect long-term levels because of this.
HOW TO USE:
* Enter your points for Wave 0, 1, and 2. Example: 666.79, 1219.80, 1010.91 in the SPX chart shown.
* Turn on "show lines" and "show labels". These are OFF by default because the chart will usually get warped
if you display the lines before entering the actual values you want.
* Change the "label offset" if the fib labels are too close or too far from the chart.
* Select up to 2.000, 3.000, and 4.000 to display higher-power fibs.
Please be aware that this is considered an "INDICATOR" script and so will not save the values separately
for each chart. You will need to enter new values each time you change to a different symbol.
PpSignal AK_TREND ID// in a up or down trend.
// For SPX or SPY ONLY, Time Frame = Monthly, weekly or daily
// Created by Algokid 7/23/2014
// Toronto, Canada
SPY SECTOR MONEY FLOW ANALYTICSSPY AND DJI SECTOR VOLUME ADVANCE AND DECLINE
THIS CONTAINS THE KEY CONSTITUENTS OF SPY AND DJI TO HELP TRADERS TO PROVIDE HOW UNDERLYING VOLUME AFFECTS THE REVERSAL
Put/Call Ratio De-TrendedExperimenting with de-trending the various Put/Call Ratios.
Use with tickers PCCE, PCC, PCE, PCOEX, etc. Type "PUT" in the ticker field to see the many options. Use daily charts. Then you can hide the put call ratio and overlay SPX to see the signals. The default MAs are a common way to detrend. Basically takes the 10 day moving average and 127 day moving average(half year in trading days), to "de-trend" the ratio to weed out the noise that is seen in the ratio.
If you can find anything useful or interesting with this, let me know. I think it is useful as is, but if you find an interesting way to use it let me know.
Advance Decline Line NYSE-BuschiThis script shows the Advance Decline Line of the NYSE (dark blue)in comparison to the SPX (light blue). There is also a difference line of the two series (red).
Both are indexed to current values to allow a better overview. Series can be smoothed via the length of the Moving Average.
I consider it more of a work in progress. I work on a more inuitive kind of presentation.
Mean Reversion MA [acatwithwithcharts]Mean Reversion MA is an experimental WIP indicator which tracks the furthest overexpanded period up to 2000 on a given timeframe as a target for eventual mean reversion. It currently allows for plotting BBands around that period and keeps track of the MA broken on the previous expansion and mean reversion.
In order to get this to work with useful precision, it has to be limited to SMA and regular STDEV. I have not found a way to reduce the Pinescript loop time enough otherwise while maintaining much precision. Even still, it will sometimes time out and need to be refreshed by either switching TF/symbol or reapplying the indicator.
On longer TFs this can result in targets that are extremely distant. No, it’s probably not a useful prediction on the SPX monthly chart that the selloff in 2009 suggests an eventual mean reversion to the 1250 SMA (currently around 358). The last time we had a monthly mean reversion on that chart by this indicator’s telling is 1970. So, use some common sense about how far out is a usefully-tradeable prediction. I’m hoping to find a good way to add functionality to put a cap on extreme long TF predictions without breaking it.
Where it really seems to shine is as a reactive pivot after apparent reversals. Significant trending more or less by definition requires overexpanded volatility on some period length.
I am posting this as invite-only and have a short list of collaborators in mind who will get access if they want it. It is not being made available to the general public as of this posting; I’m vaguely working towards eventually offering being able to offer some sort of paid indicator offering in the future.
Rather than shut the door entirely, I will say that if someone approaches me by PM with a really interesting idea on how they’d like to test this or my other indicators, I’m willing to consider giving access. I’m not giving this away just to anyone who asks and will, for my own time and sanity, probably just ignore requests by people who don't come to me already knowing what this indicator does and how they might want to use it.
Trend Scalping Strategy - ForexHi all,
I have created the attached strategy for my own use primarily but thought I would share it as my experience to date is that it is profitable in particular circumstances, so thought I would open this out to the community to see if it can be successfully applied on any other pairs and timeframes.
I have protected the source code at this time - mainly because it needs massive tidying up! If I ever get time to do this then I will
The concept of the strategy is based upon the slingshot method - the strategy fundamentally does the following:
- Tests each candle for a new short term trend based upon EMAs
- If there is a new trend, check the RSI and ensure it isnt above the upper RSI threshold (for long positions) and below the lower RSI threshold (for short positions)
- If it passes the RSI check, entry is valid and draws a bar on the chart to show the opening entry position, stop loss position, take profit 1 and take profit 2 positions.
I have backtested this across 28 pairs on the M15 timeframe, comprising of a total of 140,000 candles (35,000 hours of trading). Across this period, 18 of the 28 pairs I looked at were profitable, with overall significant profit if live traded across the 28.
I have live tested 5 pairs on the same timeframe:
- GBPJPY
- GBPUSD
- GBPEUR
- CADJPY
- EURJPY
These pairs have to date given a rough ROR (Return on Risk) position of approx 60% average per trade.
All of the above has been done with the following inputs:
- RSI Upper - 68
- RSI Lower - 32
- Stop Loss - 0.0015
- TP1 - 0.002
- TP2 - 0.004
The SL and TPs are based on a decimal entry of a percentage movement - i.e. the Stop loss above reflects a 0.15% movement, etc etc. Obviously if this were to be tested on longer time frames it is likely that these would need to be larger figures.
I have also tested this live with great success on the S&P 500 and the FTSE, with the following settings:
Indicator Timeframe TP1 TP2 SL Upper Lower
FTSE M5 0.0015 0.004 0.001 70 30
SPX M5 0.0015 0.004 0.001 75 35
Three key notes on trading this below - THESE ARE VERY IMPORTANT!
- This is NOT a high strike rate strategy. Strike rate on profitable pairs is between approx 45 and 55% (although I have seen as low as 35% and still seen significant profit). This has two natural conclusions - risk management is VITAL (I risk 0.5% on each trade, but this may in fact be high for this strategy), and be prepared for potentially significant drawdowns. I have seen certainly drawdowns of 20 consecutive losing trades (counting TP1 and TP2 as 2 trades) and probably longer, which obviously means drawdowns of 10% or greater. The other thing to bear in mind is that with this kind of strike rate, you shouldnt be setting TP1 at a 1:1 risk reward or lower.
- Take Profit 1 is easy - straight Stop and Limit orders. Take Profit 2 is a trailing stop with a start point of the limit for TP1, with then a trailing stop of this distance. This means that should you win on TP1, TP2 is a risk free trade but also trails in for profit if TP2 isnt reached (which it normally isnt). DO NOT set TP2 as a standard stop and limit, this rapidly makes this strategy unprofitable. The point here is that if you reach TP1 you are in some form of trend where you want to capture as much profit as you can.
- Do not enter a trade mid candle. The strategy is based upon the close of the trending candle not the "live" price during this candle, so no need to rush into a trade. If you enter mid candle you will find more often than not that the indicator wasnt for a valid trade by the candle close.
Also, standard disclaimer - past performance is no guarantee of future performance, and if you choose to use this strategy/indicator you do so 100% at your own risk. As a minimum, pick your pairs carefully - I have found particular unprofitability with this strategy with the AUD and NZD pairs so I have ruled these out completely at present, although with different timeframes and inputs these may of course be profitable.
I hope this is helpful for someone...I'd welcome any feedback or other setups where this is profitable.
Moving forward, I want to do some more work on this strategy to rule out some of the more negative trades, and I primarily intend to do this using pivots - however this will be an as and when I get chance.
Trend Reversal Alert Hybrid [T.R.A.H]This is extention of a hybrid of AlPos-Trend-Highlighter with Peaks and Bottoms Detector from All Time Fibo Channel .
It is a visualizer of Reversal Points and Trend Lines for the series of a T-R.A.S strategies that are available in my scripts.
* Note : I ended up frustrated, I must say, because when I run my strategy it works perfect, but when I add this visualizer and turn it into strategy for some reason that is beyond of my understanding of pinescript, results are different. I tried everything I could, but in the end decided to make two separately working scripts that one is an indicator and the other one is a strategy. And it's working that way WTH!?!?!? for some reason in SPX lime and aqua lines showed displaced from candles, but when you use it on crypto seems working perfect. Might be a difference in data.. Anyway, please test and comment.