TSI HMA CCIHi!
This strategy has TSI and CCI indicators with the CCI being based on a HMA instead of the Price.
There is a number of conditions that must combine to create buy or sell signals, but it is basically a couple of MA crossovers.
The strategy opens new orders on each candle if the conditions are met, Either direction, so it is hedging.
It wont open new orders if there is a floating loss, and so is constantly attempting to hold a floating profit (drawup instead of drawdown)
But It has a StopLoss (set by user) for closing of losing orders, and it closes all orders in basket style when account is in profit to users set amount target profit.
Low commission set to simulate swap but Forex pairs generally dont have commission like the crypto exchanges do. So if you use this on cryptos, remember to increase the commission to your brokers amount.
Crypto users will likely find that because this opens so many orders the commission could erase its profits.
So i recommend this for Forex only, and perhaps, only NZDUSD 4H chart. other pairs, change settings for.
The strategy has settings for testing on target time spans, so you could test it on just Jan-Feb 2020 for example, if you want, or from Jan 2020 to present day.
Have Fun! Open Script for copy/paste/edit/publish your own version :)
Media Mobile di Hull (HMA)
Multiple Moving Averages for Heikin Ashi I want to give credits to @QuantNomad, i got the heikin ashi part of the script from this open script /0iKy7lyG-QuantNomad-Heikin-Ashi-PSAR-Strategy/;
and to the other guy that provided a 17 type of moving average script open source but i forgot his name, if someone remember please tell me.
My idea was to see how the different types of moving averages behaves in a Heinkin Ashi chart, you can change to more than 15 types of Moving Average and use it the way you want it.
For the source of the moving averages i used a simple moving average of 1 period using the high of the heikin ashi candle, low of it and divided by 2 as the source of the different types of moving averages.
Different types of Moving Averages
Moving Average Types
SMA ---> Simple
WMA ---> Weighted
VWMA ---> Volume Weighted
EMA ---> Exponential
DEMA ---> Double EMA
ALMA ---> Arnaud Legoux
HMA ---> Hull MA
SMMA ---> Smoothed
LSMA ---> Least Squares
KAMA ---> Kaufman Adaptive
TEMA ---> Triple EMA
ZLEMA ---> Zero Lag
FRAMA ---> Fractal Adaptive
VIDYA ---> Variable Index Dynamic Average
JMA ---> Jurik Moving Average
T3 ---> Tillson
TRIMA ---> Triangular
The type of moving average you select will appear in a separated chart with Heikin Ashi candles, like in the image above.
Fancy Bollinger Bands Strategy [BigBitsIO]This script is for a Bollinger Band type indicator with built-in TradingView strategy including as many features as I can possibly fit into a Bollinger Band type indicator including a wide variety of options to create the most flexible Bollinger Bands strategy possible.
Features:
- A single custom moving average serving as the middle band.
- Standard MA inputs.
- MA type.
- MA period.
- MA price.
- MA resolution (time frame).
- Visibility toggle.
- MA Candle Type
- Fancy MA inputs.
- Toggle to show only candles included in the MA calculation ("Highlight inclusion") or display entire MA history.
- Toggle to show a ghost trail when Highlight inclusion is toggled on. Displays a shaded version of past MA history before the inclusion period (as seen on snapshot).
- Toggle to show forecast values for the MA.
- Other inputs related to forecasting:
- Forecast bias. (Neutral forecasts MA if the current price remains the same.)
- Forecast period.
- Forecast magnitude.
- Toggle showing details on the screen
- Toggle the visibility of the fill between the upper and lower bands.
- Toggle to use ATR instead of the standard deviation to calculate the location of the upper and lower bands.
- Custom input for the ATR period.
Strategy Features
-Strategy Window - only test during this window
-Take Profit and Stop Loss
-Open and Close conditions, including condition counts and any/all requirements
-Many conditions to choose from that can either be selected to open, close or open and close a position
-Conditions include:
-Price crossing above/below the Upper, Middle, or Lower bands
-Price being above/below the Upper, Middle, or Lower bands
-Bollinger Band width crossing or being above/below custom values
-Percent B crossing or being above/below custom values
This script may contain errors, or out of date code. Please be mindful of updates to the script.
*** DISCLAIMER: For educational and entertainment purposes only. Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security or investment including all types of crypto. DYOR, TYOB. ***
MrBS:Directional Movement Index [Trend Friend Strategy]This goes with my MrBS:DMI+ indicator. I originally combined them into one, but then you cannot set alerts based on what the ADX and DMI is doing, only strategy alerts, so separate ones have more flexibility and uses.
Indicator Version is found under "MrBS:Directional Movement Index " ()
//// THE IDEA
The majority of profits made in the market come from trending markets. Of course there are strategies that would say otherwise but for the majority of people, THE TREND IS YOUR FRIEND (until the end). The idea is to follow the trend, entering once it has established its self and exiting positions when the trend weakens. This strategy gives a rough idea of the returns produced from following purely the ADX signals. At first Heikin Ashi values were used for the calculation but the results show it's not that effective. The functionality to switch between calculation types has been left in, so we can uses HA candle data to generate signals from while looking at an OHLC chart, if we want to experiment. Due to the way strategies work, we are unable to get reliable results when running the strategy on the HA chart even if we are calculating the signals from the real OHLC values. It is best to always run strategies on standard charts.
When using this strategy, I look for confirmation of the signal based on stochastic (14:3:6) direction, reversal level of stochastic, and divergance, to add confidence and adjust position size accordingly. I am going to try and code some version of that in future updates, if anyone can help or has suggestions please drop me a message.
//// INDICATOR DETAILS
- The default settings are for optimized Daily charts, for 4 hour I would suggest a smoothing of 2.
- The default values used for calculation are the Real OHLC, we can change this to Heikin Ashi in the menu.
- The strategy enters a position when ADX crosses the threshold level, and closes the position when ADX starts to fall.
- There is a signal filter in the form of a 377 period Hull Moving Average, which the price must be above or bellow for long and short positions respectively.
- The strategy closes the position when a cross-under of the ADX and its 4 period EMA. This is an attempt to stay into positions longer as sometimes the ADX will fall for 1 bar and then keep rising, while the overall trend is strong. The downside to this is that we exit trades later and this affects our max drawdown.
MACD TRADING SYSTEMThis is a conservative Trend Continuation Trading System.
Uses a Hull Moving Average to determine general trend direction
Uses MACD to initiate Trade entries
Uses a variant of Chaikin Money Flow for volume confirmation
Also uses the Average True Range (ATR) to determine take profit and stoploss.
Stoploss becomes trailing when take profit target has been hit.
I built it mainly for myself to use.
Wanted an objective trading system to take all the emotions out of my trading.
MrBS:EMA/SMA/HMA (Heikin Ashi Calc)This indicator allows you to base the MA calculation from Heikin Ashi values on normal charts and/or the real OHLC values while looking at Heikin Ashi.
There are 3 MA types you can select - EMA / SMA / HMA
The colour is based on the slope.
I made this to help me visualize my DMI+ strategy, when I was looking at taking signals from Heikin Ashi but looking at candlesticks. Turns out, I was going down the wrong road. Now I'm looking into using the real OHLC values for generating signals but watching the Heikin Ashi chart as I find it easier to see trends on it.
Hopefully its useful to some people, and if you have any suggestions for improvements I'd love to know.
[SCL] BTC Futures Daily Bias (CME BTC1!)Derives a bias for BTC/USD on the daily timeframe and displays it on the chart in a configurable way. Takes price data from the CME BTC futures chart (exchange is configurable), regardless of what symbol you run it on.
Why? Because futures are said to give cleaner charts, but most traders are not trading CME futures. So you can use this indicator on whichever exchange you want to chart Bitcoin on.
Uses the 80D HMA and the 8D and 21D EMAs by default; all intervals are configurable.
MillebotHello Traders,
Here you find a simplified version of the Millebot strategy.
This strategy can be used as a complete system with integrated risk management. The strategy also uses a fixed stoploss and take-profit, in contrast to the full version of the Millebot, which applies a variabele SL, TP an trailing TP derived from the assets volatility.
The Millebot is a trend-following system which detects the direction of the trend through "the Baseline". The entry-point is derived by using the Hull Moving Average.
If the HMA switches direction, the trade also will be closed.
An extra confirmation indicator can be activated to verify that the trend-detection is correct.
If you have found this trading system informative or useful, please leave a comment.
This strategy works very well on leveraged trading due to the low drawdown.
Greetings Michael
MA+MA+ is a multi time frame moving average indicator with more than a dozen different moving averages (like KAMA, VAMA, JMA, HMA and much more).
More moving averages will be added on every update, hence Follow me to get notified.
MA+ Supports automatic (AUTO in settings) time frame multiplier. For example, if you set 'Auto Resolution Multiplier' to 6, and your base chart is 5 minutes, the moving averages will plot at 5 * 6 = 30 minutes.
You can still use 'User Defined' to use your own time frame without using the multiplier.
Use higher time frame than the base chart time frame to avoid repainting.
Default multiplier for higher time frame is 2.
Supports Signals 1 (rising MA) or -1 (falling MA) to attach to another indicator.
Bars are not colored by default.
Just for this great community, You can request in the comments other moving averages that do not exists in MA+.
Hull FisherThis strategy has a Fisher-Transform indicator applied to the highs and lows of a Hull moving average instead of the price. It also has a Commodity Channel Index to help with entry/exit. Each part of the strategy can be turned on and off, for example turn off CCI or HMA so they are not used in the order opening/exiting. The base of the strategies entry and exit logic is the fisher transform line, if it crosses over outside the lines or either side of zero (adjustable in settings).
This example on ETHBTC Daily chart has common crypto exchange commission 0.25% added. Please adjust that setting to suit your pair/broker. For example a Forex pair does not have that much commission so reduce it for Forex charts.
Can be applied to any time frame or trading instrument.
Donchian BlasterRelease Note:
Keeping in mind of getting full potential of Donchian Channels, As part of this script, Linear Regression is used as primary source to identify trend and execute the trades.
Hull Moving Average given as alternative option in place of Linear regression.
Linear Regression:
Linear regression used to identify trend, trade setup, and stop. Based on this, Color fillings on Donchian channels is updated. That will give clear idea of strength or weakness in any trading instruments.
HMA:
HMA used as alternative to identify trend, trade setup, and stop. Based on this, Color fillings on Donchian channels is updated. That will give clear idea of strength or weakness in any trading instruments.
Donchian Channels:
As it is one of the oldest trend riding system, combined here with differentiation in color will help to go with the trend.
Inputs:
Input periods can be changed by users/traders as per their understanding and observations.
//Disclaimer: Idea of publishing this script is to identify the strength of the instrument using multiple confirmation.
//Disclaimer: Using this indicator, changing inputs, and trading decisions are up to the users/traders.
//Courtesy: Thanks to Richard Donchian, Alan Hull, and author of LSMA as this indicator/script inspired by Donchian Channels, Hull Moving Average, and LSMA
FishNet Doubled hullMA Reactive ColorsMoving averages are used to determine trend. These moving averages are designed to determine trend with reactive coloring and utilizes a unique version of the Hull moving average. This is one of many iterations of fishnet MAs I have made in the past.
I first found fishnet MAs, which is a lot of moving averages of increasing length, from @TusenPix
YMMV on actionable information :p
Aligned Moving Average IndexMoving averages are considered as aligned when either all faster moving averages are placed above their next slower moving averages or all faster moving averages are placed below their next slower moving averages. In this script, we are considering moving averages of 5, 10, 20, 30, 50, 100 and 200. User can select different moving average types from input : sma, ema, hma, rma, vwma, wma.
Moving average is considered as positively aligned when close > ma5 > ma10 > ma20 > ma30 > ma50 > ma100 > ma200
Moving average is considered as negatively aligned when close < ma5 < ma10 < ma20 < ma30 < ma50 < ma100 < ma200
Whenever there is positively aligned moving average, alignment value is considered as +1 and whenever there is negatively aligned moving average, alignment value is considered as -1. Aligned moving average index is sum of n periods of alignment value.
We can optionally apply another moving average on this index to see the overall direction.
Adjacent HMA StopRelease Note:
This indicator script setup is published to identify the strength and ride the trends.
HMA:
HMA 100 period is used as default. However this can be changed as per wish. Major turning points or decisions can be made using this HMA line. Purple color is used to identify this. This can be used as the final extreme stop for any trend before it turns.
Adjacent Line:
Blue colored Adjacent line can be used to determine the trend strength or ride the trend till it slows down. When trending move happens it can be ride till the candles comes within this Adjacent line. And then sideways move or the moves between HMA & Adjacent line can be traded
Stop:
Dotted lines in Red and Green colors are used as very tight stop. This can be also used as first level of profit booking when very strong move happens.
Trend View:
There is an optional 'Trend View' which can be used to determined the trend.
Disclaimer:
//This script/indicator published with the idea of finding the strength of any instruments. Trade decisions and execution are up to the traders/users as per their understanding
//Courtesy: Thanks to Alan Hull and Richard Donchian as some of the concepts are inspired from them
Modified Donchian ChannelRelease Note:
This indicator setup highly inspired by Donchian Channel and Hull Moving Average. Big thanks to both Richard Donchian and Alan Hull.
Back test and live test it and come to conclusion of how to use this indicator for live trading.
200 HMA:
200 Hull Moving Average plays major role in deciding the right trades using Donchian Channel. As part of this setup,
If price is below 200 HMA, then the Donchian Channel is highlighted in Red color
If price is above 200 HMA, then the Donchian Channel is highlighted in Green color
Donchian Channel:
Default 20 period is used for the Donchian channel. However, the color highlight as per 200 HMA position. Also, the middle basis color changes to Green and Red based on candle close of above or below.
Additionally, 5 period Donchian basis is used as tight stop loss. This can be used wisely or optionally based on trade decisions
Disclaimer:
//Idea of publishing this script is to identify the strength of the instrument using multiple confirmation.
//Using this indicator, changing inputs, and trading decisions are up to the users/traders.
//Courtesy: Thanks to Richard Donchian and Alan Hull as this indicator/script inspired by Donchian Channels and Hull Moving Average
Hull Moving Average vs CandleA Hull moving average is applied to the chart with settings for user to change the period of the Hull MA.
And a value of a previous candle is compared to the HMA. If the HMA is above the previous candle value, then the strategy will buy.
If below, it will sell. The default setting for the HMA is 50 and the Candle is D1 (Daily timeframe)
So basically if the HMA value is greater than yesterdays candle open, buy. ( i use open as a price source to avoid repainting)
This example is put onto ETHBTC chart and currency changed from default to BTC and Equity set to 1 BTC and commission set to 0.25%
The ETHBTC chart seems to follow good old moving average more than other pairs.
The strategy can be used on any pair and timeframes.
A good idea for setting the HMA period is:
small timeframe=big period, big timeframe=small period.
range from period=3 to period=200 is about right, for charts from 4H to 1 minute.
This HMA strategy is fairly simple, best to use other sources of information in combination with moving averages.
And strict money management, risk/reward control is very important to any trading strategy.
Not intended as stand alone strategy but has potential for bot use, i will publish a study version soon, for use with alerts and API bots.
Hull MA Scanner / Screener LabelThis screens for Hull MA trend reversal's in 10 different securities. If the label color is not visible due to the text in it being white colored, then choose a different color from settings. Also added a simple HullMA to it. If want can increase it upto 40 securities in the code which is upto user to decide.
This was requested by soderstromkenan in comments and looked like a nice idea so decided to make it.
The Hull MA logic is from "Hull50" by u/RafaelZioni with his permission. Screener logic from u/Quantnomad with his permission.
HULL MACDA modified version of MACD.
Uses Hull moving average for the signal line instead of your typical EMA.
Can be used as a crossover strategy with decent win rate.
Alternatively, can also be used for histogram divergences.
Try it out! :)
AltS Swing [Backtester]
PLEASE READ THIS DESCRIPTION TO SAVE TIME AND UNDERSTAND WHAT THIS INDICATOR DOES
This is the backtesting version for this script
In this back tested version I have shown it to be used on regular candles with realistic calculations in regards to positions sizes, slippage, fees and more
Kind Regards
This is a official version of AltSignals Long/Short Reverse Indicator
Description:
This indicator uses various indicators in combination with each other, some of the key ones to mention is Hulls, EMA , MA. Along with that it uses EMA crossovers to get the precise entries and exits.
The recommended time frames with this indictor are shorter ones, for example 5m,10m,15m work well, along with that I have found that some of the more unique time frames also work well such as 20m,45m,2hr and so on.
This indicator is not super advanced but it's still very powerful, with only 130 lines of code.
This indicator works on every chart, time, and candle type but you must play with the settings to find what is best, the same setting will not work on every pair etc.
With AltSignals Swing Indicator it trades one way, that means it gives 3 pieces of information. BUY/TakeProfit/StopLoss.
Unlike most indicators which Buy and Sell both ways this one focuses on one direction of trading so please take into account when using this.
I have added in a reverse strategy which basically shows the opposite values of of the buy, so if you select the box in the settings and un-tick it, then it will show opposite directions so sells only.
This feature is very useful especially in general bear markets when buying is difficult.
I have also added in the option for no stop losses to be used, if you set the stop loss value = 100 then it will show no stop losses.
I suggest a stop loss somewhere in the region of 1-2-3%, please note that you can use decimal stop losses too so for example 0.1 or 0.5.
This indicator is NOT a once size fits all, every chart is different, time frame and candles also, so i would suggest spending some time going through and playing with the channel length settings, which will change the EMA numbers.
Using this along with the back script to find the ideal settings is the best way to use this script, once you have done that make sure to save those values somewhere.
Its important to remember that the Regular script and the back testing script values should be the same for them to match up on the chart, so the channel lengths, stop losses and so on values should be the same.
Side note
This is not financial advice.
We will continue making updates as time goes on.
If you would like to try this script for free please visit our website or message us on Tradingview live chat.
AltS Swing [Backtester]
PLEASE READ THIS DESCRIPTION TO SAVE TIME AND UNDERSTAND WHAT THIS INDICATOR DOES
This is the backtesting version for this script
In this back tested version I have shown it to be used on regular candles with realistic calculations in regards to positions sizes, slippage, fees and more
Kind Regards
This is a official version of AltSignals Long/Short Reverse Indicator
Description:
This indicator uses various indicators in combination with each other, some of the key ones to mention is Hulls, EMA , MA. Along with that it uses EMA crossovers to get the precise entries and exits.
The recommended time frames with this indictor are shorter ones, for example 5m,10m,15m work well, along with that I have found that some of the more unique time frames also work well such as 20m,45m,2hr and so on.
This indicator is not super advanced but it's still very powerful, with only 130 lines of code.
This indicator works on every chart, time, and candle type but you must play with the settings to find what is best, the same setting will not work on every pair etc.
With AltSignals Swing Indicator it trades one way, that means it gives 3 pieces of information. BUY/TakeProfit/StopLoss.
Unlike most indicators which Buy and Sell both ways this one focuses on one direction of trading so please take into account when using this.
I have added in a reverse strategy which basically shows the opposite values of of the buy, so if you select the box in the settings and un-tick it, then it will show opposite directions so sells only.
This feature is very useful especially in general bear markets when buying is difficult.
I have also added in the option for no stop losses to be used, if you set the stop loss value = 100 then it will show no stop losses.
I suggest a stop loss somewhere in the region of 1-2-3%, please note that you can use decimal stop losses too so for example 0.1 or 0.5.
This indicator is NOT a once size fits all, every chart is different, time frame and candles also, so i would suggest spending some time going through and playing with the channel length settings, which will change the EMA numbers.
Using this along with the back script to find the ideal settings is the best way to use this script, once you have done that make sure to save those values somewhere.
Its important to remember that the Regular script and the back testing script values should be the same for them to match up on the chart, so the channel lengths, stop losses and so on values should be the same.
Side note
This is not financial advice.
We will continue making updates as time goes on.
If you would like to try this script for free please visit our website or message us on Tradingview live chat.
AltS Swing (INV)
PLEASE READ THIS DESCRIPTION TO SAVE TIME AND UNDERSTAND WHAT THIS INDICATOR DOES
This is a official version of AltSignals Long/Short Reverse Indicator
Description:
This indicator uses various indicators in combination with each other, some of the key ones to mention is Hulls, EMA , MA. Along with that it uses EMA crossovers to get the precise entries and exits.
The recommended time frames with this indictor are shorter ones, for example 5m,10m,15m work well, along with that I have found that some of the more unique time frames also work well such as 20m,45m,2hr and so on.
This indicator is not super advanced but it's still very powerful, with only 130 lines of code.
This indicator works on every chart, time, and candle type but you must play with the settings to find what is best, the same setting will not work on every pair etc.
With AltSignals Swing Indicator it trades one way, that means it gives 3 pieces of information. BUY/TakeProfit/StopLoss.
Unlike most indicators which Buy and Sell both ways this one focuses on one direction of trading so please take into account when using this.
I have added in a reverse strategy which basically shows the opposite values of of the buy, so if you select the box in the settings and un-tick it, then it will show opposite directions so sells only.
This feature is very useful especially in general bear markets when buying is difficult.
I have also added in the option for no stop losses to be used, if you set the stop loss value = 100 then it will show no stop losses.
I suggest a stop loss somewhere in the region of 1-2-3%, please note that you can use decimal stop losses too so for example 0.1 or 0.5.
This indicator is NOT a once size fits all, every chart is different, time frame and candles also, so i would suggest spending some time going through and playing with the channel length settings, which will change the EMA numbers.
Using this along with the back script to find the ideal settings is the best way to use this script, once you have done that make sure to save those values somewhere.
Its important to remember that the Regular script and the back testing script values should be the same for them to match up on the chart, so the channel lengths, stop losses and so on values should be the same.
Side note
This is not financial advice.
We will continue making updates as time goes on.
If you would like to try this script for free please visit our website or message us on Tradingview live chat.
AltS Swing
PLEASE READ THIS DESCRIPTION TO SAVE TIME AND UNDERSTAND WHAT THIS INDICATOR DOES
This is a official version of AltSignals Long/Short Reverse Indicator
Description:
This indicator uses various indicators in combination with each other, some of the key ones to mention is Hulls, EMA, MA. Along with that it uses EMA crossovers to get the precise entries and exits.
The recommended time frames with this indictor are shorter ones, for example 5m,10m,15m work well, along with that I have found that some of the more unique time frames also work well such as 20m,45m,2hr and so on.
This indicator is not super advanced but it's still very powerful, with only 130 lines of code.
With AltSignals Swing Indicator it trades one way, that means it gives 3 pieces of information. BUY/TakeProfit/StopLoss.
Unlike most indicators which Buy and Sell both ways this one focuses on one direction of trading so please take into account when using this.
I have added in a reverse strategy which basically shows the opposite values of of the buy, so if you select the box in the settings and un-tick it, then it will show opposite directions so sells only.
This feature is very useful especially in general bear markets when buying is difficult.
I have also added in the option for no stop losses to be used, if you set the stop loss value = 100 then it will show no stop losses.
I suggest a stop loss somewhere in the region of 1-2-3%, please note that you can use decimal stop losses too so for example 0.1 or 0.5.
This indicator is NOT a once size fits all, every chart is different, time frame and candles also, so i would suggest spending some time going through and playing with the channel length settings, which will change the EMA numbers.
Using this along with the back script to find the ideal settings is the best way to use this script, once you have done that make sure to save those values somewhere.
Its important to remember that the Regular script and the back testing script values should be the same for them to match up on the chart, so the channel lengths, stop losses and so on values should be the same.
Side note
This is not financial advice.
We will continue making updates as time goes on.
If you would like to try this script for free please visit our website or message us on Tradingview live chat.
HMA & D1 crossover FX (Study)Can work on other Forex pairs if change settings: Period
This example tuned for AUDUSD (FX Version)
Enter new order on HMA ( Hull Moving Average ) and D1 ( Daily Candle) crossovers, Exit orders as basket when profit = Your Target Profit
This study version built for users of Alerts. Crossover of HMA and DailyCandle1 (and/or DailyCandle1 cross DailyCandle2) (also possible Price cross HMA)