MilleMachineHello traders,
I hereby present to you the second stage of my journey to finding a reliable, profitable trading strategy.
The "Millemachine" is based on the "Millebot", my previous published strategy. This means the backbone of the strategy is still the same: a trend following system. Instead of using a fixed TP and SL, a trailing stoploss is now used. To limit the losses when the trend weakens, the trailing stoploss automatically gets smaller, as it is based on the ATR.
A new utility is you can now easily switch between indicators on which the decision making is based. This allows the user to discover which indicators work best for entry, long/short switching and stoploss configuration.
The strategy has been proven to be very profitable in trending markets, but can suffer losses during ranging market. To make the system more robust, the strategy cannot solely rely on a trending system. Other systems must be added.
I believe that a good trading bot must consist of more than 4 different strategies, based on different systems. This is what I am currently working on.
My goal for publishing this strategy is to help other traders build their own. In my journey I found it difficult to find a good strategy that employs a decent risk management, which is truly essential for having good, consistent results. Also, a realistic commission needs to be defined to have a realistic performance prediction. This weighs on the profitability and therefore is often set at 0 by authors of other strategies, which I find misleading.
If you have found this strategy informative or useful, please leave a comment.
Greetings Michael
Média Móvel de Hull (MMH)
Hull Keltner ChannelThis script is a Keltner Channel that uses a Hull Moving Average as source, instead of the 20-period EMA.
A hull band improves on lag and smoothness to Simple and Exponential Moving Averages.
And ATR based envelop is generated from this improved MA to form the Keltner Channel.
Hull on EHMA source with 180 periods loopback, coupled with a 200 period loopback for the Keltner Channel and 2 and 6 standard deviations, are my fav settings on Bitcoin, but feel free to try new settings.
Use it as you would use a normal Keltner Channel or Bollinger Bands.
Bogdan Ciocoiu - Sniper EntryWhat is Sniper Entry
Sniper Entry is a set indicator that encapsulates a collection of pre-configured scripts using specific variables that enable users to extract signals by interpreting market behaviour quickly, suitable for 1-3min scalping. This instrument is a tool that acts as a confluence for traders to make decisions concerning current market conditions. This indicator does not apply solely to an asset.
What Sniper Entry is not
Sniper Entry is not interpreting fundamental analysis and will also not be providing out of box market signals. Instead, it will provide a collection of integrated and significantly improved open-source subscripts designed to help traders speculate on market trends. Traders must apply their strategies and configure Sniper Entry accordingly to maximise the script's output.
Originality and usefulness
The collection of subscripts encapsulated in this tool makes it unique in the Trading View ecosystem. This indicator enables traders to consider entry positions or exit positions by comparing similar algorithms at once.
Its usefulness also emerges from the unique configurations embedded in the indicator's settings, which are different from those of the original scripts.
This indicator's originality is also reflected in how its modules are integrated, including the integration of the settings.
Open-source reuse
I used the following open-source resources, which I simplified significantly and pre-configured for short term scalping. The source codes for the below are already in the public domain, including the following links listed below.
www.tradingview.com (open source)
(open source and generic algorithm)
www.tradingview.com (open source)
(open source)
(open source)
www.tradingview.com (generic MA algorithm and open source)
(generic VWAP algorithm and open source)
HODL LINE [AstrideUnicorn]This indicator determines periods of bull market when a buy-and-hold investor can hold the asset, and bear market periods when they should avoid holding it. Though it was designed primarily with cryptocurrencies in mind, it can be successfully used for any market.
Technically, the indicator is an asymmetric trend filter aimed to account for the fact that market sell-offs tend to be sharper than up-trends. The algorithm has two regimes – with and without price smoothing.
HOW TO USE
The step-like line is the main trend filter. It is colored green in an uptrend and red in a downtrend. When the smoothing is on, in addition to the trend filter, the indicator plots a purple line. It is a Hull Moving Average (HMA) of the price. In this case, the indicator uses this line instead of the price to find crossings with the trend filter.
When the price or the smoothed line crosses the trend filter above, it is an uptrend signal. The indicator marks such crossings with green circles. It also colors the chart background green in an uptrend. The price or the purple line crossing the trend filter below means a downtrend signal. Downtrend signals show as red circles. The chart background in a downtrend turns red.
SETTINGS
Sensitivity – a dropdown list that allows the user to choose an averaging period of the indicator. Users can select a value for sensitivity from a predetermined set that better suits their investment horizon.
Use Smoothing – turns on and off smoothing of the price with HMA. With the smoothing turned on, the indicator responds slower to price changes, but at the same time produces less amount of false signals.
Seth_Signal
This script designed to identify up, down, and sideways trends. 200 HMA , 9 EMA , PSAR, and ATR are used to identify the strength of any instrument.
Candle Colors - Simpler approach to follow:
Green color indicates for up side trade signals
Red color indicates for down side trade signals
Yellow color can be interpreted for stop, sideways, and counter trade trade signals
Multiple Trade Setups:
Green Zone - Trading green candles within green zone has better odds of long trades
Red Zone - Trading red candles within red zone has better odds of short trades
200 HMA - Candles above 200 HMA mostly for long trades. Candles below 200 HMA usually for short trades. But the zone also very important to consider
9 EMA - Cross over above 200 HMA in Green zone, look for long trades. Cross over below 200 HMA in red zone, look for short trades
PSAR - This can be used as potential initial warning sign. Also can be used to exit partial or wait for it goes to opposite side for taking trade decisions
Candle Above all - If Green candle and above all the indicators, then very good sign of long side. If red candle and below all indicators, then very good sign of short side.
Multiple Time Frame:
This works very well with any instrument and on any time frame. Always its better to do analysis on multi time frame before entry, exit, and trade execution. Back test it with this setup and also observe it on live market. That will give edge in taking trade decisions. All the best and happy trading.
Kahlman HullMA / WT Cross StrategyA strategy created using Hull Moving Average and WT Cross .
Hull Moving Average turns green and WT Cross crossover this is a long. Otherwise short.
Stop Loss and Take Profit settings are available. You can set it to the level you want or turn it off.
According to my measurements, it shows the best performance in the 4-hour period. But you can find the best settings that are correct from the Strategy settings.
HMAISR This indicator is very similar to the movements of the original rsi, but in some places it works faster.
This indicator is not perfect and does not work everywhere, this version is just my experiment.
Use this indicator at your own risk, it may be suitable for your trading as some areas that I have indicated have worked out perfectly, experiment if you find it interesting and remember that it can make a mistake at any time!
Here is another example of how you can use the indicator where I highlighted the green arrow up, notice how quickly the indicator reacted, note that it went faster for the simple moving average than the same RSI.
Jerry J5 Dashboard & Buy Sell Strategy
----- Strategy
The strategy allows you to select from multiple moving averages and uses the concave function and the price being above or below a user defined EMA to provide buy and sell signals. You can select long trades, short trades, or both.
Concavity describes the direction of the curve and how it bends. And, just like a direction the concavity of curves can change and we call these changing points (technically they are inflection points). These changing points are used in conjunction with the stock price relationship to user defined EMAs and provide buy and sell signals when the trend is changing.
Moving Averages available in this strategy are the Exponential Moving Average (EMA), Simple Moving Average (SMA), Weighted Moving Average (WMA), Hull Moving Average (HMA), and Arnaud Legoux Moving Average (ALMA). Best results are typically with HMA and ALMA.
The indicator can be used for every type of market: indices, stocks, cryptocurrencies, currencies and others.
----- 27 Data Point Dashboard
Short Term Trend
Total Trades
Profit Factor
Win Rate %
Net Profit $, % & ROI
Buy & Hold Profit
Max Win $ & %
Max Loss $ & %
Avg Trade $, ROI%, & Bars
Avg Win $, ROI%, & Bars
Avg Loss $, ROI%, & Bars
Max Drawdown $ & %
Open Trade P&L $ & ROI%
For the dashboard you are able to set the target profit factor, win rate, net profit target ROI, winning trade target ROI, Strategy Start Date, and the Buy and Hold Start Date. The inputs are used to color dashboard labels making it easier to identify winning and losing trades based on your criteria.
Option Traders will likely appreciate the ROI% and number of bars being readily available. For example if the Average Winning Trade has a 5% ROI over 5 bars this can help you decide when to enter a trade and how long to stay in the trade.
Some of the label data is available in the TradingView Strategy Tester. However, I wanted a custom dashboard that was always visible on my chart and the J5 dashboard displays a total of 27 data points plus buy and sell signals .
Note: We calculate the ROI for Net Profit, Avg Trade, Avg Win, Avg Loss, and Open Trade based on the capital used for those trade(s). TradingView uses a different method and calculates the return percentage based on initial capital.
Indicators are not a magic pill and should be used to support trading decisions, not to make them for you. Past performance is not a guarantee of future returns. The results of individual stocks with any strategy do not constitute proof they will repeat in the future.
I hope you enjoy the J5.
DISCLAIMER: The information contained in our scripts/indicators/ideas does not constitute financial advice or a solicitation to buy or sell any securities of any type. Trading and investing in the stock market and cryptocurrencies involves substantial risk of loss and is not suitable for every investor. I’m NOT a financial adviser. All trading strategies are used at your own risk.
Please Use the link below for more information.
Ultimate HODL WaveThe basis for this indicator is the HODL Wave (> 1 Year) developed by Unchained Capital. This represents the percentage of coins that have not been moved for at least a year.
The Hull MA perfectly tracks the HODL Wave and provides an easy bull/bear trend in the mid-term.
The long-term and more macro bull/bear trend is decided by if the Hull MA is above or below the base MA.
I have purposefully chosen the 365 day length for the Hull MA and the 730 day for the base MA on the daily timeframe since they represent 1 year and 2 years respectively.
Hull ZigZagA simple indicator I use to filter out noise. it tracks reversals of a Hull Moving Average, which ultimately highlights short term trends and potential chart patterns. I've also included an option to project the most recent trend forward, if that is something you would like to tinker with.
CF - KAMI KAMI EMA-HMA-VWMA SCALPERThis is your dark knight, your shining light in the crypto darkness... It's you and me against the machine..... rage, rage against the dying of the night!
This my greedy minions is the ticket..... the disruptive technology, the red pill, that breaks the Matrix.... get ready to join the revolution.
DESCRIPTION:
Lowest green/red line
The lowest alternating green red band is simply a general market indicator. It's EMA 50 over 200. This is a generally good indicator of current market conditions. If the band is red, you should favor taking short positions. If the band is green, long positions.
The three MA colored bands
This sophisticated indicator uses 3 central MA's in calculating its goodness. The HMA (Hull's Moving Average), at the bottom (of the three principal bands), is the most sensitive and responsive to immediate market conditions. It will generally give you the signal to enter or exit at the beginning of the price action move. But, this could also be a "false" signal - that doesn't continue in the expected direction.
The middle band is VWMA, volume-weighted moving average, and it is sensitive to volume - so it may turn green or red faster as volume increases or decreases. It gives somewhat similar signals to the top moving average which is the EMA or exponential moving average.
The GREEN RED signals
The signals below the bands which are true green and true red are "SUPER" signals which represent that all of the six small bands of each MA agree. These are very strong signals to enter and exit a position. If multiple SUPER signals agree this is even more confirmation.
SETTINGS
You can change the ema signals. They are currently optimized for scalping, but this indicator can work for larger timeframes.
I couldn't make this open-source as it represents a lot of work to get it to this point. If you are interested in this indicator and would like to have a custom version coded for your purposes, let me know.
Fusion: Delta mixerBe warned, this indicator will unlikely be effective if you just load it and see what it has for you. It generally requires tuning, quite a bit of time, and a methodical approach but you might get lucky!
So why make something that's complicated and difficult like this? Simple, I've yet to find another indicator that can discern ranging like this one once tuned. I generally use to avoid trading when it's ranging.
The basic approach that has worked for me so far in tuning is as follows:
Set " Slope of Slope 2 " and " Slope of Slope 3 " to about 3.5.
Try to keep them mostly even and move them up and down for your environment while keeping an eye on how much ranging it's detecting.
When you have it about right try adding in the other threshold options (bring them up from 0) and see if they help detect more ranging.
Generally I found that any value other than zero doesn't make sense for " Slope 1 " however the others seem to be fair game although I generally have found that " Slope of Slope Avg 23 " doesn't add anything once the others are set.
You may find a completely different approach and better way! If you do please do leave a comment, drop me a note or something as I would appreciate learning better ways to use this indicator.
Because there's too many lines to be shown all at once, 10 in all, it's generally better to just leave the show settings as they are and see the collective effect as a single background color. However, if you want to experience some pain feel free to uncheck "As one color" and play around with the other settings as well.
The indenting of the "Show" settings (setting 2, 3 & 4 from the top) are to show that the one most indented will override the ones above it. Again, this is for the sanity of not showing 10 lines at once so what you see is grouped but mostly I just look at the background color and don't worry about the lines. If none of the three are checked then you will just see the HMA lines from which all the others are derived. The bottom-left corner will name which group of lines you are looking at so you don't have to check your settings to figure it out.
That said, maybe some clever person will find an alternative use for it, perhaps something useful in the lines crossing when setup a particular way or something which is why I left options to see the lines.
For clarification of the "Show" settings hover over the circled 'i' at the right of each setting.
If you find value please do make a comment, give thumbs up etc.
Enjoy and good luck!
Fusion: ATR RangingA simple way to determine a ranging market.
The defaults are for a specific use of my own so by no means feel a need to use them, adjust as needed.
By default this sits on the main chart however if you want to see the lines behind the result make a copy and put the copy on it's own chart and then just flip the "show" flags.
The is no reason for using the Hull MA over any other except that it's a preference of mine, that is, it's not for some magical reason I figured out. That said, the Hull is perhaps my favorite because of what I learned about after quite a bit of research so take that as you will.
There's no one indicator I borrowed from so credit to both:
Hull Suite by InSilico
Average True Range by S6thSense
The code is structured to easily drop into bigger system so use as a lone indicator or add to some bigger project you are creating.
Finally, if you find value please do make a comment, give thumbs up etc.
Enjoy and good luck!
Creentrend Pressure SignalsThe hull moving average is my favorite moving average, as well as slower (55ma Bollinger Bands dev@(1.618)) is my favorite standard deviation indicator. Lets combine the two to evaluate overbought, oversold, and pressure.
Use for all time frames- I PREFER daily.
Bollinger band MA at 55
Hull ma at 55
The Hull is more reactive and faster than any band on the BB (both at 55)
When HULL closes BELOW LOWER BAND- it will print a buy signal, remember- over sold and overbought in VOLATILITY could be dangerous on low time frames, as swift moves typically have short term reversals but return to the main trend eventually, this is why i reccomend daily candles.
When PRICE closes ABOVE UPPER BOLLINGER BAND- it will print a green ^ signal under candle indicating upward pressure.
When HULL closes ABOVE UPPER BOLLINGER BAND- it will print a red resistance line. Complex tops happen a lot with bitcoin so take a 1-5% stop above it if shorting.
JC MAs: SMA, WMA, EMA, DEMA, TEMA, ALMA, Hull, Kaufman, FractalThe best collection of moving averages anywhere. I know, because I searched, couldn't find the right collection, and so wrote it myself!
-------------------------------------------------------------------------------
Notable features that either aren't found anywhere else...or at least in one place:
-------------------------------------------------------------------------------
• The "Triple Exponential Moving Average", is actually that mathematically - rather than "three seperate EMA graphs", as is commonly found on Trading View.
• Includes exotic moving averages: Hull Moving Average (HMA), Kaufman's Adaptive Moving Average (KAMA), and Fractal Apaptive Moving Average (FrAMA).
• Each moving average has its own user-definable averaging length in DAYS, rather than an abstract "length". This is respected even for different graphing resolutions, and different chart views - even for the more exotic MAs.
• Days can be fractional.
• A master time resolution ("Timeframe") is also user-definable. And unlike most other moving average charts, this won't affect the internal "length" variable (specified days are still respected), it only changes the graphing resolution. You can also specify to use chart's resolution - which, as you know, is not very useful for moving averages - yet so many moving average scripts on Trading View don't let you specify otherwise.
• If every CPU cycle counts, you can set "days" to 0 to prevent a particular unneeded moving average from being calculated at all.
• Includes a custom moving average that is unique, if you're looking for a tiny edge in TA to beat everyone else looking at the same stuff: a customizable weighted blend of SMA, TEMA, HMA, KAMA, and FrMA. (Note: The weights for these blends don't have to add up to 100, they will self-level no matter what they add up to.)
• By default, the averages are color-coded according to rainbow order of light spectrum frequency, relative to approximate responsiveness to current price: Red (SMA) is the laziest, violet (FrAMA) is the most hyper, and green is in the middle.
-------------------------------------------------------------------------------
Contains the following moving averages, in order of responsiveness:
-------------------------------------------------------------------------------
• Simple Moving Average (SMA)
• Arnaud Legoux Moving Average (ALMA)
• Exponential Moving Average (EMA)
• Weighted Moving Average (WMA)
• Blend average of SMA and TEMA (JCBMA)
• Double Exponential Moving Average (DEMA)
• Triple Exponential Moving Average (TEMA)
• Hull Moving Average (HMA)
• Kaufman's Adaptive Moving Average (KAMA)
• Fractal Apaptive Moving Average (FrAMA)
Note: There are a few extreme edge cases where the graphs won't render, which are obvious. (Because they won't render.) In which case, all you need to do is choose a more sane master resolution ("Timeframe") relative to the timeframe of the chart. This is more about the limits of Trading View, than specific script bugs.
-------------------------------------------------------------------------------
Includes reworked code snippets
-------------------------------------------------------------------------------
• "Kaufman Moving Average Adaptive (KAMA)" by HPotter
• "FRAMA (Ehlers true modified calculation)" by nemozny
• Which in turn was based on "Fractal Adaptive Moving Average (real one)" by Shizaru
Crypto Category [Morty]This Crypto Category indicator shows an index oscillator for each cryptocurrency category.
Currently there are four categorys, include Metaverse, Web3, Layer1 and DeFi.
Each category index has four compoments and you can custom the input symbols.
The index is a Hull moving avarage of the compoments CCI. You can set the avarage period.
It also show a background heatmap based on the market sentiment which is calculated from the avarage of four indices.
Hull MA TimeFrame CrossOverHello traders,
Although this strategy is configured on BTCUSDT , with a changing of settings, it can be used on any trading instrument.
Here it is seen, on the 2 hour chart. With Trading Fees included in result (adjust to suit your exchange fees).
The candle crossover is set to Daily timeframe.
That means that the Candle crossover is going to see if todays price is higher than yesterdays price.
If user sets this to 4 hour timeframe, the candle crossover would be when price is higher than the the price 4 hours ago...
The rest is simple, a moving average to detect direction, and an ATR StopLoss (if activated).
There is StopLoss and Take Profit settings which work by percentage.
The periods of the moving average and the ATR can be adjusted, as can the TP % and SL %.
The price is taken from the CLOSE or the OPEN or OHLC4 etc... which can be changed in the settings. OPEN is recommended to avoid repainting.
The moving average also has selectable types (ALMA,SMA,EMA,WMA,HMA)
So if the Price is above the Moving average, and the moving average is above the alternate timeframe value, then a buy is activated
if the Price is below the Moving average, and the moving average is below the alternate timeframe value, then a sell is activated
if OPEN is selected as Price source, then the alternate timeframe value would be the OPEN of the alternate timeframes candle.
the values are all plotted on chart so user can see what is happening when what crosses over what, and then what changes when settings are adjusted.
Have FuN!
if this strategy brings you the epik win......
.... dont forget about me
seaside420 ❤️
MAROC Fast/SlowNot sure if a similar indicator already exist, so I created my own. After creating this indicator, I realize it looks very similar to MACD. However, it strictly uses Hull moving average in its calculation for the lines.
MAROC is simply Moving Average Rate of Change. This is a trend-following indicator that calculates the rate of change on two Hull moving averages. By default it calculates the ROC on 60-period HMA (green and red) and 180-period HMA (blue and orange). The zero line represents the confirmation of change in trend. Above zero is up trend and below zero is down trend. Note the difference between the "trend reversal" and the "confirmation of a trend". I like to define trend reversal by the change in direction
The colored squares on the zero line has 4 colors that represents the overall trend. Here I include the slowdown of MAROC as the start of a trend.
- bright green = when both the slow and fast MA are trending up
- faded green = when slow MA trending up, but fast MA trending down
- faded red = when slow MA trending down, but fast MA trending up
- bright red = when both the slow MA and fast MA are trending down
Trend changes triangles are shown to signal the change in trend direction (trend reversal). Green and blue triangles are trend reversal to the upside. Red and orange triangles are trend reversal to the downside.
This indicator includes the option of displaying buy(long) and sell(short) signals that follows these rules. Use at your own discretion, as it may not apply well with your market or ticker.
- Long = Bright green square and either fast or slow MAROC changes trend direction to the upside
- Short = Bright red square and either fast or slow MAROC changes trend direction to the downside
Enjoy~! Please let me know if you find this useful and which market / ticker and timeframe you are using it on~ :)
Buy and Sell with Master_in_chart-ind. [V1]This script indicates the Buy and Sell positions on your chart. In addition, it shows entry price , stop loss and possible targets on the chart. The same information are shown in a table where you can find the position type (long/short) in green and red color, entry point, stop-loss (always in red) and targets.
The targets are defined by Risk to Reward ratios 1:1, 1:1.5 and 1:2.
the labels appears when the all conditions are satisfied.
Interesting part of the script is the alert function. Here one can set the script for different
securities and activate alert in TV.
In summary, one can change and tune the setting of the indicator easily by clicking on the gear icon. In the setting, there are four sections. First section sets the slop-loss. Second section activates and shows the super trend indicator. Third section is designed to tune the signals. Finally, you can apply the script on five different symbols at different time-frames. Here you can set alarm to alert you the signals.
I hope you enjoy it!
MACD Infinity Indicator(MACDI)MACDI is the macd of macd indicators and macd of macd indicators of macd indicatrs and so on...!!
I used macd algo to find slopes of macd of price and it can helpfull when we want to find best signalls it can make amazing shapes that can be usable to everyone!
author: Masoud Azizi
github: mablue
UT Bot v5This is an update by request, on someone elses strategy! well more of an edit, but also update from pine v4 to pine v5.
//CREDITS to HPotter for the orginal code. The guy trying to sell this as his own is a scammer lol.
//Edited and converted to @version=5 by SeaSide420 for Paperina
The UT Bot v5 is Movinging average (the MA) vs ATR (the ATR is in the form intended for use as trailing stop loss (ATR_TSL))
Entry logic:
buy = the MA > ATR_TSL and Price > ATR_TSL
sell = the MA < ATR_TSL and Price < ATR_TSL
The Moving average type can be changed in the settings:
options = "SMA", "EMA", "WMA", "HMA"]
the edits i made were:
convert to v5
Add TP and SL
Add Buy only or Sell only option
Add MA type option
Add price source option
Draw MA and ATR_TSL on-chart
Triple Modified Hull Moving Average Cross By <Zakaria>Triple Modified Hull Moving Average Cross By
What is this?
this is a modified formula for Hull moving average, it is more accurate and predicts the golden and death cross earlier.
How to use?
Work better in high time frames (1D,1W)
the white line vs the red and the orange lines :
1 - when the white line crosses the red and the orange lines from the bottom the price will go down . Death cross!
2 - when the white line crosses the red and the orange lines from the top the price will go up . Golden Cross!
the red line vs the orange line :
1- when the orange line crosses the red line from the bottom the price will go down . Death cross!
2 - when the orange line crosses the red line from the top the price will go up . Golden Cross!
p.s: the lag between these two lines will be very small. use it in the 1W time frame to predict where exactly the bull market will end.
You can input your personalized values if you want!
Zero-Lag HMA Backtest v1.0 [loxx]This backtest compares profitability differences between a regular Hull Moving Average ( HMA ) and a Zero-Lag HMA .
Things to know:
- Profit is set to 1 ATR
- Stop-loss is set to 1.5 ATR.
- This is by design to test the minimum the profit scenario (1 ATR up) and the worst case loss scenario (1.5 ATR down) for momentum trading. Actual results vary when additional TPs are added
How to use:
- Adjust settings and dates to view different market structures and position scenarios
- See results in the "Strategy Tester" pane
Conclusions and what's next
- Modifying HMA does very little to improve backtest results
- Future iterations will include options to backtest various moving averages with additional modifiers to improve profits and avoide losses
Comment below or send a PM with questions, comments, observations, or concerns.