PWTPROv5 TrendIndicator with LONG/SHORT BTC ETH alerts
This PWTPRO indicator is based on VWAP , MACD and EMAs
Best fits for BTC /USDT and ETH/USDT trading for 1H timeframe for positional trading (3-5 trades per week)
15min TF is good for intraday scalping. 4H is good for longterm. Fits for any coin, forex, metals, oil and bonds.
There are 4 types of entries, 1,3 and 4 are on by default. It's more accurate. Rest you can test.
Warning. Not yet works with huge trend continuation. Use it manually with you own risk management, don't forget stop-losses.
Show take profits and stop-loss (It's off by defaults)
You can now add 3 take-profit and 1 stop-loss labels on chart in %
Use 0 values to remove any of them from the charts.
New option: Show entering position price as label
Minor visual improvements with price labels (y position is now correctly above/below bars)
+added new option to round prices for integer values (i.e. 9251 for btc instead of 9251.35) off by defaults and now fits for altcoins and any asses that has price below 1 (usd, btc etc)
This is invite only script. PM me if you want to test it.
Trend
Ehlers Center Of Gravity Oscillator [CC]The Center of Gravity Oscillator was created by John Ehlers (Cybernetic Analysis For Stocks And Futures pg 49) and this provides a pretty accurate way to see how the stock is trending. If the indicator stays above 0 then the stock is in a pretty strong uptrend and if it stays below 0 then the stock is in a pretty strong downtrend. Buy when the indicator changes from red to green and sell when it changes from green to red.
Let me know if you would like me to publish any other indicators or if you want something custom done!
Welles Wilder MA [MX]The average of 34 periods I observe as a mobile S/R, but I usually observe it more when it is in strong trend, and the average of 72 and 89 as trend dictators, if the asset is above them = Bullish , below = Bearish , and the 144 average as the last moving S/R, and also as an S/R even stronger than all other MAs and when the asset loses that average, I see it as final confirmation of the other previous averages.
I give more importance to the average of 89 periods than to 72, because I see it as an extension to the average of 72, as if it were a trend range.
for those who prefer to observe the crossing of short and long averages as a way to see the trend, I also left this option, although I do not use
//////////////////////////////
A média de 34 periodos eu observo como um S/R móvel, mas eu costumo observar ela mais quando está em forte tendência, estando bem bearish ou jeffish, e a média de 72 e 89 como ditadoras de tendência, se o ativo está acima delas = Bullish , abaixo = Bearish , e a média de 144 como o último S/R móvel, e também como um S/R ainda mais forte que todas as outras MA's e quando o ativo perde essa média, eu vejo como confirmação final das outras médias anteriores.
Eu dou mais importância a média de 89 períodos do que a de 72, porque eu vejo ela como uma extensão a média de 72, como se fosse um range de tendência.
para quem prefere observar o cruzamento das médias curtas com as longas como forma de ver a tendência, eu deixei também essa opção, embora eu não use
VWAP OscillatorToday I'm proposing a simple VWAP oscillator script to trade buy and sell waves more easily.
You trade this similar to how you trade Awesome Oscillator, so if you want an explanation just look up YT videos.
In addition to that, this will also show volume squeezes, please note that this is a makeshift way and not real volume squeeze phenomena of volume profile and tape. None the less, it is quite good at allowing you to ride out good trending waves and locate weak price action due to volume squeeze. You can turn off bar coloring from settings if you don't want this.
For ease of reading, I've also applied Allenstars Dynamic zones on this indicator so you can easily locate where the reading is entering in long and where it is in sell, this is compared to selected sample size. I've already selected the most common setting for that, so you don't really need to fiddle with it unless you find something better.
This indicator can be used to trade divergences as well, in fact, I feel it is better for that compared to RSI/MACD, the usual suspects.
Past performance is not assurance of future performance and this idea is published for only educational purposes, author taken no responsibility for your profit or loss.
Percentile Nearest Rank Using Arrays [LuxAlgo]The new array feature is extremely powerful, as it will allow pinescript users to do more complex things, or compute existing calculations more efficiently, it will also be possible to shine some light to some already existing functions, one of them being percentile_nearest_rank .
We have been working on this new feature with our pal alexgrover, and made this script which computes a rolling percentile using the nearest rank method.
Settings
Length: Window of the rolling percentile, determine the number of past data to be used.
Percentage: Return the current value if Percentage % of the data fall below that value, the setting is in a range (0,100).
Src: Input source of the indicator.
Usage
A rolling percentile can have many usages when it comes to technical analysis, this is due to its ability to return the value of three common rolling statistics, the rolling median, which can be obtained using a percentage equal to 50, the rolling maximum, obtained with a percentage equal to 100, and the rolling minimum, obtained with a percentage equal to 0.
When we use our rolling percentile as a rolling median, we can obtain a robust estimation of the underlying trend in the price, while using it as a rolling maximum/minimum can allow us to determine if the market is trending, and at which direction. The rolling maximum/minimum is a rolling statistic used to calculate the well known stochastic oscillator and Donchian channel indicator.
We can also compute rolling quartiles, which can be obtained using a percentage of 25 or 75, with one of 25 returning the lower quartile and 75 the upper quartile.
In blue the upper rolling quartile (%75), in orange the lower rolling quartile (%25), both using a window size of 100.
Details
In order to compute a rolling percentile nearest rank, we must first take the most recent length closing prices, then order them in ascending order, we then return the value of the ordered observations at index (percentage/100*length) - 1 (we use - 1 because our array index starts at 0).
Momentum Adjusted EMA TrendThe script draws a moving average which responds to trend changes extraordinary fast!
It's calculated using Momentum, Acceleration and Probability (Psychological Effect) by interfering the Golden Ratio!
I got the idea thanks to Tradingview user DGT (dgtrd) and his/her excellent descriptions.
The indicator is simplified for users and the default settings work great, so use it as you like specially as a trend indicator.
TBS - Trend Buy and Sell IndicatorTrend Buy and Sell Indicator
TBS identifies trend based on price cross-over/cross-under to a moving average. Confirmed Up-trend is displayed in green and Down-trend in red backgrounds. Before a trend is confirmed price cross-over is displayed in blue and cross-under in orange backgrounds. Once an uptrend is confirmed, TBS suggest buys based on touch downs to a Support moving average by a green arrow under the candle . A sell is suggested by TBS by a red arrow on top of the candle when the price reaches a certain percentage above support moving average. Motivation and Tolerance levels are provided to fine tune buying and selling signals.
Example : Default settings for BTC Weekly charts are Trend Moving Average = 50, Support Moving Average = 21, Motivation Buy = 10, Tolerance Buy = 5, Motivation Sell = 50 and Tolerance Sell = 90. That means in uptrend identified by green background every time the closing price touches 10% higher than 21 week moving average value TBS suggests buy, so a trader can choose to buy 80% of intended position at this level. If the price continues to drop down and touches 5% below 21 week moving average, a trader may choose to buy another 20% at this level. In the likely scenarios of price hike from here a trader may choose to sell 80% at the Motivation Sell level 50% higher than 21 week moving average. If the price reaches Tolerance Sell level at 90% higher than 21 week moving average a trader may choose to sell remaining 20% of the position.
Note 1 : TBS suggest Buys and sells but the execution of buy and sell is up to trader's discretion for example using Stop Buy order or Limit Buy order etc.
Note 2 : TBS is designed to be a medium to long term indicator for example weekly and monthly timescales. Traders might find it useful on shorter term time-frames but its not designed for short term time frame in mind.
Note 3 : Most of the parameters in TBS indicator are configurable as Trend Moving Average and Support Moving Average vary significantly across assets. Default parameters are set for Bitcoin Weekly time frame. Traders should play around with parameters to find best fit for Trend Moving Average and Support Moving Average for the asset of interest. For example TBS is very relevant and useful for Gold Weekly time frame with Trend Moving Average = 100, Support Moving Average = 30, Motivation Buy = 1, Tolerance Buy = 0, Motivation Sell = 11 and Tolerance Sell = 20.
Dual Volatility StopThis merges Volatility Stop & its MTF version both published by u/TradingView . Background is colored green or red when both the current timeframe Vstop and higher timeframe Vstop point in same direction. Aim is to take the standard Vstop script which differentiates market from only uptrend/downtrend to uptrend/downtrend/sideways. There is a tradeoff with this, that there is no need for the Vstop to be always in a position which reduces trade time & frees up capital. However this leads to situations where it takes slightly more time to catch on to a trend after a reversal.
Green Background = Buy
Red Background = Sell
No Background = Flat
SMA Directional Matrix [LuxAlgo]This script was created in collaboration with alexgrover and displays a simple & elegant panel showing the direction of simple moving averages with periods in a user-selected range (Min, Max). The displayed number in the panel is the period of a simple moving average and the symbol situated at the right of it is associated with the direction this moving average is taking.
Settings
Min: Minimum period of the moving average
Max: Maximum period of the moving average
Src: Source input of the moving averages
Number Of Columns: Number of columns to be displayed in the panel, handy when using a large range of periods.
Usage
Looking at the direction of moving averages with different periods is extremely useful when it comes to having information about the short/mid/long term overall market sentiment, and can also tell us if the market is trending or ranging.
Here we use periods ranging from 25 to 50, we can see that shorter moving averages react to the recent upward price variation, longer-term moving averages however are still affected by the overall downward variation you can see on the image. We can as such get information about the presence of potentials divergences, with shorter-term moving averages reacting to the divergence while the longer-term moving averages will still display the direction of the main trend.
As such the indicator can give information about how clean a trend is, with a clean trend being defined as a variation containing no retracements. When our trend contains no retracement, the mid/long term moving averages will all have the same direction, however, when a retracement is present, the midterm moving averages might be affected by it, thus displaying a direction contrary to the main trend.
When the market is ranging we can expect the panel to display an equal number of decreasing/increasing moving averages.
Possible Issues
When using a large range of periods, you might have an error message showing: "String is too long", try lowering the range of periods by increasing Min or decreasing Max .
If the script displays the error message "Loop is too long to execute", try resetting the settings and change them back to the one you wanted to use.
Patreon Bull Bear OscillatorThe Patreon bull-bear oscillator (PBBO) was carefully designed to give as much information as possible to the user without sacrificing readability. With it, you can detect the direction of trends, detect whether the market is ranging or trending, tell if a given signal is false, and easily spot divergences, in fact, the PBBO is the only indicator of the trend trading tier that was designed to spot potential reversals.
The indicator comes with alerts.
Settings
Length: Control the sensitivity to price variations, with a higher value aiming to detect longer-term trends.
Control Line Divisor: Divisor of the control line
Src: Source input of the indicator
Pre-Smoothing: If true, smooth "Src" before calculating the PBBO
Smooth: Period of the moving average used for pre-smoothing
Pre-Smoothing Method: Determine the type of moving average to be used during the pre-smoothing step. Available options are: EMA, TMA (triangular moving average), HULL, LSMA (least squares moving average)
Filter Alerts Based On The Control Line: Add an additional condition for the alerts.
Detecting The Direction Of A Trend
The indicator display three lines, one bull line (in blue), one bear line (in red), and a control line (in green). A bullish market is detected when the bull line is over the bear line, while a bearish market is detected when the bear line is over the bull line.
When one of the lines is declining, it means that the current trend is weakening, showing the potential for a retracement or reversal.
Filter Out False Signals With The Control Line
The PBBO is still subject to all the price variations you will see on your chart, and as such can return false signals, it is important to tell if a bullish/bearish market is significant before making a move, and this is what the control line aims to do.
The control line divisor can provide a way to control the position of the control line, with lower values of the divisor requiring even more significant moves in order to trigger a signal. A value of 2 for the control line divisor is recommended in order to filter out false signals.
Detecting Whether Market Is Trending Or Ranging
Telling when the market is trending is primordial in trend trading, and many indicators that aim to return this information have been proposed. The PBBO is also able to give such information. First, you can look at the bull and bear lines, if both are equal to 0, it means the market is ranging.
You can also use the control line to tell whether the market is trending or not, with a bull/bear line above the control line telling the market is trending.
Spotting Divergences With The PBBO
Spotting divergences is a simple way to detect potential reversals, and it was important for me to start working on an indicator able to detect them while trying to make everything super simple for the user.
With the PBBO you don't need to look at both the price and oscillator lines in order to detect divergences, you can simply look at the peaks made by the bull or bear line, if a peak is lower than a previous one, then a reversal might occur.
Above, we can see that the bull line made several peaks during the up-trend, with the last peak being lower than the previous one, we thus detect a bearish divergence and could expect a reversal. If the same case scenario occur but with peaks made by the bearish line then we detected a bullish divergence.
It can be difficult to tell whether a divergence is significant or not, it can also be hard for beginners to tell which peaks they must look at. A good rule of thumb would be to check if both peaks are coming from two different movements, this is done by seeing if the first peak has reached 0 before the second one occurred.
The control line is also useful to tell when peaks are significant or not, with peaks that are higher than the control line being more significant.
Alerts
By default, a buy alert is given once the bull line is greater than the bear line, and vice versa for a sell alert, the setting "Filter Alerts Based On The Control Line" allows you to only have an alert when the bull/bear line is greater than the control line.
Gaining Access To The Indicator
Only my Patrons can get access to this indicator, you can go to my Patreon page by clicking on the link in my signature. Note that you will also have access to the Patreon trailing stop and Patreon moving average.
cloe V X.0 triple wave trend with trend This script is based on the lazybears wavetrend script
with a extra useful ema
the third ema is based on the last 200 periods and show how the trend is going in the time
- When the original wave cross the third ema it's means that we can continue long or short
- When the third ema stretchs below or up the 0 line it means that the current pair is oversell or overbought but in a large period of time so we can decide if we continue long or short
The Lazy Trader - Index (ETF) Trend Following Robot50/150 moving average, index (ETF) trend following robot. Coded for people who cannot psychologically handle dollar-cost-averaging through bear markets and extreme drawdowns (although DCA can produce better results eventually), this robot helps you to avoid bear markets. Be a fair-weathered friend of Mr Market, and only take up his offer when the sun is shining! Designed for the lazy trader who really doesn't care...
Recommended Chart Settings:
Asset Class: ETF
Time Frame: Daily
Necessary ETF Macro Conditions:
a) Country must have healthy demographics, good ratio of young > old
b) Country population must be increasing
c) Country must be experiencing price-inflation
Default Robot Settings:
Slow Moving Average: 50 (integer) //adjust to suit your underlying index
Fast Moving Average: 150 (integer) //adjust to suit your underlying index
Bullish Slope Angle: 5 (degrees) //up angle of moving averages
Bearish Slope Angle: -5 (degrees) //down angle of moving averages
Average True Range: 14 (integer) //input for slope-angle formula
Risk: 100 (%) //100% risk means using all equity per trade
ETF Test Results (Default Settings):
SPY (1993 to 2020, 27 years), 332% profit, 20 trades, 6.4 profit factor, 7% drawdown
EWG (1996 to 2020, 24 years), 310% profit, 18 trades, 3.7 profit factor, 10% drawdown
EWH (1996 to 2020, 24 years), 4% loss, 26 trades, 0.9 profit factor, 36% drawdown
QQQ (1999 to 2020, 21 years), 232% profit, 17 trades, 3.6 profit factor, 2% drawdown
EEM (2003 to 2020, 17 years), 73% profit, 17 trades, 1.1 profit factor, 3% drawdown
GXC (2007 to 2020, 13 years), 18% profit, 14 trades, 1.3 profit factor, 26% drawdown
BKF (2009 to 2020, 11 years), 11% profit, 13 trades, 1.2 profit factor, 33% drawdown
A longer time in the markets is better, with the exception of EWH. 6 out of 7 tested ETFs were profitable, feel free to test on your favourite ETF (default settings) and comment below.
Risk Warning:
Not tested on commodities nor other financial products like currencies (code will not work), feel free to leave comments below.
Moving Average Slope Angle Formula:
Reproduced and modified from source:
M4x Rainbow strategyReal Grid Trend Multiplier & SMA
"M4x Rainbow" is a Grid Trend Multiplier bot, who is following an adjustable SMA.
"M4x Rainbow" is not bound on FIFO, each trade get's his own exit.
It is set for Pyramiding=0, which can be changed in the "Strategy" line
Fees are set equal to Binance numbers at 0.1%, about...
!!! Pin to existing scale !!!
Or switch the main Indicator off.
Adjustable Settings:
- Profit % per Step (0-1000%)
- SMA lenght (0-4000)
Alerts: (one Alert is one step)
- longRain
- shortRAIN
The coloring of the lines is:
green = linestate is LONG
blue = linestate is WAIT
yellow = linestate is SHORT
!!! Tested only on 1 Minute Chart !!!
Give it a try and let me know.
...have fun ;-)
Real Grid Trend Multiplier & SMA Final Real Grid Trend Multiplier & SMA
"M4x Rainbow" is a Grid Trend Multiplier bot, who is following an adjustable SMA.
Settings:
- Profit % per Step (0-1000%)
- SMA lenght (0-4000)
Alerts: (one Alert is one step)
- longRain
- shortRAIN
The coloring of the lines is:
green = linestate is LONG
blue = linestate is WAIT
yellow = linestate is SHORT
!!! Tested only on 1 Minute Chart !!!
Give it a try and let me know.
...have fun ;-)
BlueFX Strategy GOLD M15We are releasing this separate script file for trading Gold on the M15 time frame using our strategy. This can now run independently from the main file instead of changing parameters and saving as a template - thus making the use of these specific settings even easier for our traders.
You can see the back testing profitability shown below, although you can not use back testing to predict the future, both the volume of trades, net profit, win rate and draw down demonstrate a solid foundation and data to move forward from.
The strategy itself is explained in the 'Blue FX Strategy' but see below too for more info.
Our strategy will help you identify the current trend in the markets and highlight when this is changing. The strategy itself is based upon 4 indicators lining up in total confluence to increase the probability of the trade being a success.
Absolutely no technical analysis is needed to trade this - this is a trading tool and has solid back testing results trading in isolation - although you may also use to support your own trading - the choice is yours.
When a trade is valid - a Buy or Sell label will appear with the Entry price, SL and multiple TP's shown on the chart.
IMPORTANT note, the test results show and confirm that the most profitable exit strategy with these Gold settings is 'FT&SL' this means we enter the trade with a Stop Loss (SL) and simply hold and follow the trend (Follow Trend = FT) until a reverse signal is printed.
In our supporting video (see related ideas) you can see the impact of changing this target between multiple TP's and the net effect on both win rate and overall net profitability.
The Lot size will also be displayed and this is based on the risk parameters you have set personally in the calculation section.
What is a Trading View Script?
A script is like an indicator but better, we can verify the success of our strategy by using Trading Views strategy tester function. As shown below and on the chart - you can see the 'Buy' and 'Close Buy' on the chart, supported by a live trading log showing you the entry, entry price date, volume and closing price.
This is a great function for numerous reasons; firstly, you know you are using a strategy that has provided a positive expectancy in back testing, secondly you can use this as a trading journal to support your trading too. This in itself can help you with your trading psychology - letting winning trades run is a prime example of this. Take confidence in the statistics and performance over time.
Ultimately, we believe we have saved YOU the need to firstly, find an edge and a strategy - and all of the time it takes to BACKTEST a strategy - to then find it may or may not work - and then you start again!
Disclaimer alert; Please remember past performance is exactly that - how our strategy performed over those dates tested, it is not obviously a guarantee of future performance.
Interested in access or more information?
No problem, simply drop us a DM via trading view for access information.
Thank you for reading.
Darren
M4x Rainbow V4i strat LINK-USDTGRID & TREND Multiplier Experiment
// "M4x Rainbow" is a Strategy Grid Trend Multiplier bot, who is following the trend.
// I built it as an experimental tool with Strategy implemented, even if that numbers are far out...!
// Because.....it not only depends on the bot setup, the timings of the TradingBot (eg.3Commas) are very relevant too!
// Like amount of Trades, Security Orders, Deviation and so on...
// Please feedback your experience with a Comment , as I would like to improve this bot.
// Updates will follow ;-)
//
// "M4x Rainbow" is not bound on FIFO, each trade get's his own exit.
// It is set for Pyramiding, which can be changed in the "Strategy" line
// Fees are set equal to Binance numbers at 0.1%, about...
// The coloring of the lines is:
//
// green = linestate is LONG
// blue = linestate is WAIT
// yellow = linestate is SHORT
//
// Give it a try and let me know.
//
// ...have fun ;-)