ScalpyScalpy is made up of a 2 main parts.
- The cloud comprising of a 10 period SMA and a 30 period SMA.
- When the cloud is green you should be looking for long entries.
- When the cloud is red you should be looking for short entries.
- Price is most bullish above a green cloud and most bearish below a red cloud.
- Being within the cloud indicates indecision.
The blue and white lines on the indicator show the relationship between price and momentum.
They can be used to spot reversals in two ways:
- The first is a divergence between price (blue line) and RSI (white line)
- If the price makes a lower low but the RSI makes a higher low this shows the trend is weakening and may be reversing soon (as can be seen by the two yellow lines on the chart).
The second is a simple crossover:
- When the white line crosses the blue line to the upside this signals a long entry.
- When the white line crosses the blue line to the downside this signals a short entry.
Trendfollowing
Trend Following MAs 3DHello All,
This is Moving Averages Trend Following 3D indicator. The idea is based on direction of MAs and relation between 20 moving averages (5 to 100 period).
Option to show different type of MAs: EMA, SMA, RMA, WMA, VWMA.
As I haved tested it looks succesful at calculating trend direction and trend strength.
For a better look I tried to make it 3D, it looks good I think, waiting comments ;)
Some screenshots:
By using RMA type:
When it gets tiny it means there is no trend:
An example for down trend:
ENJOY!
Trend Lines for RSI, CCI, Momentum, OBVHello Traders!
After publishing Trend Lines for RSI yesterday, I realized that Trend Lines for more indicators needed by the traders. so I decided to make it for four different indicators: RSI, CCI, OBV, Momentum
In the indicator options you can choose the indicator from pull-down menu.
How it works?
- On each bar it finds last 10 higher and lower Pivot Points (PP) for the indicator.
- from first bar to 10. Pivot Point it searchs if a trend line is possible
- for each PP it starts searching from the last PP .
- it checks if drawing a trend line possible or not and also it's broken or not
- if it's broken then optionally it shows broken trend lines as dotted (or you can option not to see broken lines)
- if it finds a continues trend line then it stops searhing more and draw trend line, this is done by checking angles (I did this to make the script faster, otherwise you may get error because of it needs time more than .2sec)
- the script makes this process for each PP
- then shows the trend lines
P.S. it may need 3-10 seconds when you added the script to the chart at first (because of calculations)
Trend lines for CCI:
Trend Lines for OBV
Trend Lines for Momentum:
You may want to watch how Trend Lines script works (that was made for RSI)
s3.tradingview.com
If you still didn't see Trend Lines v2 then visit:
All Comments are welcome..
Enjoy!
MWDX AverageThis is a variation of an exponential moving average which follows the price pretty smoothly. Feel free to change the factor to adjust how closely it follows the price. I set the default to 0.2
Let me know if you want me to write code for any other indicators!
Trend FollowerHello Traders!
While analysing the charts, one of the biggest problem is to see if there is trend or not, or is it in a congestion zone/area? While thinking about it, I found the idea to analyse moving averages in channel and their momentum according to channel width.
How it calculates and works?
On each bar it creates a channel by highest/lowest point of a MA. highest point is upper point and lowest point is lower point of the MA channel,
It gets highest and lowest point of last 300 bars, (say Price Channel )
If the width of MA channel is greater than certain rate of price channel then it decides there is trend
After it decided there is trend, it calculates the rate between channel and MA. Bigger result means stronger trend.
According to rate of MA channel and the price channel , bar color becomes lighter/darker. so when you look at the bar color you can see the trend strength.
Short explanation on the chart:
Also by changing channel or size other options (such MA length etc) you can see congestion zones/areas:
Another one, about trend direction and its strength:
Options:
You can choose following MA types as source: EMA, SMA , RMA, WMA , VWMA
"Period to Check Trend" is the period to create MA channel. Bigger period cause more sensitivity.
MA Period is the Length of the MA that will be checked
"Trend Channel Rate %" is rate of price channel . Price channel created by using highest/lowest of last 300 bars. I did this to make the script works on all time frames correctly.
"Use Linear Regression" is used to get rid of noise. it may cause 1-2 bars latency. (I use it)
The idea was created by LonesomeTheBlue.
Enjoy!
Trend Lines v2Hello Everyone. After working on new and better trend lines script for couple of weeks, finally I am proud to publish Trend Lines v2.
How it works?
- On each bar it finds last 10 higher and lower Pivot Points (PP).
- from first bar to 10. PP it search if a trend line is possible
- for each it starts searching from the last PP.
- it check if drawing a trend line possible or not and also it's broken or not
- if it's broken then optionally it shows broken trend lines as dotted
- if it finds a continues trend line and stop searhing more and draw trend line (I did this to make the script faster, otherwise you may get error because of it needs time more than .2sec)
- the script makes this process for each PP
optionally trend lines may be Solid or Dashed
optionally you may get rid of broken trend lines if you think it's crowded
and sometimes you may not see any trend line on the chart. this means you need to adjust the period for Pivot Points accordingly
also I made a video. if you watch this video you can see how the script works.
Important! after you add this tool to the chart you may need zoom-in and zoom-out to see all lines!
I thought a lot to make it free or not then I decided make it free and open source. you should know there is a lot of effort for this script, so if you think this is usefull please consider a donation ;)
Enjoy!
Pascal's 4h Compression BreakoutThis indicator aims to identify areas of price compression, by looking for two consecutive "inside candles" on the 4h chart.
An inside candle is simply when the current candle's high is lower than the previous candle's high, and the current candle's low is higher than the previous candle's low.
Once price compression is identified, the indicator draws a range based on the highest high and the lowest low of the two inside candles.
1) A break above the range is bullish.
2) A break below the range is bearish.
The script ALSO paints candles in blue that are likely to become strong horizontal S/R levels. This is, again, based on a candle pattern.
Please note:
1) This indicator is only meant to be used on BITMEX:XBTUSD (on the 4h or 1h chart).
2) You will have to apply some discretion to profitably trade with this indicator. Use SFPs and horizontal S/R levels to judge if a breakout is worth trading.
Finally, use the indicator at your own risk. I am not responsible for any losses you may incur.
My objective with this indicator g is to hopefully give you something that you can build upon, and NOT a script to blindly copy trade.
The concept of market compression is powerful. There are countless ways in which you can build a system around it.
This is just the tip of the iceberg.
Cheers.
Trend Following BarWhile analysing a chart, one of the biggest problem is to see if there is trend or not. While thinking about it, I found the idea to analyse moving averages in channel and their momentum according to channel width.
How it Works?
On each bar it creates a channel by highest/lowest point of a MA. highest point is upper line and lowest point is lower line of the MA channel,
It gets highest and lowest point of last 300 bars, (say Price Channel)
If the width of MA channel is greater than certain rate of price channel then it decides there is trend
After it decided there is trend, it calculates the rate between channel and MA. Bigger result means stronger trend.
According to rate of MA channel and the price channel, bar color becomes lighter/darker. so when you look at the bar color you can see the trend strength.
Some details about my idea:
Options:
You can choose following MA types as source: EMA, SMA, RMA, WMA, VWMA
"Period to Check Trend" is the period to create MA channel. Bigger period cause more sensitivity.
"Trend Channel Rate %" is rate of price channel. Price channel created by using highest/lowest of last 300 bars. I did this to make the script works on all time frames correctly.
"Use Linear Regression" is used to get rid of noise. it may cause 1-2 bars latency.
All comments are welcome!.
Enjoy!
Trend Following BreakoutEasy Trend Following Strategy using Highs and Lows breakout of the last X candles to enter and exit trades.
You can easily change the ENTRY and EXIT value in order to find the best settings.
This strategy seems to be working well for $BTC and $ETH on the 4H and 1D.
I didn't play with it too much as I am testing script to trade on the 15 minutes chart with margin. This script can't do this successfully but I hope it can be helpful for what you want to achieve.
Trend LinesHello Everyone! This is my new trend lines script (after beta version that was published almost one year ago)
The idea is to find Pivot Highs (PH) and Pivot Lows(PL) first.
Then, If current PH is smaller then previous PH (means no new higher high and possible downtrend) then draw trend line using them. and also it checks previous trend line (if exits) and if current angle is smaller then don't extend previous one.
Same idea when using Pivot Lows, If current PL is higher then previous PL (means no new lower low and possible uptrend) then draw trend line using them. and also it checks previous trend line (if exits) and if current angle is smaller then don't extend previous one.
Optionally style of old trend lines drawn as dashed.
Hope you enjoy it!
Rivanews Setup - Riva-Keltner, Média Rock [xdecow]This setup was created by Rivadavila S. Malheiros
There are 2 Keltner Channels with exponential moving averages of 21 (riva) and 89 (rock) and ATR multiplier of 0.618.
When the price is between the bands, it is a sign of consolidation (yellow).
When the price is above the bands, it is an upward trend (green).
When the price is below the bands, it is a downward trend (red).
When the price crosses rock 89 and closes up / down, it may be a sign of a reversal. But it has a high probability of testing rock 89 again.
------------------------------------------------------------------------------------------
PT-BR
Este setup foi criado por Rivadavila S. Malheiros
São 2 Keltner Channels com médias móveis exponenciais de 21 (riva) e 89 (rock) e multiplicador do ATR de 0.618.
Quando o preço está entre as bandas, é sinal de consolidação (amarelo).
Quando o preço está acima das bandas, é uma tendencia de alta (verde).
Quando o preço está abaixo das bandas, é uma tendencia de baixa (vermelho).
Quando o preço cruza a rock 89 e fecha acima/abaixo, pode ser sinal de reversão. Mas tem uma alta probabilidade de testar a rock 89 novamente.
Trend Following or Mean RevertingThe strategy checks nature of the instruments. It Buys if the close is greater than yesterday's high, reverse the position if the close is lower than yesterday's low and repeat the process.
1. If it is trend following then the equity curve will be in uptrend
2. If it is mean reverting then the equity curve will be downtrend
Thanks to Rayner Teo.
TEMA_CCI_SAR_01This strategy is using TEMA and PSAR for buying selling. Educational.
Disclaimer: if you this tool for trading which may cause losses and profits which myself or Tradingview and its partners wont responsible for it.
Donchian Breakout StrategyThis strategy buys when the Donchian Channel is broken to the upside and uses the lower Donchian Channel line as a trailing stop. You can also choose to use a moving average as a filter to keep you out of trades that are counter trend.
You can also configure which dates you want to backtest, so you can see how this behaves over specific time frames and market cycles.
Estamina Trend Strategy By KrisWatersTrend following strategy based on moving avarage crossovers. Strategy provides only long signals. Use only for BTCUSDT pair on 4H timeframe.
Leavitt Convolution & Acceleration by CryptorhythmsLeavitt Projection, Convolution, & Acceleration by Cryptorhythms
Intro
Bringing you another open source Gem this time from the January 2020 Issue of TASC.
Description
In the article in the Oct 2019 TASC issue titled "An interplanetary marriage" author Jay Leavitt describes the evolution process required in strategy design by introducing his Mars strategy. This grew out of concepts presented in his earlier TASC articles such as the stratosphere, moon rocket, and tech emini strategies. This dual indicator uses a linear regression of price data to help derive slope and acceleration information, in turn helping him to identify trends and trend turning points.
Additions
As usual a few useful extras are included such as a rudimentary signaling system, bar coloration by trade state, overbought/oversold areas to assist in algorithmic setups, and more!
👍 We hope you enjoyed this indicator and find it useful! We post free crypto analysis, strategies and indicators regularly. This is our 71st script on Tradingview!
💬Check my Signature for other information
Bollinger Bands Trend Model-BuschiEnglish
In general, Bollinger Bands are used as an indicator to visualize the "reversion to the mean". However, in this model, by using smaller variable values (default: 10 time intervals instead of 20, 1 standard deviation instead of 2), they are used as an trend following indicator. Two consecutive closes above the upper band form a buy signal (symbol 'B' above bar) which is reversed by two consecutive closes below the lower band (symbol 'S' under bar) and vice versa. The corresponding buying (green) and selling (red) zones are coloured between the bands.
Deutsch
Im Allgemeinen werden Bollinger-Bänder als ein Indikator verwendet, um die "Rückkehr zum Mittelwert" zu visualisieren. In diesem Modell werden sie durch kleine Variablen-Werte (Standardwert: 10 Zeitintervalle anstatt 20, 1 Standardabweichung anstatt 2) jedoch als Trendfolge-Indikator verwendet. Zwei aufeinanderfolgende Schlusskurse über dem oberen Band (Symbol 'B' über dem Balken) bilden ein Kaufsignal, das durch zwei aufeinanderfolgende Schlusskurse unter dem unteren Band (Symbol 'S' unter Balken) umgekehrt wird. Gleiches gilt umgekehrt. Die entsprechenden Kauf-Zonen (grün) und Verkauf-Zonen (rot) werden zwischen den Bändern eingefärbt.
First time coding - a 5min forex Scalping strategy This is my first attempt at producing a strategy in Pine Script.
I am NOT a professional coder. I'm not even a good coder at that. I've only started Pine Script coding since September 2019. I am teaching myself.
This script is far from finished. I need to tweak a number of things about this script. Namely:
Add a validity window to the 'trigger bar' condition. Ie, I want to shut down the condition when the price closes above EMA21
Change the order entry so they are stop orders, using the stop entry price derived from the signals
Make changes to lot sizing
Add a trailing stop condition
Comments welcome, but do not expect me to reply to any questions or requests. In fact, don't expect any replies from me. I consider myself notoriously bad at replies.
I do welcome any feedback from any seasoned coders out there, as I am still a novice coder, and have so much to learn!
As to anyone who wants to criticise me - constructive and helpful criticism are most welcome, criticism to make yourself feel superior to me - you kind can eat a dk.
For the strategy rules, google the user ForexSignals TV account and look for the video "SIMPLE and PROFITABLE Forex Scalping Strategy".
Share, learn, prosper
Peace to y'all
Serialhenry
6/11/19
Pivot Reversal Strategy - FIGS & DATES 2.0Simple Pivot Reversal Strategy with some adding settings.
Date Range: To test over specific market conditions.
Initial Capitol: $10K - This is a more realistic representation of funds used this strategy (for me anyway). The default of $100K can give different results (usually better) than when using a smaller balance.
Order Size: 100% Equity - These trend following strategies typically used this way, going all in each direction.
Commission: .075% - It's always disheartening to think you've found a ridiculously good setting, and then realize you forgot to add the commission.
All of these settings can be changed, but it's easier for me (and more fool proof) to have them set as default.
Stochastic binary option styleUsing Time Frames For Trend – You can also use different time frames to determine trends with stochastic. To do this you will need to use two different time frame charts, I like to use the weekly/daily or daily/hourly combination depending on the asset. Weekly/daily works well with stocks and indices while I prefer the shorter time frame for currency and commodities. This is how it works; stochastic on the longer term chart sets trend, stochastic on the shorter term chart gives the signal. If, on the weekly chart, stochastic is pointing up then you would trade bullish signals on the daily charts. Or if using the daily/hourly combo the stochastic on the daily would set trend while signals would come from the hourly chart.
Green color bar and background means k is > d, the crowd is bullish (trend is bullish, a bullish crossover is happened), red is the contrary (bears are the leaders)
Credit to Michael Hodges
TrenderTrender is an indicator that compiles trend-following ideas in a complete friendly-custom indicator. Based on classic arithmetic moving averages, exponential moving averages, volume and a little bit of Fibonacci. Indicator built and usable in TradingView, focused only for easy visualization of the trend.
Directional Movement Index with double exponential moving averagThe Directional system is a trend-following method developed by J. Welles Wilder,
in the mid-1970s. It identifies trends and shows
when a trend is moving fast enough to make it worth following. It helps traders to
profit by taking chunks out of the middle of important trends.
Trading Rules
1. Trade only from the long side when the positive Directional line is above the
negative one. Trade only from the short side when the negative Directional line
is above the positive one. The best time to trade is when the ADX is rising, show-
ing that the dominant group is getting stronger.
2. When ADX declines, it shows that the market is becoming less directional. There
are likely to be many whipsaws. When ADX points down, it is better not to use
a trend-following method.
3. When ADX falls below both Directional lines, it identifies a flat, sleepy mar-
ket. Do not use a trend-following system but get ready to trade, because major
trends emerge from such lulls.
4. The single best signal of the Directional system comes after ADX falls below
both Directional lines. The longer it stays there, the stronger the base for the
next move. When ADX rallies from below both Directional lines, it shows that
the market is waking up from a lull. When ADX rises by four steps
from its lowest point below both Directional lines, it “rings a bell” on a
new trend . It shows that a new bull market or bear market is being
born, depending on what Directional line is on top.
5. When ADX rallies above both Directional lines, it identifies an overheated mar-
ket. When ADX turns down from above both Directional lines, it shows that the
major trend has stumbled. It is a good time to take profits on a directional trade.
If you trade large positions, you definitely want to take partial profits.
This particular version uses DEMA (double exponential moving averages) in attempt to catch moves sooner.
Lancelot vstop intraday trending strategyDear all,
Free strategy again.
I found using 3 volatility stop with different settings could be very helpful when trading an intraday trending market.
With the ATR setting or 5, 10, 15, we can weed out many false break.
Vstop setting is OHLC4.
On the other hand, this strategy also utilize Renko as part of the strategy, so you could say this strategy is mainly an intraday break out trend following strategy.
Works well on BTCUSD XBTUSD, as well as other major liquid alt Pairs.
And lastly,
Save Hong Kong, the revolution of our times.