Volatility
Donchian Channel TestingConditions:
1. Centre line above close long entry, exit centre line below close.
2. Centre line below close short entry, exit centre line below close.
3. But For now I coded like Long Exit becomes entry for Short and vice versa
Have to further Update
Dragon Bot - Default ScriptDragon Script is a framework to make it as easy as possible to test your own strategies and set alerts for external execution bots.
The script has many features build in, like:
1) A ping/pong mechanism between longs and shorts
2) A stop-loss
3) Trailing Stops with several ways to calculate them.
4) 2 different ways to flip from long to short.
The script is divided into several parts.
The first part of the script is used to set all the variables. You should normally never change the first part except for the comments at the top.
The second part of the script is the part where you initialise all your indicators. Several indicators can be found on Tradingview and on other sites. Please keep in mind that all the variable names used in the indicator should be unique. (all the … = … parts)
The third part of the script, is the most important part of the script. Here you can create the entry and exit points.
Let’s look at the OPENLONG function to explain this part: The first variables are all the possible entries; These are longentry1 till longentry5. You can add many more if you like.
The variables are all initialised as being false. This way the script can set a value to true if an entry happens.
The if function is the actual logic: You could say “if this is true” then (the line below the if function) longentry1 := (becomes) true.
In this case we have said: “if this is true” then (the line below the if function) longentry1 := (becomes) true when the current close is larger than the close that is 1 back.
The last part is the makelong_funct. This part says that if any of the entries are true, the whole function is true.
The last part of the script is the actual execution. Here the alerts are plotted and the back test strategies are opened and closed.
We hope you guys like it and all feedback is welcome!
Volatility System by Wilder [LucF]The Volatility System was created by J. Welles Wilder, Jr. It first appeared in his seminal masterpiece, "New Concepts in Technical Trading Systems" (1978). He describes the system on pp.23-26, in the chapter discussing the first presentation ever of the "Volatility Index", built using a novel way of calculating a value representing volatility that he named Average True Range (ATR). The latter stuck.
The system is a pure reversal system (it is always either long or short). One of its characteristics is that its stop strategy moves up and down during a trade, widening the gap from price when volatility (ATR) increases. Because of this, this strategy can suffer large drawdowns and is not for the faint of heart.
The strategy uses a length (n) to calculate an ATR. ATR(n) is then multiplied by a factor to calculate the Average Range Constant (ARC). The ARC is then added to the lowest close n bars back to form the high Stop and Reverse points (SAR), and subtracted from the highest close n bars back to calculate the low SAR. Reversals occur when price closes above the high SAR or below the low SAR.
The system is best suited to higher time frames: 12H and above. Its performance depends heavily on calibration of the length and ARC factor. Wilder proposes a length of 7 and a factor between 2.8 to 3.1. My summary tests at 12H, 1D and 3D on stocks and cryptos yield better results with values of approximately 9-10/1.8-2.5 for cryptos and 9-10/3.0-4.0 for stocks. Small changes in the values will sometimes yield large variations in results, which I don’t particularly like because it tends to imply fragility, whereas I’d expect more robustness from a system with such simple rules. Additionally, backtests at 1D on cryptos provide so little data that no solid conclusions can be drawn from them.
All in all, the system is not very useful in my opinion; I publish it more for completeness, since as far as I can tell, it did not exist on this platform before. I also publish it out of respect for Wilder’s work. His book laid the foundation for many of the building blocks used by system designers, even today. In less than a hundred pages he presented RSI, ATR, DMI, ADXR and the Parabolic SAR indicators, some of which have become built-in functions in programming languages. This is a colossal feat and has not been repeated. Wilder is a monument.
Some lesser-known facts about his book:
It sells for the exact same price it cost in 1978: 65$,
The book has always been published by Wilder himself,
The layout hasn’t changed in 40 years,
He sells >35K copies/year.
Gotta love the guy.
The strategy is shown here on BTC /USD with settings of 12/1.8 (the defaults are 9/1.8). It shows the system under its best light. Other markets will most not reproduce such results. Also, the drawdown is as scary as the results are impressive.
Features
The code is written as a strategy but can easily be converted to an indicator if you want to use the alerts it can produce. Instructions are in the code.
You can change the length and ARC factor.
You can choose to trade only long or short positions.
You can choose to display the SARs (the stops) in multiple ways.
You can show trigger markers.
A date range can be defined.
3 alerts: reversals (both long and short), longs, shorts. Remember that for the moment, strategies cannot generate alerts in TradingView, so the strategy must be converted to an indicator in order to make the alerts available.
NVT Signal with RMA and Thresholds (Strategy / Backtest)This is the strategy w/ backtester and trailing-stop / stop-loss for kishin's NVT alerts
ATR smoothed by Hull MAThis is Average True Range indicator, but it is smoothed with Hull MA ( not WMA etc )
It is set to overlay the candles so looks different from normal ATR but i assure you it is ATR
Script open so you can see for yourself.
perhaps different settings are better,
Help me test it, and suggest improvements thankyou
Tangram Bot 2 - SmartbotPrimeira Versão do Script Tangram Bot 2 da Smartbot para tradingview.
A intenção é agilizar e fazer um teste prévio e rápido do setup.
O resultado indicado aqui jamais corresponderá a um resultado real. É apenas uma ferramenta de estudo.
Ainda falta fazer e melhorar a parte de gestão de risco.
Caso queria fazer alguma sugestão ao cógido para melhorar a gestão de risco ou caso tenha encontrado algum erro, favor comunicar.
O tangram bot 2 combina o uso de até dez Indicadores de Análise Técnica com Gerenciamento de Risco (stop gain, stop loss, stop móvel, realização parcial, bloqueio de reversões, lucro máximo por dia e prejuízo máximo por dia) e Filtros Diversos (sentido das operações, uso do after-market, bloqueio de nova entrada após saída, hora inicial e hora final para negociação). São utilizados os indicadores Médias Móveis, HiLo Activator, MACD, ADX, Estocástico, VWAP, IFR, Bandas de Bollinger, Stop ATR e SAR Parabólico
Amazing Crossover System - 100+ pips per day!I got the main concept for this system on another site. While I have made one important change, I must stress that the heart of this system was created by someone else! We must give credit where credit is due!
Y'all know baby pips. @ForexPhantom published about this system and did both back and forward test around 10 years ago.
I found it on the sit and now I put it to code to see how it performs. I assume 10 points spread for every trade. I use Renesource or AxiTrader to get the low spreads.
There are 2 mods, the single trades and constant trading on the direction.
Main concept
Indicators
5 EMA -- YELLOW
10 EMA -- RED
RSI (10 - Apply to Median Price: HL/2) -- One level at 50.
TIME FRAME
1 Hour Only (very important!)
PAIRS
Virtually any pair seems to work as this is strictly technical analysis.
I recommend sticking to the main currencies and avoiding cross currencies (just his preference).
WHEN TO ENTER A TRADE
Enter LONG when the Yellow EMA crosses the Red EMA from underneath.
RSI must be approaching 50 from the BOTTOM and cross 50 to warrant entry.
Enter SHORT when the Yellow EMA crosses the Red EMA from the top.
RSI must be approaching 50 from the TOP and cross 50 to warrant entry.
I've attached a picture which demonstrates all these conditions.
That's it!
f.bpcdn.co
RENKO strategyStandard simple strategy RENKO. Entry on the first reversing bar. No repaints. Caution arrows when price crossing RENKO levels
[TH] Adaptive Trend : StrategyAdaptive Trend : Strategy
*** It should be used with 'heikin ashi' chart ***
Super Trend
Basically, it is super trend strategy ( Rajandran R Supertrend )
- My idea is,
1. (scale) Factor of super trend is related with sensitivity of Up/Down trend change
2. Constant Factor cause failure of super trend strategy when market prices variance is low ( ie. high Factor ==> miss short trend )
3. By using variance measure ( like BollingerBand ) as a varying Factor, maybe we can catch short trend and long trend together
Loss Cut
The silver thick line is loss cut line & silver background means exit position status
I found that silver background is appear usually when price moves horizontally
1. It is set to open price of actual position entry ( heikin ashi chart's open price = loss cut line = (open + close)/2 )
2. If position is long
==> loss cut is executed when low price is lower than loss cut line
==> re-entry when low price is higher than loss cut line
3. If Position is short
==> loss cut is executed when high price is higher than loss cut line
==> re-entry when high price is lower than loss cut lin
SARSI Reversal StrategySimple reversal strategy based on 'Parabolic Stop and Reverse' and 'Relative Stength Index' indicators.
Buy The Dip - Does It Work?Buying the dip has become a meme in crypto, but does it actually work?
Using this script you can find out.
The dip is defined here as the average true range multiplied by a number of your choosing (dipness input) and subtracted from the low.
When price crosses under the dip level, a long is initiated. The long is then closed using a timestop (default value 20 bars), no fancy exits here.
A general rule for buying the dip should be to be more passive in a bull market and aggressive in a bear market.
Same goes for all counter trend trading.
Heres a few other examples of dip buying statistics using the H4 timeframe:
50% profitable, 1.692 Profit Factor
BINANCE:PIVXBTC
56.52% profitable, 1.254 Profit Factor
BINANCE:KMDBTC
27.27% Profitable, 0.257 Profit Factor... yikes!
BINANCE:BTSBTC
73.33% Profitable, 13.627 Profit Factor... o.O
BINANCE:MANABTC
Powerfull strategy MACD+RSI+STOCH ATR stop best on Crude OilMy strategy uses a combination of three indicators MACD Stochastic RSI .
The Idea is to buy when ( MACD > Signal and RSI > 50 and Stochastic > 50) occures at the same time the BUY STop we place on previous day HIGH
and sell (short) when the opposite condition occurs we place SELL STOP on previous day LOW
We exit on Take profit or Stop loss which is calculated by ATR (10) or on the opposite signal "Volatility breakout"
This strategy works well on stocks, commodities and cryptos especially during market breaking up after consolidation
The best results are on Daily charts , so its NOT a scalping strategy. But it can work also on 1H charts.
The strategy does not have any stops and profit targets, so we can take all the market can give us at the moment.
The exit point only when MACD goes under Signal
Its Preformance is significantly better with "buy stop on High.1 and sell stop on Low.1" idea and exit on "volatility price breakout"
So, use it, trade it.
If it will help you to imprive your trading results, please donate me
BTC: 12kd1F8buWisUBdq27BBwRkUvzW7Ey3og
Powerfull strategy MACD + RSI + Stoch buy on High exit on ATRMy strategy uses a combination of three indicators MACD Stochastic RSI .
The Idea is to buy when ( MACD > Signal and RSI > 50 and Stochastic > 50) occures at the same time the BUY STop we place on previous day HIGH
We exit on Take profit or Stop loss which is calculated by ATR (10) or on the opposite signal "Volatility breakout"
This strategy works well on stocks, commodities and cryptos especially during market breaking up after consolidation
The best results are on Daily charts , so its NOT a scalping strategy. But it can work also on 1H charts.
The strategy does not have any stops and profit targets, so we can take all the market can give us at the moment.
The exit point only when MACD goes under Signal
Its Preformance is significantly better with "buy stop on High.1" idea and exit on "volatility price breakout"
So, use it, trade it.
If it will help you to imprive your trading results, please donate me
BTC: 12kd1F8buWisUBdq27BBwRkUvzW7Ey3og5
Price Action with MACD Barcolor + Insidebar + Fakey + Key level EMA 89 and Hull MA 89 used to filter trading signals and working as support and resistance.
When both of them are red, market is bearisk, only short.
When both of them are green, market is bullish, only long.
when there is 1 green and 1 red, market is neutral, can short or long.
Enjoy and happy trading!
You can follow me there: www.facebook.com you are welcom!