Hull_TSI Strategy v3True Strength Index, but Exponential Moving Average taken out and replaced with Hull Moving Average
this version uses 3 Hull MA's as well as the TSI value crossovers above or below the upper/lower lines
This version is the closest to the API bot featured at gekkoplus.com
Hull_TSI bot is competing in the competition
" Gekko Plus is hosting a strategy contest. Submit the best performing Gekko strategy and win 0.1 BTC! "
15 Nov 2018: Strategy contest start
10 Dec 2018: Strategy contest end
12 Dec 2018: Contest evaluation, announcement of winners!
HMA
Hull_TSI Strategy v2True Strength Index, but Exponential Moving Average taken out and replaced with Hull Moving Average
this version uses only the crossover of the TSI values
Hull_TSITrue Strength Index, but Exponential Moving Average taken out and replaced with Hull Moving Average
increase the values for increased timeframes i found good on 1hour chart 700,700,700 (instead of 420)
this is the indicator version, hopefully Alert friendly with each plot named
HMA 55/80 Crossover Strategy - Multiple Crossing OptionsThis strategy concept is from ismail_tarim on TradingView, and on Twitter as @ismailtarim977. It is intended to be implemented on the daily chart . The original strategy is reflected, to the best of my ability and understanding, in the default settings.
There is an option to toggle plots being displayed. The plots accurately indicate when the events take place, rather than the delay from the strategy display.
// SYMBOL LEGEND //
Green 'X' indicates when price crosses up the desired HMA .
Green 'Up Arrow' shows the pullback entry on the crossed HMA .
Red "Down Arrow" shows the exit when prices closes below the HMA 55, or "Fast HMA".
If you notice something that needs to be changed or that could be added, please share it in the comments below. Thanks!
HULL_FIB Strategy2 Hull Ma's
Long Hull MA FIB Lines
It will Sell when reaches upper 0.618 Fib and Hull(short_period)has crossed over to selling
it will close sell by TP or SL or when reaches lower 0.618 Fib
Buy is opposite that
here is how it makes the FIBS:
================================================
mult = input(3.0, minval=0.001, maxval=50)
basis = func_hma(price, HMAlengthLong)
dev = mult * stdev(price, HMAlengthLong)
upper_1= basis + (0.236*dev)
upper_2= basis + (0.382*dev)
upper_3= basis + (0.5*dev)
upper_4= basis + (0.618*dev)
upper_5= basis + (0.764*dev)
upper_6= basis + (1*dev)
lower_1= basis - (0.236*dev)
lower_2= basis - (0.382*dev)
lower_3= basis - (0.5*dev)
lower_4= basis - (0.618*dev)
lower_5= basis - (0.764*dev)
lower_6= basis - (1*dev)
plot(basis, color=orange, linewidth=2)
p1 = plot(upper_1, color=gray, linewidth=1, title="0.236")
p2 = plot(upper_2, color=gray, linewidth=1, title="0.382")
p3 = plot(upper_3, color=gray, linewidth=1, title="0.5")
p4 = plot(upper_4, color=black, linewidth=2, title="0.618")
p5 = plot(upper_5, color=gray, linewidth=1, title="0.764")
p6 = plot(upper_6, color=red, linewidth=2, title="1")
p13 = plot(lower_1, color=gray, linewidth=1, title="0.236")
p14 = plot(lower_2, color=gray, linewidth=1, title="0.382")
p15 = plot(lower_3, color=gray, linewidth=1, title="0.5")
p16 = plot(lower_4, color=black, linewidth=2, title="0.618")
p17 = plot(lower_5, color=gray, linewidth=1, title="0.764")
p18 = plot(lower_6, color=green, linewidth=2, title="1")
=================================================
Hull_TSI StrategyTrue Strength Index, but Exponential Moving Average taken out and replaced with Hull Moving Average
increase the values for increased timeframes i found good on 1hour chart 700,700,700 (instead of 420)
Hull Moving Average Cloud v2Hull Moving Average Cloud, is not the normal Hull crossover, instead opens orders at cross of price and alternative Hull MA configuration (stretches/shrinks with momentum)
Has history settings, Commission already included in result. Only looks into past, should be no repaint (im sure the trolls will correct me if im wrong, thankyou trolls i can always count on you)
Source code open, if you find improvement please share thankyou
HMA + HMA + Dispersion background fill (ver 2.0)fast HMA • slow HMA • Dispersion Zone| background color's
---
Background colors: Red, Green and Yellow. Default transperent = 5%
• Green background: fast HMA above the dispersion zone
• Red background: fast HMA below the dispersion zone
• Yellow background: fast HMA inside the Dispersion Zone
---
# Alerts only for cross Yellow to Green and Yellow to Red zones.
---
• The dispersion zone is calculated relative to the slow HMA.
[N] NettyTrendsIf you're reading this, you're a trusted early tester.
Please respect the time and effort I put into my scripts by keeping all details private.
When the script/strategy is ready and fully tested, allow me to make it public myself.
Note that you can toggle BBs off in the options, but I recommend keeping them on.
I use this script alongside price action and supply/demand ideas with horizontal levels.
This is already a complex indicator set. Be careful not to add too many additional indicators.
I'd appreciate any constructive feedback and comments.
- Netrin
(Twitter: @cryptonetrin)
Disclaimer: This is not financial advice. Your financial decisions are your own.
Hull MAxMABlack line - abs(hma-ma)
Red line - ATR
When Black line is above red – short time reversal
Hull Moving Average and Daily Candle CrossoverHull Moving Average. Alan Hull developed Hull Moving Average in 2005 in his quest to create a moving average that is "responsive to current price activity while maintaining curve smoothness". Hull claims that his moving average "almost eliminates lag altogether and manages to improve smoothing at the same time"
This strategy has Lag built in, the signal will appear 1 or 2 candles lagged, but it wont repaint the signal.... in theory!
Does this repaint? you tell me. thankyou
Change the settings every time you change timeframe or pair
Multi SMA EMA WMA HMA BB (4x3 MAs Bollinger Bands) Pro MTF - RRBMulti SMA EMA WMA HMA 4x3 Moving Averages with Bollinger Bands Pro MTF by RagingRocketBull 2018
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. You can assign any type/timeframe combo to a group, for example:
- EMAs 50,100,200 x H1, H4, D1, W1 (4 TFs x 3 MAs x 1 type)
- EMAs 8,13,21,55,100,200 x M15, H1 (2 TFs x 6 MAs x 1 type)
- D1 EMAs and SMAs 12,26,50,100,200,400 (1 TF x 6 MAs x 2 types)
- H1 WMAs 7,77,231; H4 HMAs 50,100,200; D1 EMAs 144,169,233; W1 SMAs 50,100,200 (4 TFs x 3 MAs x 4 types)
- +1 extra MA type/timeframe for BB
compile time: 25-30 sec
full redraw time after parameter change in UI: 3 sec
There are several versions: Simple, MTF, Pro MTF, Advanced MTF and Ultimate MTF. This is the Pro 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)
- Pro MTF: +4 custom Timeframes for each group (4x3 MTF), MA levels and show max bars back options
- Advanced MTF: +2 extra MAs/group (4x5 MTF), custom Ticker/Symbol, backreferences for type, TF and MA lengths in UI
- Ultimate MTF: +individual settings for each MA, custom Ticker/Symbols
Features:
- 4x3 = 12 MAs of any type including Hull Moving Average (HMA)
- 4x MTF groups with step line smoothing
- BB +1 extra TF/type for BB MAs
- 12 MA levels with adjustable group offsets, indents and shift
- show max bars back
- you can show/hide both groups of MAs/levels and individual MAs
Notes:
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. uses timeframe textbox instead of input resolution to allow for 120 240 and other custom TFs. Also supports TFs in hours: 2H or H2
6. swma has a fixed length = 4, alma and linreg have additional offset and smoothing params
7. Smoothing is applied by default for visual aesthetics on MTF. To use exact ma mtf values (lines with stair stepping) - disable it
MTF Notes:
- uses simple timeframe textbox instead of input resolution dropdown to allow for 120, 240 and other custom TFs, also supports timeframes in H: 2H, H2
- Groups that are not assigned a Custom TF will use Current Timeframe (0).
- MTF will work for any MA type assigned to the group
- MTF works both ways: you can display a higher TF MA/BB on a lower TF or a lower TF MA/BB on a higher TF.
- MTF MA values are normally aligned at the boundary of their native timeframe. This produces stair stepping when a higher TF MA is viewed on a lower TF.
Therefore X Y Point Density/Smoothing is applied by default on MA MTF for visual aesthetics. Set both to 0 to disable and see exact ma mtf values (lines with stair stepping and original mtf alignment).
- Smoothing is disabled for BB MTF bands because fill doesn't work with smoothed MAs after duplicate values are replaced with na.
- MTF MA Value fluctuation is possible on the current bar due to default security lookahead
Smoothing:
- X,Y == 0 - X,Y smoothing disabled (stair stepping on high TFs)
- X == 0, Y > 0 - X,Y smoothing applied to all TFs
- Y == 0, X > 0 - X smoothing applied to all TFs < deltaX_max_tf, Y smoothing disabled
- X > 0, Y > 0 - Y smoothing applied to all TFs, then X smoothing applied to all TFs < deltaX_max_tf
X Smoothing with Y == 0 - shows only every deltaX-th point starting from the first bar.
X Smoothing with Y > 0 - shows only every deltaX-th point starting from the last shown Y point, essentially filling huge gaps remaining after Y Smoothing with points and preserving the curve's general shape
X Smoothing on high TFs with already scarce points produces weird curve shapes, it works best only on high density lower TFs
Y Smoothing reduces points on all TFs, removes adjacent points with prices within deltaY, while preserving the smaller curve details.
A combination of X,Y produces the most accurate smoothing. Higher delta value - larger range, more points removed.
Show Max Bars Back:
- can't set plot show_last from input -> implemented using a timenow based range check
- you can't delete/modify history once plotted, so essentially it just sets a start point for plotting (from num_bars bars back) that works only in realtime mode (not in replay)
Levels:
You can plot current MA value using plot trackprice=true or by checking Show Price Line in Style. Problem is:
- you can only change color (not the dashed line style, width), have both ma + price line (not just the line), and it's full screen wide
- you can't set plot trackprice from input => implemented using plotshape/plotchar with fixed text labels serving as levels
- there's no other way of creating a dynamic level: hline, plot, offset - nothing else works.
- you can't plot a text var - all text strings must be constants, so you can't change the style, width and text labels without recompiling.
- from input you can only adjust offset, indent and shift for each level group, and change color
- the dot below each level line is the exact MA value. If you want just the line swap plotshape with plotchar, recompile and save as your private version, adjust Y shift.
To speed up redraw times: reduce last_bars to ~2000, recompile and use as your own private version
Pinescript is a rudimentary language (should be called Painscript instead) that can basically only plot data. You can't do much else. Please see the code for tips and hints.
Certain things just can't be done or require shady workarounds and weeks of testing trying to resolve weird node.js compiler errors.
Feel free to learn from/reuse/change the code as needed and use as your own private version. See comments in code. Good Luck!
Multi SMA EMA WMA HMA BB (5+5 MAs + Bollinger Bands) MTF by RRBMulti SMA EMA WMA HMA BB (5+5 Moving Averages of Any Type with Bollinger Bands) MTF by RagingRocketBull 2018
Version 1.0
This indicator shows multiple MAs of any type (SMA EMA WMA HMA etc) with BB and MTF support
There are several versions: Simple, MTF, Pro MTF and Ultimate MTF. This is the 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: +assign 1 custom Timeframe to any group combo (5+5 Custom TF)
- Pro MTF: +multiple Timeframes for multiple MA groups (4*3 MTF), horizontal levels and show max bars back options
- Ultimate MTF: +individual settings for each MA, multiple Timeframes
There are 2 groups of MAs, 3rd group is BB. You can:
- show/hide all MAs in a group. Use length 0 to hide a particular MA independently or uncheck in Style.
- apply any MA type to all MAs in a particular MA group. For example, you can assign all EMAs the HMA type. Groups are called EMAs and SMAs just for reference.
- assign Custom Timeframe to a particular MA/BB group combination or all groups. For example, show daily (D) EMAs+SMAs on H1 Timeframe, or only H4 (240) BB on H1.
You can use different types of MAs as dynamic S/R levels to trade of off and MA crosses as signals for possible trend change (golden/death bull/bear crosses).
Current Timeframe MAs can be used together with Custom Timeframe MAs on a single chart. Higher TF MAs are more important than lower TF MAs.
Most common MA types are: SMA, EMA, WMA, HMA.
Most common MA lengths are: 12, 20, 26, 30, 50, 100, 200, 400 etc.
MTF Notes:
- Script UI uses simple timeframe textbox instead of input resolution dropdown to allow for 240 120 and other custom TFs
- Groups that are not assigned a Custom TF will use Current Timeframe (0).
- MTF will work for any MA type assigned to the group. BB group always uses SMA type.
- MTF works both ways: you can display a higher TF MA/BB on a lower TF or a lower TF MA/BB on a higher TF.
- MTF MA values are normally aligned at the boundary of their native timeframe. This produces stair stepping when a higher TF MA is viewed on a lower TF.
Therefore Point Density/Smoothing is applied by default on MA MTF for visual aesthetics. Set to 0 to disable and see exact ma mtf values (lines with stair stepping and original mtf alignment).
- Smoothing is disabled for BB MTF because fill doesn't work with smoothed MAs after duplicate values are replaced with na.
- MTF MA Value fluctuation is possible on the current bar due to default security lookahead
Features:
- 2 groups of custom 5+5 MAs of any type including Hull Moving Average (HMA)
- BB
- 1x Custom Timeframe with step line smoothing for 3 groups (MAs + BB)
1. based on 3EmaBB, uses plot, fill, security, change, barstate, stdev and custom hma 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 script version
3. you can't have plot* inside ?/if/for/function, and implementing condition forks using 2 sets of plots (na vs non-na) doubles indicator params and styles - confusing
4. swma has a fixed length = 4, alma and linreg have additional offset and smoothing params
Feel free to use. Good Luck!
Multi SMA EMA WMA HMA BB (5+5 MAs + Bollinger Bands) by RRB
Multi SMA EMA WMA HMA BB (5+5 Moving Averages of Any Type with Bollinger Bands) by RagingRocketBull 2018
Version 1.0
This indicator shows multiple MAs of any type (SMA EMA WMA HMA etc) with BB on a chart at the same time with/without MTF support depending on the version.
There are several versions (published later): Simple, MTF, Pro MTF and Ultimate MTF. This is the Simple 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: +assign 1 custom Timeframe to any group combo (5+5 Custom TF)
- Pro MTF: +multiple Timeframes for multiple MA groups (4*3 MTF), horizontal levels and show max bars back options
- Ultimate MTF: +individual settings for each MA, multiple Timeframes
You can use different types of MAs as dynamic S/R levels to trade of off and MA crosses as signals for possible trend change (golden/death bull/bear crosses).
Most common MA types are: SMA, EMA, WMA, HMA.
Most common MA lengths are: 12, 20, 26, 30, 50, 100, 200, 400 etc.
Features:
- 2 groups of custom 5+5 MAs of any type including Hull Moving Average (HMA)
- BB
1. based on 3EmaBB, uses plot, fill, stdev and custom hma functions
2. swma has a fixed length = 4, alma and linreg have additional offset and smoothing params
Feel free to use. Good Luck!
Triple Power Moving Average v.02 by @Nico.MuselleALL THE POWER OF MULTIPLE MOVING AVERAGES ---- NOW COMPLETELY FOR FREE
Did you ever want to apply the Daily Moving Averages to an hourly chart ?
Are you tired of switching between time frames for seeing where that moving average is on the higher time frame ?
Do you want to display these moving averages on your current time frame ?
NOW YOU CAN !
In comes the Power Moving Average which offers you the opportunity to :
Display moving averages of any (higher) time frame you wish
In this version we added 4 hour, 6 hour, 8 hour and 12 hour selection for your moving averages
Select which type of Moving Average you want to display
Select up to 3 different types, lengths and time frames to display
Power Moving Average offers the following types of averages :
SMA - Simple Moving Average
EMA - Exponential Moving Average
WMA - Weighted Moving Average
VWMA - Volume Weighted Moving Average
RMA
See the configuration options here :
i.imgur.com
Q : Why are the Power Moving Averages not smooth historically ?
A : As the moving average is calculated on the close of the higher time frame and this close does not change for X- candles, the moving value does not change
Q : Can I add more than one Power Moving Average ?
A : Yes you can, just apply the Power Moving Average multiple times to your chart (free TradingView accounts are limited to 3 indicators)
Q : Can I apply lower time frame Moving Averages ?
A : While this is possible, the value will change during your current time frame candle, this might however be something scalpers want ?
Q : I have a free TradingView account and reached my indicator limit, what can I do ?
A : There are 2 possible solutions, first one is to get a TradingView Pro account (www.tradingview.com), second option is to get our Triple Power Moving Average for FREE.
If you like the indicator, please like and share !
Thank you !
Major Moving AveragesThis script includes the 100 & 200 SMA, EMA, WMA, VWMA, RMA, HMA, LSMA. You can turn off the one's you don't want under Style.
Hull MA +- ATR by shoxi Added HMA-ATR and HMA+ATR to make easier taking profits and placing stop losses in intraday trading.
CryptogramTR with OPEN CODEIndicator is obtained by importing RSI(14) into HULL moving average source with 2 different periods, as one is long period and the other is short.
When green line (short period) cross upward the red line (long period) , this is a BUY; vice versa it is a SELL.
When HMA Short Period is set to 1 (one), yielding line is absolutely the same line of RSI (14). You can change it into 8(eight) preferably.
İndikatör, RSI(14) indikatörünün, hull hareketli ortalamasının kod kaynağı olarak atanması ile elde edilmiştir. Uzun ve kısa olmak üzere 2 ayrı periyot kullanılmıştır.
Yeşil çizgi yani kısa periyotlu çizgi, kırmızı yani uzun periyotlu olanı yukarı keserse AL, tersi durum SAT olarak düşünülmelidir.
Hull Kısa Periyodu 1 iken oluşan yeşil çizgi, RSI(14) indikatörünü vermektedir. Kısa periyot olarak tercihinize göre bu değeri 8 olarak da kullanabilirsiniz.
SMA EMA HMA VWMA Turning Point StrategyThis strategy allows you to backtest entering and exiting a trade based on one definable SMA, EMA, HMA or VWMA changing direction.
SMA EMA HMA VWMA Crossover Strategy with MA Turning Point ExitsThis version adds HMA and VWMA, allowing you to backtest different crossover strategies for any combination, with the exits on the turning point of the faster MA. Due to order limitations this will only work on higher timeframes for some combinations, or on more recent exchanges with less history. You can edit the code though to add the timestamp to a recent date.
5 Definable Multiple Moving AveragesLets you select up to 5 SMA, EMA, HMA, of whatever length, source, and optional marks on their turning points. Saves on multiple indicators.
Reap Hull SMA CrossoverHi this is my first script, it is a HMA 144 crossover with SMA 5 changes background (still needs work), provides alerts for crossover