RSI TSIRSI & TSI combination, with Hull MA for a center Line.
Order entry with either RSI TSI or Hull MA
Experimental strategy for possible use as bot
Plots named for use with alerts
HMA
RSI TSI StrategyRSI & TSI combination, with Hull MA for a center Line.
Order entry with either RSI TSI or Hull MA
Experimental strategy for possible use as bot
Multi SMA EMA WMA HMA BB (4x5 MAs Bollinger Bands) Adv MTF - RRBMulti SMA EMA WMA HMA 4x5 Moving Averages with Bollinger Bands Advanced MTF by RagingRocketBull 2019
Version 1.0
This indicator shows multiple MAs of any type SMA EMA WMA HMA etc with BB and MTF support, can show MAs as dynamically moving levels.
There are 4 MA groups + 1 BB group, a total of 4 TFs * 5 MAs = 20 MAs. You can assign any type/timeframe combo to a group, for example:
- EMAs 12,26,50,100,200 x H1, H4, D1, W1 (4 TFs x 5 MAs x 1 type)
- EMAs 8,10,13,21,30,50,55,100,200,400 x M15, H1 (2 TFs x 10 MAs x 1 type)
- D1 EMAs and SMAs 8,10,12,26,30,50,55,100,200,400 (1 TF x 10 MAs x 2 types)
- H1 WMAs 7,77,89,167,231; H4 HMAs 12,26,50,100,200; D1 EMAs 89,144,169,233,377; W1 SMAs 12,26,50,100,200 (4 TFs x 5 MAs x 4 types)
- +1 extra MA type/timeframe for BB
There are several versions: Simple, MTF, Pro MTF, Advanced MTF and Ultimate MTF. This is the Advanced MTF version. The Differences are listed below. All versions have BB
- Simple: you have 2 groups of MAs that can be assigned any type (5+5)
- MTF: +2 custom Timeframes for each group (2x5 MTF) +1 TF for BB, TF XY smoothing
- Pro MTF: 4 custom Timeframes for each group (4x3 MTF), 1 TF for BB, MA levels and show max bars back options
- Advanced MTF: +2 extra MAs/group (4x5 MTF), custom Ticker/Symbols, Timeframe <>= filter, Remove Duplicates Option
- Ultimate MTF: +individual settings for each MA, custom Ticker/Symbols
Features:
- 4x5 = 20 MAs of any type
- 4x MTF groups with XY step line smoothing
- +1 extra TF/type for BB MAs
- 4x5 = 20 MA levels with adjustable group offsets, indents and shift
- supports any existing type of MA: SMA, EMA, WMA, Hull Moving Average (HMA)
- custom tickers/symbols for each group - you can compare MAs of the same symbol across exchanges
- show max bars back option
- show/hide both groups of MAs/levels/BB and individual MAs
- timeframe filter: show only MAs/Levels with TFs <>= Current TF
- hide MAs/Levels with duplicate TFs
- support for custom TFs that are not available in free accounts: 2D, 3D etc
- support for timeframes in H: H, 2H, 4H etc
Notes:
- Uses timeframe textbox instead of input resolution dropdown to allow for 240 120 and other custom TFs
- Uses symbol textbox instead of input symbol to avoid establishing multiple dummy security connections to the current ticker - otherwise empty symbols will prevent script from running
- Possible reasons for missing MAs on a chart:
- there may not be enough bars in history to start plotting it. For example, W1 EMA200 needs at least 200 bars on a weekly chart.
- price << default Y smoothing step 5. For charts with low/fractional prices (i.e. 0.00002 << 5) adjust X Y smoothing as needed (set Y = 0.0000001) or disable it completely (set X,Y to 0,0)
- TradingView Replay Mode UI and Pinescript security calls are limited to TFs >= D (D,2D,W,MN...) for free accounts
- attempting to plot any TF < D1 in Replay Mode will only result in straight lines, but all TFs will work properly in history and real-time modes. This is not a bug.
- Max Bars Back (num_bars) is limited to 5000 for free accounts (10000 for paid), will show error when exceeded. To plot on all available history set to 0 (default)
- Slow load/redraw times. This indicator becomes slower, its UI less responsive when:
- Pinescript Node.js graphics library is too slow and inefficient at plotting bars/objects in a browser window. Code optimization doesn't help much - the graphics engine is the main reason for general slowness.
- the chart has a long history (10000+ bars) in a browser's cache (you have scrolled back a couple of screens in a max zoom mode).
- Reload the page/Load a fresh chart and then apply the indicator or
- Switch to another Timeframe (old TF history will still remain in cache and that TF will be slow)
- in max possible zoom mode around 4500 bars can fit on 1 screen - this also slows down responsiveness. Reset Zoom level
- initial load and redraw times after a param change in UI also depend on TF. For example:
D1/W1 - 2 sec, H1/H4 - 5-6 sec, M30 - 10 sec, M15/M5 - 4 sec, M1 - 5 sec.
M30 usually has the longest history (up to 16000 bars) and W1 - the shortest (1000 bars).
- when indicator uses more MAs (plots) and timeframes it will redraw slower. Seems that up to 5 Timeframes is acceptable, but 6+ Timeframes can become very slow.
- show_last=last_bars plot limit doesn't affect load/redraw times, so it was removed from MA plot
- Max Bars Back (num_bars) default/custom set UI value doesn't seem to affect load/redraw times
- In max zoom mode all dynamic levels disappear (they behave like text)
1. based on 3EmaBB, uses plot*, barssince and security functions
2. you can't set certain constants from input due to Pinescript limitations - change the code as needed, recompile and use as a private version
3. Levels = trackprice implementation
4. Show Max Bars Back = show_last implementation
5. swma has a fixed length = 4, alma and linreg have additional offset and smoothing params
6. Smoothing is applied by default for visual aesthetics on MTF. To use exact ma mtf values (lines with stair stepping) - disable it
Good Luck! You can explore, modify/reuse the code to build your own indicators.
TH_HMA+ HistogramHistogram version of HMA+. This Centered Oscillator show more accurately when trends are reversing thanks to the U-shape reversals and clouds switching Red/Green. Fast MA getting above/under the base implies a establish Bullish/Bearish bias.
There is a flagging circles that will be visible depending how price is under or above the Fast MA which can also provide early indication of trend direction.
Std Devs from Mean & HMA of DistanceAn indicator to visualize how many standard deviations from the mean price is currently.
Shows the raw distance in standard deviations, as well an HMA of the distance, across the lookback period.
ck - MultiCross with Alerts (HMA, TSI, MACD & VWMA)Hello again everyone!
I hope you enjoy this "Multicross" Indicator.
Feature packed indicator with Alerts, that includes:
Double Hull MAs (fast and slow)
TSI (fast, slow, Long trigger & Short triggers definable)
VWMA
MACD (fast and slow)
Visual output plots line crosses from the indicators and provides visual Long and Short triangles and Alerts for bot users!
Enjoy!
Special thanks to Magnus Söderberg for the idea behind this.
[ProfitTrailer] HMASPREAD Buy/Sell studyProfitTrailer buy/sell study for HMASPREAD strategy.
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] HMACROSS Buy/Sell StudyProfitTrailer buy/sell study for HMACROSS strategy.
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] HMAGAIN Buy/Sell Study (standalone)ProfitTrailer buy/sell study for HMAGAIN strategy (standalone indicator).
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] HMAGAIN Buy/Sell StudyProfitTrailer buy/sell study for HMAGAIN strategy.
The script highlights the region where trailing is most likely to succeed.
4 Hull MAThe Hull Moving Average (HMA) was developed by Alan Hull in 2005 for the purpose of reducing lag, increasing responsiveness while at the same time eliminating noise. Its calculation is elaborate and makes use of the Weighted Moving Average (WMA). It emphasizes recent prices over older ones, resulting in a fast-acting yet smooth moving average that can be used to identify the prevailing market trend. It can also be used for entry and exit signals. I have integrated 4 HMA's into one which can be used for taking entry and exits similar to 4 EMA strategies. All credit goes to Alan Hull for developing this technique.
Bestest Vol boxI do not like how the default volume indicator crowds my chart. So, I made this little thing just for fun. It's the bestest!
inwCoin HMA+EMA AlertJust simple HMA + EMA120 alert for same strategy
Work well with TF 2H
Tried BTC on OKex and Bitmex and it looking good.
Best for hand trade.
If you want to try, just comment, i'll grant you a permission for 2 days
inwCoin HMA + EMA StrategyJust simple HMA + EMA120 strategy
Work well with TF 2H
Tried BTC on OKex and Bitmex and it looking good.
Best for hand trade.
If you want to try, just comment, i'll grant you a permission for 2 days
inwCoin SUPER HMA AlertinwCoin Super HMA alert for Super HMA strategy ( )
If you want sourcecode, I can give you for 0.01 BTC :) Send BTC to address below and IM me for acknowledgement.
BTC : 3BmqVW8eqE3qAGdtCdYGFYKbMwEALAhSEp
Check some backtest result here : imgur.com
Backtest result for various trade% : imgur.com
inwCoin SUPER HMA StrategyImproved version of inwCoin HMA Aggressive Strategy.
Filter out random trade from sideway period and wait for trend only.
Work very well on BTCUSD3M at OKEX with leverage 20x ( with the help of trailing start/stop bot, of course )
If you have OKex bot/ Or plan to write one. This strategy is the best bet.
If you want sourcecode, I can give you for 0.1 BTC :) Send BTC to address below and IM me for acknowledgement.
BTC : 3BmqVW8eqE3qAGdtCdYGFYKbMwEALAhSEp
Check some backtest result here : imgur.com
Backtest result for various trade% : imgur.com
Hull & Candle CrossoverA Hull moving average and candle crossover.
(2 hullMA's and present to past candle value calculation and smoothing function)
Enters order on Hull1 vs Hull2 crossover, Exits order on Price vs Candle crossover
Strategy looks at the previous(1) candle value to calculate current price so it lags 1 candle (to avoid repainting)
Any timeframe and pair ok, just change settings to suit
commission is included in the default result
inwCoin HMA AlertSimple alert to go along with the inwCoin HMA Strategy
Please not that the alerts are persistent 2.70% , if you already enter the position,
just ignore the rest of the same alert until the opposite alert show up
( long then short / or short then long , if change, just close and enter opposite position )
You can set the alert and let it tell you to iOS app via TradingView app ( yey! )
Please note that, if you don't have bot to track your trailing start/stop. you have to enter the TP/SL manually ( also tracking the position )
So... be careful to follow this alert. just try it with small amount of money first.
and make sure to set stop loss every time because OKEX is a portfolio killer if you don't have any stop loss.
** if you cannot trailing stop bot, just uncheck the "Aggressive Strategy" in both strategy and alert to reduce alert to minimum level.
inwCoin HMA StrategySuper duper strategy using HMA ( Hull Moving Average ) 10 and 50 for decided entry ( short / long )
There are 2 type of strategies, you can choose with checkbox.
(1) Aggressive Strategy Ticked
* If ticked, strategy will enter position again if the condition met. ( both line red ) after Taking Profit ( or Stop Loss )
* It will use trailing start/stop so the profit is kinda crazy ( and yes, impossible in real world lol )
* The problem is, it will enter position like crazy and you might get a lot of loss from fee
(2) Aggressive Strategy not Ticked
* It will enter once only ( HMA10 just changed color to the same as HMA50 )
* If TP or SL already, it will wait for next signal
* Less trade, less profit, but safer. ( wait for right signal )
** For Aggressive Strategy, you can't select the date from 1/1/2018 because the trade record is way too much .... lol
** You can experiment yourself with other exchange/coin as your like.
=============================================
Test Data Detail
=============================================
Exchange : OKEX
Coin : BTCUSD3M
Timeframe : 1H
Date range : 2018/2/9 - 2019/1
For : Trailing with bot ( If you have one :P )
Config
Trade % = 20 ( You can increase trade size of your total port but it will get you into more risky trade. ( but yes, more profit ) ... u can increase trade size if you have enough profit
Trailing Start = 20 ( If you can write bot, it will start trailing when the profit % reach this value )
Trailing Stop = 5 (If you can write bot, it will take profit if the profit drop below this value from trailing start.)
Take Profit = It will set fixed TP for whipsaw case ( rarely reach this target )
Stop % = 50 ( so this trade is RR = 2 nice! )
Leverage = 20 ( so we can withstand the price fluctuation and not get liquidated, if you trade spot, please choose 1 also, please adjust TP and stop accordingly eg. leverage 1 / TP = 20 / SL = 10 )
Trade Direction = Both ( for margin market, if you want to trade spot like Binance you can choose long only )
Hull 1 Length = 10 ( Fast HMA length)
Hull 2 Length = 50 ( Slow HMA length)
Hull trend test length = 2 ( hull test range for rising or down trend )
Aggressive Strategy = YES ( enter next position if condition met immediately )