TradingGroundhog - Strategy & Fractal V1#-- Public Strategy - No Repaint - Fractals -- Short term
Here I come with another script, more simple than Wavetrend V1. You will love it.
#-- Synopsis --
Another simple idea, on a small time frame (15 min) we buy when the opening price goes below a Bottom fractals and sell when it goes over a Top fractals, but as this script do not use Wavetrends. You should stop by your self to use the script during long lasting downtrends.
I developed the strategy using BTC /EUR 3 MIN BINANCE but it can be applied to many other cryptos, I don't know for forex or others. You can use it for short term (to a month of uptrend) and automated trading.
#-- Graph reading --
And now, how to read it ?
Fractals:
Yellow Flags occur when the opening price goes below a Bottom fractal , it means Buy.
White Flags appear when the opening price goes over a Top fractal , it means Sell.
#-- Parameters --
*** Parameters have been intensively optimized using 10 cryptocurrency markets in order to have potent efficiency for each of them. I would recommend to only change the Can Be touch parameter. For the others, I don't recommend any modifications. The idea behind the script is to be able to switch between markets without having to optimize parameters, less work, easy to target active crypto and therefor limit the risks. ***
Can be touch :
'Filter fractals' : Activate or Disable the filtering fractal operation. If Enable, buy during less risky periods. (Activate is often better)
Can be touch but not necessary :
'VolumeMA' : The Volume corrector used by the fractals
'Extreme window' : The number of price individuals to look for if we want to remove extreme fractals.
Not to touch :
'Long Sop Loss (%)' : The minimal difference of price between a Fractal bottom and the opening price to buy.
#-- Time frame --
Should be used with the following time frames depending on the necessity:
1 MIN
3 MIN (Preferred with the parameters set)
5 MIN
#-- Last words --
The script can be set up to send Tradingview signals to 3comma just by adding comment = " " in strategy.close_all() and strategy.entry().
Good trades !
Disclaimer (As it should always be one to any script)
***
This script is intended for and only to be used for personal purposes only. No such information provided by it constitutes advice or a recommendation for any investment or trading strategy for any specific person. There is no guarantee presented or implied as to the accuracy of specific forecasts, projections, or predictive statements offered by the script. Users of the script agree that its original developer does not take responsibility for any of your investment decisions. Please seek professional advice before trading.
***
# Here are the results from the 20rst of September 2021 with 100% of equity on the BTC /EUR 3 Min and with a capital of 10 000 EUR. So almost, one month.
# As I saw, it goes from +30% to more than +160% (the great SHIB) depending on the selected crypto. It may be negative if you spot a downtrend.
Sellsignal
Scalping EMA ADX RSI with Buy/Sell AlertsThis is a study indicator that shows the entries in the strategy seen in one of the youtube channel so it does not belong to me. I can't tell who it is because it's against the House Rules to advertise but you can find out if you look for it on youtube. Default values of oscilators and ema adjusted as suggested. He says he got the best results in 5 min timeframe but i tried to make things as modifiable as possible so you can mess around with the settings and create your own strategy for different timeframes if you'd like. Suggested to use with normal candlestick charts. The blue line below indicates the ADX is above the selected threshold set in the settings named "Trend Ready Limit". You can set alerts for Buy, Sell or Buy/Sell signal together.
The entry strategy itself is pretty straight forward.
The rules for entry are as follows, the script will check all of this on auto and will give you buy or sell signal :
Recommended time frame: 5 min
For Long Entry:
- Check if price above the set EMA (Can disable this rule if you'd like in the settings)
- RSI is in Oversold
- ADX is above set "Trend Ready" threshold (Meaning there is a trend going on)
- Price must approve the trend of previous candles. This is bullish for buy entries and bearish for sell entries.
- Enter with stop loss below last swing low with 1:1 or 1.5:1 take profit ratio.
For Short Entry:
- Check if price below the set EMA (Can disable this rule if you'd like in the settings)
- RSI is in Overbought
- ADX is above set "Trend Ready" threshold (Meaning there is a trend going on)
- Price must approve the trend of previous candles. This is bullish for buy entries and bearish for sell entries.
- Enter with stop loss above last swing high with 1:1 or 1.5:1 take profit ratio.
This is my first indicator. Let me know if you want any updates. I am not sure if i can add everything but i'll try nonetheless.
Changed: Signals will check up to 2 candles before if the RSI is below or above the set value to show signal. This is because sometimes the entry signal is right but the response might be a bit late.
[DS]Bitcoin BTC ETH and others cryptos==DESCRIPTION - English version
The purpose of this script is to show information on graph that can help your decision to buy and sell cryptos.
The script is indicated for Position Trade (Long Term - Holder) and Swing Trade (Medium term).
Position Trade it is recommended to use the Weekly (W) and Daily (D) charts, Swing trade to use the 4H and 2H charts.
It is not advisable to use this indicator with graphic time frame less than 2 hours because the noise levels of information are very high.
An alert function has been inserted in the indicator and to activate this function you will need configure it in the Tradingview.
This alert will indicate the likely points of entry and exit of the asset.
**DESCRIÇÃO - Versão em Português
A proposta deste script é mostrar no gráfico informações que possam auxiliar a sua decisão de compra e venda de cryptos.
Este script é indicado para negociação Position Trade (Longo Prazo - Holders) e Swing Trade (Médio prazo).
Para Position Trade (Holders) é indicado utilizar os gráficos Semanal (W) e Diário (D), para Swing trade utilizar os gráficos 4H e 2H.
Não é aconselhável utilizar este indicador com tempos gráficos menores que 2hs pois os níveis de ruídos nas informação são muito altos.
Foi inserido no indicador uma função de alerta e para ativar esta função, você precisará configurá-la no seu Tradingview.
Este alerta irá indicar os provaveis pontos de entrada e saída do ativo.
====================================================================================================
** English Version
====================================================================================================
█ SETUP applied to Indicator
The setup is based on the average 8, 21 and 56 of the weekly chart (taught on youtube channel: Augusto Backes)
Price above the average 8 on the weekly, indicates that the market is UP trend, below the average 8 on the weekly that the market is DOWN trend
RSI greater than 60% the market is UP trend
RSI greater than 40% and lower 60% the market is in ACCUMULATION
RSI less than 40% the market DOWN trend
The weekly average 8 is represented in GREEN (Upward Trend) and RED (Downward Trend).
The weekly average 21 is represented in LIGHT ORANGE
The weekly average 56 is represented in LIGHT PURPLE
The crossing of weekly averages 8 and 21 is represented with a GREEN (HIGH trend) and RED (LOW trend) cross - this signal is disabled on the graph but you can enable it by clicking on the graph setup
█ FUNCTION USE
(1) Average 8, 21 and 56 on Weekly - show the average 8, 21, 56 weekly on graphic (Average 8 in color red and green, 21 - light orange, 56 light purple)
(2) Crossing of averages 8 and 21 Weekly - is not active but you can activate
(3) Calculation of RSI
(4) barcolor() - mark the candles with the green color (High market) and red color (Dow market)
(5) alertcondition() - you can active this alert on Tadingview
█ BUY AND SELL POINTS - likely points
The indication of the BUY position is shown by a green arrow pointing upwards and the sell position by a red arrow pointing downwards. Buy and sell indications are obtained from the divergence in the market trend.
█ THANK TO
PineCoders for everything they do, all the tools and help they provide, and their involvement in making a better community. All PineCoders, Pine Pros and Pine Wizards, people who share their work and knowledge because of it and helping others, I am so happy and so grateful.
█ NOTE
This indicator is not a buy and sell recommendation, it indicates the most likely buy and sell points. Every purchase and sale decision is your responsibility
*****************************************************************************************************
** Versão em Português
*****************************************************************************************************
█ SETUP aplicado no Indicador
O setup está baseado na média 8, 21, e 56 do gráfico semanal
Preço acima da média 8 no semanal indica que o mercado esta em tendência de ALTA, abaixo da média 8 no semanal que o mercado está em tendência de BAIXA
RSI maior que 60% o mercado está em ALTA
RSI maior que 40% e menor 60% o mercado está em ACUMULAÇÃO
RSI menor que 40% o mercado está em BAIXA
A média 8 semanal está representadas nas cores VERDE (Tendência de Alta) e VERMELHA (Tendência de Baixa).
A média 21 semanal está representada na cor laranja claro
A média 56 semanal está representada na cor roxa claro
O cruzamento das médias 8 e 21 semanal esta representado com uma cruz VERDE (Tendência de ALTA) e VERMELHA (Tendência de BAIXA) - este sinal esta desativado no gráfico mas você pode ativá-lo clicando no setup do gráfico
█ FUNÇÕES UTILIZADAS
(1) Média 8, 21 e 56 no Semanal - mostra a média 8, 21, e 56 no gráfico
(2) Cruzamento das médias 8 e 21 Semanal - não está ativo mas você pode ativá-lo
(3) Cálculo do RSI
(4) barcolor() - marca a vela (Candle) com a cor verde (Mercado em Alta) e a cor vermelha (Mercado em Baixa)
(5) alertcondition () - você pode ativar o alerta no Tradingview
█ PONTOS DE COMPRA E VENDA - prováveis pontos
A indicação da posição de COMPRA é apresentada por uma seta na cor verde apontada para cima e a posição de VENDA por uma seta na cor vermelha apontada para baixo. As indicações de compra e venda são obtidas a partir da divergência na tendência do mercado.
█ OBRIGADO PARA
PineCoders por tudo o que fazem, todas as ferramentas e ajuda que fornecem, e seu envolvimento em fazer uma comunidade melhor. Todos os PineCoders, Pine Pros e Pine Wizards, pessoas que compartilham seu trabalho e conhecimento por causa dele e ajudando os outros, estou muito feliz e muito grato.
█ NOTA
Este indicador não é uma recomendação de compra e venda ele indica os pontos mais prováveis de compra e venda. Toda decisão de compra e venda é de sua responsabilidade
Williams Fractals StrategyThis indicator made with using Williams Fractals, 20 50 100 Moving Averages and Relative Strength Index. You can easily find entry points by using Long (L), Short (S) signals.
Note : Settings are optimized for BTC:USDT Perpetual 15min TF. For use different pairs or TFs you may need to change settings.
Multi-timeframe MAs + Stoch RSI SignalsHello traders,
I welcome you to my first published script on TradingView: “Multi-timeframe Moving Averages + Stochastic RSI”.
The script is based on a simple formula: Buy signals are generated when a fast moving average is above a slower moving average (uptrend) and the Stochastic RSI K line is crossing above the oversold level (entry).
Sell signals are generated when a fast moving average is below a slower moving average (downtrend) and the Stochastic RSI K line is crossing below the overbought level (entry).
This indicator works best in strong trends!
**Please note the above example has repainting turned on which may produce unrealistic results when viewing historical data. See below for more information regarding this and how you can turn it off.**
The user has the following inputs:
- Option to change the Stochastic RSI settings, including the oversold and overbought levels.
- Option to enter any value for both the Fast Moving Average and the Slow Moving Average.
- Option to change between EMA or SMA for each moving average.
- Multiple time frames to choose from, as well as the ability to selectively turn off individual time frames (both plots and alerts).
(Default time frames are 1 hour, 4 hour, and Daily. You can have a 4th time frame by changing your current time frame to something lower than the other 3 time frames)
- Turn on/off repainting: If repainting is turned on you will get an alert and buy/sell signal on chart immediately when condition is met, however the signal may disappear from chart if the condition reverses during the same candle.
If repainting is turned off, the indicator will wait for the candle to close before issuing the alert and painting the signal on chart.
For higher time frames, the indicator will wait for the candle in the higher time frame to close before issuing a signal if repaint is turned off. Default is set to Repaint on, so please be aware of this if you do not want repainting.
How to use alerts:
- Before you do anything, make sure your current time frame is the lowest time frame you’d like alerts on, as you will still receive alerts for the higher time frames you selected in settings.
- Once you have all the settings changed to how you like, save your chart first. Then right click on any of the indicator’s buy/sell signals on the chart and click “Add Alert on MAs + Stoch RSI”.
- Make sure “Any alert() function call” is selected under the Condition.
- You can delete or change the text in “Alert name” if you want as the alert message is already built into the indicator, and it will tell you in the alert message which asset and time frame to buy or sell.
Other things to note:
- The indicator will not display the buy/sell signals of lower time frames when you are on a higher time frame. This was done purposely to reduce clutter on the chart when you switch to higher time frames.
- While the alert message will tell you which time frame a signal was generated, the plots on the chart will instead show “Buy/Sell TF1, or TF2, or TF3”.
If the signal is from the current time frame that the alert was created on, then it will simply show “Buy” or “Sell”.
Hope you guys enjoy using this one, please drop a like if you found it useful. If anyone wants to modify my script in any way, please just credit me for the original work when you publish the script. Good luck!
Abnormal Pin BarPin Bar is one of the most important candlestick patterns. Almost every time you see a pin bar, you can expect the price to turn in the opposite direction.
You should pay more attention to the abnormal ones among the pin bars. What I mean by abnormal pin bar is that the long leg is at least 3 times larger than the body.
With this indicator, you can set your own abnormal pin bar settings. The indicator will highlight abnormal pin bars according to the settings you specified.
The indicator uses the following three factors to indicate abnormal pin bar:
- Minimum body ratio in the pattern in percent
- Minimum ratio of the long shadow to the body
- Minimum ratio of the long shadow to the short shadow
Also, there is a volume strength check to confirm the pin bar. If the volume where the pin bar is formed is greater than the 20 volume average, it indicates that the pin bar is more important. Of course, confirming the pin bar with the volume is optional and you can disable it in settings if you wish.
You can use the highlights of this indicator as an entry signal if the pin bar appears at the trend key levels or in support or resistance zones.
Pivot Boss -- Squat bars and Non Squat Bars 2.0Squat Bar Signal -- current Volume is greater than previous volume but Current bar MFI(Market Facilitation index) is lesser than previous bar MFI
Other Conditions -- Current Bars Range is lesser than (Average Range * Range Multiplier)
Non Squat Bar Buy Signal(Green Up Triangle) -- Volume and MFI is greater than previous bar, Close greater than open, Close is greater than midpoint
Non Squat Bar Sell Signal(Red Down Triangle) -- Volume and MFI is greater than previous bar, Close lesser than open, Close is lesser than midpoint
Usually Squat signal is confirmed by Non Squat Bar Signal..
Other indicator used -- PEMA -- Pivot based EMA
For Better results use it along with Advanced Volume indicator and PEMA
CM_Twiggs Money FlowFull Credit goes to LazyBear for publishing Original Code.
I added:
Threshold lines that changes the color of Histogram based on if it exceeds Threshold lines. Ability to turn off and on.
Ability to Turn Histogram Off/On
Ability to turn Twiggs Money Flow Line Off/On
CryptoSignalScanner - MACD Multiple Time FramesDESCRIPTION:
After receiving some multiple request to provide a MACD indicator that displays multiple timeframes at the same time I created this simple script.
You can use this script for free and adjust it as much you like.
With this script you can plot 6 MACD lines & 6 Signal lines.
• Current Timeframe MACD Line
• Current Timeframe Signal Line
• 15 minute candle MACD Line
• 15 minute candle Signal Line
• 30 minute candle MACD Line
• 30 minute candle Signal Line
• 1 hour candle MACD Line
• 1 hour candle Signal Line
• 2 hour candle MACD Line
• 2 hour candle Signal Line
• 4 hour candle MACD Line
• 4 hour candle Signal Line
HOW TO USE:
• When multiple MACD lines on an uptrend are grouped together it is time to SELL.
• When multiple MACD lines on a downtrend are grouped together it is time to BUY.
• The higher to length of the MACD lines the stronger the BUY/SELL signal.
FEATURES:
• You can show/hide the preferred MACD lines.
• You can show/hide the preferred Signal lines.
How MACD works
The MACD indicator is generated by subtracting two exponential moving averages (EMAs) to create the main line (MACD line), which is then used to calculate another EMA that represents the signal line. In addition, there is the MACD histogram, which is calculated based on the differences between those two lines. The histogram, along with the other two lines, fluctuates above and below a center line, which is also known as the zero line.
The MACD indicator consists of three elements moving around the zero line:
• The MACD line. By default the MACD line is calculated by subtracting the 26-day EMA from the 12-day EMA.
MACD line = 12d EMA - 26d EMA
• The signal line. By default the signal line is calculated from a 9-day EMA of the MACD line.
Signal line = 9d EMA of MACD line
• Histogram. The histogram is nothing more than a visual record of the relative movements of the MACD line and the signal line.
It is simply calculated as: MACD line - signal line
REMARKS:
• This advice is NOT financial advice.
• We do not provide personal investment advice and we are not a qualified licensed investment advisor.
• All information found here, including any ideas, opinions, views, predictions, forecasts, commentaries, suggestions, or stock picks, expressed or implied herein, are for informational, entertainment or educational purposes only and should not be construed as personal investment advice.
• We will not and cannot be held liable for any actions you take as a result of anything you read here.
• We only provide this information to help you make a better decision.
• While the information provided is believed to be accurate, it may include errors or inaccuracies.
Good Luck,
SEOCO
No-lose trading targets (based on RSI) By Mustafa ÖZVERThis code shows expected reaction target prices after sudden moving based on RSI. Red area means the price is on overbought area, green area means the price is on oversold area. If you see red area under price, you can make short option to next to the horizontal beginning price of red area. If you see green area over price, you can make long option to next to the horizontal beginning price of green area.
When this code works
- The green area starts where rsi value is on oversold
- The red area starts where rsi value is on overbought
Of course, this code may be failed, do not forget the target may never come. But hopefully price will cross over the target.
And you (as developers) can develop this code by using anything instead of rsi to get up-down target prices.
But only this values can not guarantee good results for trading. BE CAREFUL
QQEMoMoTV█ OVERVIEW
This plots the QQE (Quantitive Qualitative Estimation)
with the addition of labels to show areas to watch out for and a colored cloud to show Green Upwards or Red Downwards Momentum
The QQE indicator is based on Wilder's RSI, which is based on a smoothed RSI comparing the change (delta Δ) between between bars
to compute the FastTL and SlowTL depending on the RSI Period, Slow Factor and QQE settings selected
As this works similarly to the RSI, it provides areas of overbought and oversold, and a cross at 50 for more bullish or more bearish
The FastTL and SlowTL crossovers works similarly to the crossover of a fast and slow moving average which can indicate bullish or bearish
When the SlowTL crosses above the FastTL a Green cloud indicating upwards momentum is drawn and vice versa when FastTL crosses above SlowTL
Bullish signals generated when Blue line crosses above Orange line, or Green MoMo cloud, Uptrend
Bearish signals generated when Orange line crosses above Blue line, or Red MoMo cloud, Downtrend
QQE Areas of interest:
Oversold: QQE < 33, Overbought: QQE > 67
Cross at 50: QQE crossing 50, this is an area that is between more bullish >50 and more bearish <50 zones
Note: as 50 is the switch between more bullish or more bearish zones , it is common to watch out for Support/Resistance Tests at this level
Tip: when QQE appears to be flat, this indicates a flat trend, this can commonly happen around the 50 zone when direction is relatively undecided, see the image below for an example
Very Overbought: QQE > 90, Careful! Watch out! QQE is showing very overbought and is generally a good area to take profit as others may sell soon too
QQE Fast settings: gives earlier signals, but also gives more shorter term signals
RSI_Period = 6, Slow_Factor = 3, QQE = 2.621
QQE Slow settings: gives more reliable signals, but sometimes a little late, best to use both fast and slow together for confirmation of the trend
RSI_Period = 20, Slow_Factor = 5, QQE = 4.236
You can add the QQEMoMoTV indicator to your chart twice and change one of them to the Fast settings and one of them to the Slow settings.
By comparing the QQEMoMoTV Fast and QQEMoMoTV Slow together you can get a better idea of the overall trend.
To best determine if this is a entry point or a trend reversal, it is recommended to use in conjunction with the MashumeHullTV indicator
█ FEATURES
Calculations
Calculates the change (delta Δ) between between bars based on Wilder's smoothed RSI to compute the FastTL (Orange) and SlowTL (Blue) lines
These are dependent on the QQE Fast settings or QQE Slow settings from the input RSI Period, Slow Factor and QQE selected
Labels are shown when QQE crosses areas of interest on the chart as Label text and shown with white dots on the QQEMoMoTV indicator
Inputs
You can use the script's inputs to configure:
• Calculation Source (default close)
• RSI Period (default 20)
• Slow Factor (default 5)
• QQE (default 4.236)
• Whether to show Green/Red MoMo Cloud
• Whether to show the QQE Label
• Style and Position of the QQELabel (default None)
None is selected as default to take up least space for optimal viewing when on Tradingview mobile, but you are free to change the style however you like
Alerts
Buy Signal alert based on rsi_ma crossing above FastAtrRsiTL, when Blue Line Cross above Orange Line, Green MoMo Cloud, Bullish
Sell Signal alert based on FastAtrRsiTL crossing above rsi_ma, when Orange Line Cross above Blue Line, Red MoMo Cloud, Bearish
█ CREDITS
Original Author: greyghost7
Feature upgrades and usage: Xiuying
Converted to Tradingview by: Machdragon
MashumeHullTV█ OVERVIEW
This plots the Hull Moving Average Turning Points and Concavity
with the addition of colored segments representing concavity and turning points: maxima, minima and inflection.
a fast way to determine the trend direction and possible reversals based on concavity of the trend
Dark Green: Concave Up but HMA decreasing. The 'mood' has changed and the declining trend of the HMA is slowing. Possible trend change to Uptrend soon
Light Green: Concave up and HMA increasing. Price is increasing, and since the curve is still concave up, it is accelerating upward. Uptrend
Orange: Concavity is now downward, and though price is still increasing, the rate has slowed, perhaps the mood has become less enthusiastic. Possible trend change to Downtrend soon
Red: Concave down and HMA decreasing. Downtrend
Buy signals generated when Hull turns from Dark Green -> Light Green
Sell signals generated when Hull turns from Orange -> Red
To best determine if this is a entry point or a trend reversal, it is recommended to use in conjunction with the QQEMoMoTV indicator
█ FEATURES
Calculations
Calculates the concavity of the Hull Moving Average comparing the Hull concavity of the current bar to the previous bar and displays the concavity in the form of 4 different colors.
Note: may cause repainting, so recommended to use with another indicator such as the QQEMoMoTV indicator to confirm signals.
Calculates divergence between the calculated HMA and the actual price and displays this in the Divergence Label.
Calculates the local minima, maxima and inflection points with the ability to display these as auto support/resistance lines.
Inputs
You can use the script's inputs to configure:
• Calculation Source (default HL2)
• HMA Length (default 21)
• Lookback (default 2)
• Whether to show Auto Support/Resist Lines
• Whether to show Buy/Sell Arrows
• Whether to show Divergence Label
• Whether to extend Local Auto Support/Resist Lines
Alerts
Buy Signal alert based on HMA crossing above MA_Min/Hull Support, when Hull turns from Dark Green -> Light Green, Bullish
Sell Signal alert based on HMA crossing below MA_Max/Hull Resistance, when Hull turns from Orange -> Red, Bearish
Experimental support for applying the indicator to higher time frames
eg. charting the hourly MashumeHull indicator on 15 min chart. See the commented code to access this feature
█ CREDITS
Original Author: Seth Urion (Mashume)
Feature upgrades and usage: Xiuying
Converted to Tradingview by: Machdragon
[GJ]IFRSITHE INVERSE FISHER TRANSFORM STOCH RSI
HOW IT WORKS
This indicator uses the inverse fisher transform on the stoch RSI for clear buying and selling signals. The stoch rsi is used to limit it in the range of 0 and 100. We subtract 50 from this to get it into the range of -50 to +50 and multiply by .1 to get it in the range of -5 to +5. We then use the 9 period weighted MA to remove some "random" trade signals before we finally use the inverse fisher transform to get the output between -1 and +1
HOW TO USE
Buy when the indicator crosses over –0.5 or crosses over +0.5 if it has not previously crossed over –0.5.
Sell when the indicator crosses under +0.5 or crosses under –0.5 if it has not previously crossed under +0.5.
We can see multiple examples of good buy and sell signals from this indicator on the attached chart for QCOM. Let me know if you have any suggestions or thoughts!
Simple way to BEAT the market [STRATEGY]This script has been created to demonstrate the effectiveness of using market regime filters in your trading strategy, and how they can improve your returns and lower your drawdowns
This strategy adds a simple filter (A historical volatility percentile filter, an implementation of which can be found on my trading profile) to a traditional buy and hold strategy of the index SPY.
Note, There are other filters that could also be added including a long-term moving average/percentile rank filter/ADX filter etc, to improve the returns further.
The filter closes our long position during periods of volatility that exceed the 95th percentile (or in the top 5% of volatile days) and buys back when the volatility is below 95% rank of the past 100 days
Have included the backtest results since 1993 which is 28 years of data at the time of writing. Comparison of traditional buy and hold with this modified strategy can be found below:
Traditional buy and hold:
Return per year: 7.95 % (ex Dividends)
Total return: 851.1 %
Max drawdown: 50.79 %
'Modified' buy and hold (this script):
Return per year: 9.92 % (ex Dividends)
Total return: 1412.2 %
Max drawdown: 31.57 %
Feel free to use some of the market filters in my trading profile to improve and refine your strategies further, or make a copy and play around with the code yourself. This is just a simple example for demo purposes.
TDI - Traders Dynamic Index + RSI Divergences + Buy/Sell SignalsTraders Dynamic Index + RSI Divergences + Buy/Sell Signals
Credits to LazyBear (original code author) and JustUncleL (modifications)..
I added some new features:
1- RSI Divergences (Original code from 'Divergence Indicator')
2- Buy/Sell Signals with alerts (Green label 'Buy' - Red label 'Sell')
3- Background colouring when RSI (Green line) crosses above MBL (yellow line)
- Buy and Sell Signals are generated using Dean Malone's method (The Author of the TDI indicator) as mentioned in his PDF: (( www.forexfactory.com )), according to:
** Buy (Green Label) = RSI > 50, Red line, & Yellow line
** Sell (Red Label) = RSI < 50, Red line, & Yellow line
- I found that the best quality long trades generated when RSI crosses above red line, yellow line and they are all above 50, and vice versa for sell trades.
-I figured out another way to generate Buy/Sell Signals when RSI crosses above the yellow line, and you can stay with the trade till RSI crosses under the yellow line (I made a background colouring for that to be easily detected)
Hope you all wonderful trades..
مؤلف المؤشر هو (Dean Malone)
وكتب LazyBear كوده في tradingview
وأضاف JustUncleL بعض التعديلات عليه
أضفت إليه بعض المزايا الأخرى المتمثلة في:
1- رصد انحرافات مؤشر القوة النسبية
2- إشارات بيع وشراء بناء على طريقة مؤلف المؤشر
3- تظليل بالأخضر للمنطقة التي يعبر فيها مؤشر القوة النسبية الخط الأوسط (الخط الأصفر)
إشارات البيع والشراء تكون كالتالي:
** الشراء عندما يكون مؤشر القوة النسبية فوق الخط الأحمر وفوق خط الـ 50 وفوق الخط الأصفر
** البيع عندما يكون مؤشر القوة النسبية تحت الخط الأحمر وتحت خط الـ 50 وتحت الخط الأصفر
** أفضل إشارات الشراء حينما يعبر مؤشر القوة النسبية فوق الخط الأحمر والأصفر، ويكونوا جميعا فوق خط الـ 50، والعكس بالنسبة لإشارات البيع
يمكن استخدام المؤشر في دخول صفقات متوسط المدى، وذلك عندما يعبر مؤشر القوة النسبية فوق الخط الأصفر (قمت بتظليل المنطقة بالأخضر لسهولة رصدها) والخروج من الصفقة إذا نزل مؤشر القوة النسبية عن الخط الأصفر،
يرجى التنبه إلى أن الدخول والخروج يكون بأسباب فنية مدروسة، والمؤشر يدعم قراراتك فقط، ولا يمكن الاعتماد عليه منفردا في تحديد نقاط الدخول أوالخروج.
تجارة موفقة لكم جميعا :)
The Bayesian Q OscillatorFirst of all the biggest thanks to @tista and @KivancOzbilgic for publishing their open source public indicators Bayesian BBSMA + nQQE Oscillator. And a mighty round of applause for @MarkBench for once again being my superhero pinescript guy that puts these awesome combination Ideas and ES stradegies in my head together. Now let me go ahead and explain what we have here.
I am gonna call it the Bayesian Q Oscillator I suppose. The goal of the script is to solve an issue both indicators on their own suffer from. QQE signals are not new and often the problem has always been false signals for them. They are good for scalping but the difference between a quality move and a small to nearly nonexistent move following a signal is not so clear. Kivanc made his normalized version to help reduce this problem by adding colors to his histogram type verision that would essentially represent if price was a trending move or in a ranging structure. As you can see I have kept this Idea but instead opted for lines as the oscillator. two yellow line (default color) is a ranging sideways area and when there is red or green it is trending up or down. I wanted to take this to the next level with combining the Bayesian probability oscillator that tista put together.
The Bayesian indicator is the opposite for its issue as it is a probability indicator that shows which candle or price movement is more likely to come next. Red rising means possibly down move soon and green means up soon. I will not go into the complex details of this indicator but will suggest others take a look at his and others to understand the idea behind them. The point I am driving at is that it show probabilities or likelyhood without the most effecient signal device to match it. This original was line form and now it is background filled colors.
The idea. is that you can potentially get some stronger and more accurate reversal signals with these two paired together. when you see a sell signal or cross with the towering or rising red... maybe it is a good jump potentially. The same for green. At the same time it is a double added filter effect from just having yellow represent it is ranging... but now if you get a buy signal (example) and have yellow lines (example) along wi5h a red rising or mountain color background... it not only is an indication of ranging, but also that there is potentially even a counter move coming based on the probabilities. Also if you get into a good trade and see dual yellow qqe crosses with no color represented by the bayesian background... it is possible it might only be noise.
I have found them to work decently in the 1 hour timframe. Let me know your experience.
I hope everyone takes a look at the originals to understand them. Full credit goes to those guys for this to be here. Let me know how it is working out for you.
Here are the original links.
bayesian
Normalized QQE
Vol Buy/Sell %s, CMF, and Stocahstic Osc & UOPlots % Buy / Sell Volume , Chaikin Money Flow , Stochastic Oscillator, and Ultimate Oscillator on same axis, bound -1 to 1.
Show Volume Percentage, displaying buying as green and positive, selling as red and negative.
Showing the CMF, with green / red fill for positive / negative values.
Modified Stochastic Oscillator, converting bounds to -1 and 1, moving overbought/sold to -0.6 and 0.6, accordingly. Green fill (buy signal) with %D below -0.6 and %K lower than %D. Red fill (sell signal) with %D above 0.6 and %K higher than %D. Fill is between %D and bound, to be more visible.
Modified Ultimate Oscillator, converting bounds to -1 and 1, moving overbought/sold to -0.6 and 0.6, accordingly.
Chaikin Money Flow with Volume PercentsShowing the CMF, with green / red fill for positive / negative values, overlaid with Volume Percentage, displaying buying as green and positive, selling as red and negative.
Precise_SignalThis signal combines a portion of Chris Moody's 2014 SlingShot and my 2017 MTF Indicators. Both of our prior scripts over indicated Buy and Sell Points. This signal indicates a buy or sell point much less than our prior scripts did but with absolute precision.
I would say it is 100% accurate, but that is because I am yet to find a timeframe and symbol where the Buy signal failed to see the equity move up or the Sell signal failed to see the equity move down over the next 5 bars. I have tested 2000 charts so far. To be safe, I would rather state this indicator is accurate nearly 100% of the time.
The indicator is made up of 2 main portions and both of them have to agree on a buy or sell in order to indicate such with a vertical green or maroon bar beneath the chart. If there is a failure to agree, nothing is signaled.
Indicator 1 combines a stochastic of a 3 hour chart and a daily chart to determine when the stochastics are in agreement on direction. When there is agreement, both of them MUST cross from a buy state to a sell state and vice versa at exactly the same time. This is difficult to achieve and it is already rare for this occurrence to produce a signal. When a signal is produce it is combine with Chris Moody's 2014 SlingShot Indicator which conservatively determines Buy and Sell signals based on EMAs and market direction. Signals from his SlingShot are infrequent.
BUY Signal
When my MTF signals Buy at the same time that the SlingShot signals a Buy, a vertical green bar will appear in the window containing this script. The vertical bar is based on the close price of the equity and is only final when the close price is final. A BUY signal means the equity will move up potentially as early as the next bar and achieve a higher value from the close price on the signal bar.
SELL Signal
Likewise, a sell signal from the MTF at the same time as a sell signal from the SlingShot will create a maroon bar in the window containing this script. The vertical bar is based on the close price of the equity and is only final when the close price is final. A SELL signal means the equity will move down potentially as early as the next bar and achieve a lower value from the close price on the signal bar.
The default values for this script are hard-coded into this script. You can edit any of the value you would like to play with other timeframes, stochastic, and moving average lengths.
I have played with these values and have hard-coded the ones that are most accurate. Please let me know if you find others that work.
Hopefully this becomes an extra tool in your technical trading toolkit.
Escaping of Rate from Avarage By Mustafa OZVEREscaping of Rate from Average By Mustafa OZVER
This code shows a location of a rate or price (or etc.) from the average, rated by the standard deviation.
To show that, calculates the ema and standard deviation of our data then calculates the distance between ema and the current data by the standard deviation.
In summary, we can say that this value is the current distance by the long term standard deviation.
This value is between +1 and -1 because we expect the absolute value of the standard distance does not get far from the long term standard deviation.
For scalping, we can use this value as
buy signal when the value is below -1,
sell signal when the value is above +1,
But only this value can not guarantee good results for trading. BE CAREFUL
Seri Indicator 0.1This is a Moving Average based indicator that is inspired by the MACD indicator. The indicator is intended to indicate trend reversals, and works best in hourly charts (1h-2h-3h-4h).
The Seri Indicator is easy to interpret, which was one of the design goals. If the Fast Moving Average (Green Line) crosses ABOVE the Slow Moving Average (Red Line), it indicates a BULLISH Trend, therefore a BUY SIGNAL. If the Fast Moving Average (Green Line) crosses BELOW the Slow Moving Average (Red Line), it indicates a BEARISH trend, therefore a SELL SIGNAL. The indicator is in development phase so it is natural for it to give faulty signals, so it is good practice to use it on a longer-term chart than the intended one (Use 2h chart for hourly trades etc.).
Any suggestions for improvements are highly welcome!