Pi Cycle bitcoin bottomFull credits go to the owner, but for reasons i cannot diclose.
Introduction
With the adoption of cryptographic assets reaching new heights, it is undeniably important to continuously expand and improve current indicators just like how these assets update with new lines of code over time.
Philip Swift’s Pi-Cycle Top Indicator has effectively signaled market and local tops to within 3 days, with the most recent occurrence being on May 12th 2021.
If it were possible to find the cycle/local top of each cycle, a similar analogy could be used to pinpoint the bottom of Bitcoin’s price.
These Pi-Cycle indicators are merely just two moving averages which, when divided by each other, are equal to the value of π.
π = Long MA / Short MA
350/111 = 3.153; as per the existing Bitcoin Pi-Cycle Top indicator.
Pi-Cycle Bottom for Bitcoin
At first, the existing “Pi moving average” pair (350/111) was realigned to see whether they cross at the bottom of the Bitcoin price.
They did not, only to be a lagging indicator in both 2015 and 2018 cycle bottoms.
A possible pair was discovered when the short MA was set to 150:
π = Long MA / 150
Long MA = π * 150
Long MA = 471 (rounded to the nearest whole number)
This resulted in a Pi MA pair of 471/150.
Using the multiple x0.745 of the 471-day SMA and the 150-day EMA (exponential average to take into account of short term volatility ), the price of Bitcoin bottoms at where they two moving averages cross:
When the 150-day EMA crossed below the 471 SMA *0.475, Bitcoin’s price had bottomed for the market cycle.
Over the last two market cycles, this indicator has been accurate to within 3 days also.
ממוצע נע אקספוננציאלי (EMA)
MACD, EMA, Know sure thing, Chopy Market StrategyHey there :)
This is the free version of the script. The following indicators / settings are missing:
- Support and resistance zones
- dynamic textboxes for alarms when using bots (3 Commas, Alertatron, etc.)
- a table showing the current position, indicators and other important information
With this script there is the possibility to completely customize the MACD . Starting with the MACD and signal line, the histogram and the color of the histogram.
Since the Pinecoders team has previously deleted the script, I will mention the fee settings in a bit more detail:
In this script a fee of 0.01% and a slipage of 15 was used. With each trade the total capital (100%) is used with a risk reward of 1 to 1.5.
The total capital, i.e. the risk, can be changed at any time under the "Settings" tab at "Equity".
I also added an EMA , the Know sure thing indicator and the Chopy Market indicator (by TradingRush) to the script to filter out bad trades.
The EMA:
Since the EMA is very reliable and shows whether there is an upward or downward trend, it should be used with the indicators in any case. It prevents long trades in downward movements and vice versa.
The KST Indicator:
The KST indicator has a similar movement as the MACD , but is by and large a bit more time delayed. It filters out false swings of the MACD and thus prevents bad trades.
The Chopy Market Indicator by Tradingrush:
The Chopy Market indicator, which was introduced by TradingRush in one of its videos, has the ability to detect sideways markets and block zones below this line for trades by means of a fixed value (the line).
To exit the trades, I added the following options:
ATR Exits. Exits based on past candles (lowest low, highest high).
Static exits based on set percentages.
In the next days I will create a tutorial for the script, just have a look on my profile.
If you have any questions about the script, let me know.
MACD, EMA, Know sure thing, Chopy Market - high adaptabilityHey there :)
This is the free version of the script. The following indicators / settings are missing:
- Support and resistance zones
- dynamic textboxes for alarms when using bots (3 Commas, Alertatron, etc.)
- a table showing the current position, indicators and other important information
With this script there is the possibility to completely customize the MACD . Starting with the MACD and signal line, the histogram and the color of the histogram.
Since the Pinecoders team has previously deleted the script, I will mention the fee settings in a bit more detail:
In this script a fee of 0.01% and a slipage of 15 was used. With each trade the total capital (100%) is used with a risk reward of 1 to 1.5.
The total capital, i.e. the risk, can be changed at any time under the "Settings" tab at "Equity".
I also added an EMA , the Know sure thing indicator and the Chopy Market indicator (by TradingRush) to the script to filter out bad trades.
The EMA:
Since the EMA is very reliable and shows whether there is an upward or downward trend, it should be used with the indicators in any case. It prevents long trades in downward movements and vice versa.
The KST Indicator:
The KST indicator has a similar movement as the MACD, but is by and large a bit more time delayed. It filters out false swings of the MACD and thus prevents bad trades.
The Chopy Market Indicator by Tradingrush:
The Chopy Market indicator, which was introduced by TradingRush in one of its videos, has the ability to detect sideways markets and block zones below this line for trades by means of a fixed value (the line).
To exit the trades, I added the following options:
ATR Exits. Exits based on past candles (lowest low, highest high).
Static exits based on set percentages.
In the next days I will create a tutorial for the script, just have a look on my profile.
If you have any questions about the script, let me know.
BTC Sentiment analysis RSI 2xEMAThis is a CRYPTO correlation strategy, which is using BTC sentiment with BITFINEX long and short ratios.
WIth them we are making from one side 2 RSI, one for long and another for short. And from another side, we are going to make multiple EMA's, using the ratios for long and short.
Rules for entry
For this scenario I created a long only strategy.
The long entry condition is : we have a crossover of the rsi long ratio with rsi short ratio and long ratio from BITFINEX is above the long EMA and short ratio from BITFINEX is below short EMA.
We exit when we get the opposite condition, in this case we have a crossunder of the rsi long ratio with rsi short ratio and long ratio from BITFINEX is below the long EMA and short ratio from BITFINEX is above short EMA.
If you have any questions, let me know !
EMA Separation CoefficientStrategy: ema difference fast-slow
buy: indicator cross up zeroline
sell: indicator cross down zero line
Strategic Trend By TrendciHoca
Hello everyone, this indicator, which is similar to the Most indicator, which is one of the most used indicators in the market, also has the following features.
1. BB and BS point: HMA 200 bar was used for BB point. The same applies to BS. When the last closing price crosses HMA200 up, BB signals, and when it crosses down, BS signal comes.
2. GO and ATTENTION point : Attention signal should be used when the trend is long and profit can be taken at this point if desired. The Go signal should be used when the trend is short and profit can be taken at this point if desired. EMA and ATR were used to calculate these points.
All signal alarms come embedded in the indicator.
RSI Hidden Divergence + Stochastic + 200 EMA @DaviddTechHey Traders,
This is my first strategy of many I hope. Inspired by a strategy I found on YouTube I wanted to see if it would work with a BOT strategy.
The idea is :
## LONG ##
* When the price is above 200 EMA take only LONG positions.
* Look for Bullish hidden divergence.
* Stochastic crossover to find our entry.
## SHORTS ##
* When the price is below 200 EMA take only SHORTpositions.
* Look for Bearish hidden divergence.
* Stochastic crossunder to find our entry.
You can used a fixed percentage, ATR, HH/LL or a FIB level to take profit.
Everything is very visual and can be connected easily to a bot.
I will be doing a video on HOW-TO setup in a couple of days.
## MUTLI LEVEL PROFITS ##
This will show you on backtest is you take profits at 3 levels however I have not tested on a BOT strategy.
NOTE : This is for educational purposes and please test on a paper account, as I said this is my first strategy.
I will be working and back testing new strategies every week.
- Made with ♥ @DaviddTech
MA CloudMA Cloud - a highly configurable cloud for Moving Averages
Creates a cloud from max. 5 Moving Averages.
Users can freely decide, for each average wether it should be SMA,EMA or WMA and also for the time period.
They shades and colors can be freely chose for each combination of MA's, giving you a maximum freedom to configure your cloud.
Moving Average Ribbon [TheBearFighter]
This code was written using:
•Pine Script Coding Conventions.
This script provides a very useful tool for new community users and professionals. It puts at your disposal a Moving Average Ribbon by hand to graph and easily find the ones with the highest performance. The creation of this script was motivated because in free TradingView accounts there is a limit of 3 indicators by chart, and with this tool you can draw up to 32 MA's at the same time!
Choose one of 10 types of MA´s:
•KAMA Kaufman's moving average.
•HULL Hull moving average.
•TEMA Triple exponencial moving average.
•LSMA Least square moving average.
•DEMA Double exponencial moving average.
•ALMA Arnaud Legoux moving average.
•WMA Weighted moving average
•EMA Exponencial moving average.
•VWMA Volume Weighted moving average.
•SMA Simple moving average.
Use the tooltips to know the lengths of MA´s.
A main characteristic of the script is that the lengths are in days but when changing the lowest timeframes, the same daily resolution is maintained. This gives us extreme precision in intraday timeframes, e.g 30 minutes.
Once this is understood, we can turning the MA´s on/off, and changing the timeframe to our liking.
Available timeframes: M, W, D, 4H, 1H, 30m, 15m, 5m.
Also the MA´s are colored for easy visualization and know if they grow or decrease.
Thank´s to @midtownsk8rguy to let me know more about HEX colors.
Thank´s to @HPotter for his KAMA.
[SCL] Significant Figures Example FunctionThis script consist of a single example function that takes a floating-point number - one that can, but doesn't have to, include a decimal point - and converts it to a floating-point number with only a certain number of significant digits left.
I'm not aware of another script that does this. There might well be a simpler way, in which case please do let me know.
For example, say you want to display a variable from your script to the user and it comes out to something like 45.366666666666666666666667 or whatever. That looks awful when you, for example, print it in a label.
Now, you could round it up to the nearest integer easily using a built-in function, or even to a certain number of decimal places using a reasonably simple custom function.
But that's a bit arbitrary. Suppose you don't know what asset the script will be used on, and so you can't predict what the price is, and what the value will turn out to be.
It could be 0.00045366666666666666666666667 instead. Now if you round it up to 3 decimal places it comes out as 0.000, which is useless.
My function will round that number to 0.0004536 instead, if told to do it to 4 significant digits.
You're free to use this function in your own scripts, including closed-source scripts, without asking permission. Credit to @SimpleCryptoLife would be appreciated.
CCI BBThis indicator is the idea of giorno_4_16 .
It shows some indicator lines in your main chart as following:
SMA300, EMA200
BB 20 1,2,3sigma and middle
BB 300 1,2,3sigma and middle
You should put CCI (12, 14) into your separated chart to use the idea.
It shows arrows for registance trading when:
CCI(12) crossovers -200 or corssunders 200 in recent 6bars,
and the price crosses indicator line of SMA200, EMA200 and BB300 1,2,3sigma.
When CCI crossovers -200, you can condisider buying.
When CCI crossunders 200, you can condisider selling.
You should use this indicator in 1H or 4H.
When an arrow appears in 1H, change timeframe to 4H and check the slope of BB20.
If the slope is gentle, take-profit target is MA20 of 1H.
If the slope is steep(ex. CCI crossovers -200 and 4H BB20 go up steeply), take-profit target is BB20 2sigma of 1H.
Price - Mean Reversion ExpansionA simple indicator, to plot the quantitatively the reversion and expansion of price from a set of means.
A green bar plots prices above the set of means. A bar plots prices below the set of means. A blue bar plots price entangled in the means. The height of the bars denotes the far-ness from the set of means.
A blue envelope over the bars is the average of this reversion/expansion. A "crossover" of any bar (red/green) over this envelope is indicated by a "green dot" a "crossunder" of any bar (red/green) under this envelope is indicated by a "red dot".
The small trend strength table (when enabled) on the right side below show in a easy manner the data presented in the " Mean Angles " indicator. Refer to description there for more details.
Multi HMA Lines by NB(ENG)
The Hull Moving Average (HMA) line responds quickly to volatile markets,
sometimes it provides more accurate information than the Exponancital Moving Average (EMA).
In particular, the 200 HMA line is easy to decide the overall trend of the market,
and it serves the basis entry position.
So I made indicator that provides these HMA lines into various periods so that they can be checked in one.
In addition, a custom TimeFrame HMA line function has been added so that you can check
not only the TimeFrame that meets your trading standards, but also the HMA of the other TimeFrame that you custome sets.
For example, if you want to see the 200 HMA of the 60-minute bar, you can select and set the different TimeFrame in the Multi TF section below.
For reference, 200 HMA at the 15-minute bar is the same value as 50 HMA at the 1-hour bar, so as shown in the following chart,
I use 4 HMA lines at the 15-minute bar : 20 HMA, 50 HMA, 200 HMA, and 200 HMA from 60-minute TimeFrame.
We hope it will help you in your trading. :)
(KOR)
HMA(Hull Moving Average) 라인은 변동성이 심한 시장에 빠르게 반응하며,
때때로 EMA(Exponancital Moving Average)보다 더 정확한 정보를 제공하곤 합니다.
특히 200HMA 라인은 시장의 전반적인 추세를 판단하기에 용이하며,
큰 틀에서의 포지션 진입 근거의 기반이 됩니다.
이러한 HMA 라인을 다양한 기간으로 나누어 하나의 지표에서 확인 할 수 있도록 만들어 보았습니다.
아울러, 자신의 매매 기준에 맞는 타임 프레임은 물론, 다른 타임 프레임의 HMA도 확인 할 수 있도록
커스텀 타임 프레임 HMA 라인 기능을 추가로 넣었습니다.
예를 들어, 15분 타임 프레임이 본인 매매 기준표이지만, 60분 봉의 200 HMA도 보고 싶다면
밑의 Multi TF 항목에서 해당 타임 프레임을 선택 후 설정하시면 됩니다.
참고로 15분 봉에서의 200 HMA은 1시간 봉에서의 50 HMA과 동일한 값이므로 저는 다음 차트 그림과 같이
15분 봉에서 20 HMA, 50 HMA, 200 HMA, 그리고 1시간 봉에서 200 HMA 이렇게 4개의 라인을 참고 하고 있습니다.
여러분 거래에 도움이 되기를 바랍니다. :)
Mean AnglesThis indicator plots the trend of the angles made by the chosen means. This trend when analysed over multiple timeframes as well as different lengths can give an indication of the trend in short medium and long term.
For example, in any particular timeframe, when the 20 EMA turns a negative arctan, it signifies that on a shorter timeframe (than the current timeframe) is turning downwards in price. When 50, 100 and 200 EMA turn negative, it confirms the trend reversal. Similarly the 20 EMA will be the first one to turn "Up" or positive to indicate a possible trend reversal on the upside.
The angle of the means will oscillate between +pi/2 and -pi/2.
0 means - EMA is flat
+pi/2 means - almost vertical price rise
-pi/2 means - almost vertical price fall
Between -pi/2 and 0 means EMA is sloped downwards. Moving from -pi/2 to 0 means EMA slope is turning up. Moving from 0 to -pi/2 means EMA slope is falling down even lower and faster.
Between 0 and +pi/2 means EMA is slopped upwards. Moving from +pi/2 to 0 means EMA slope is falling down. Moving from 0 to +pi/2 means EMA slope is turning up even higher and faster.
EMA StrategyThis is a simple EMA cross strategy. This script was published by CaptJava. I added in the ability to check off a box and allow shorting, the ability to select a back testing date range and also the ability to enter the buy message and sell message in the properties. You then create the webhook alert and put only this in the message:
{{strategy.order.alert_message}}
That will pull in your alert message dynamically.
I may add more features to this over time.
EMA Bounce StrategySimple strategy that checks for price bounces over an Exponential Moving Average. If the CLOSE of the candle bounces
back from having it's LOW below the EMA then it's a Bull Bounce. If the CLOSE of the candle bounces down from having it's
high above the EMA then it's a Bear Bounce. This logic can be reversed.
Tocorin_MTF_MA7 MAs (SMA or EMA) can be displayed in each period.
MTF display is performed only at 5m, 1h, and 4h.
The upper MAs to be displayed are as follows
5m: 1h, 4h, and 1D
1h: 4h and 1D
4h: 1D
The MA line style is stepline and circles to make it easier to see.
You can change it in the settings as you wish.
--
各時間足で 7本の MA(SMA or EMA) 表示が可能です。
5m, 1h, 4h の時だけ MTF 表示を行います。
表示する上位 MA は下記の通り
5m: 1h と 4h と 1D
1h: 4h と 1D
4h: 1D
見やすくするためにMA の線のスタイルを stepline と circles にしています。
設定で任意に変更してください。
Musashi_HarmonicPricerMusashi HarmonicPricer was designed to my a tool for my personal trading strategy, and help me plot what I call ''Harmonic Structure', which is just a sophisticated way of using Fibonacci ratios based on the Elliott Wave Principle, Harmonic Patterns, and market structure.
- A distinctive element will be the integrated Fibonacci cluster tool, which plots automatically retracements and extensions of .272 (red) and .618 (purple) ratios, using the last two significant swings. For powerful usage, adjust the timeframes until they group into clusters or adjust the setup. You can also adjust the settings and select to plot only retracement, only extensions, both (default), the deviation (default = 7), and the historical approach.
- To be used wisely properly, you require multi-timeframe analysis, reason why you will find Monthly and Yearly VWAPs, as they won't change while you're switching timeframes, and fib-based EMAs to provide trend and dynamic support.
- Finally, the indicator will plot in price Hidden and Regular divergences for any oscillator you have on screen.
Have a good day.
GMMAs v2.0 CRYPTO [badshah_e_alam]Hello Traders ,
The GMMAs v2.0 CRYPTO strategy stands for gap modified moving averages designed for cryptos. This is a non Repainting Indicator.
This strategy version is a advanced and modified to one of my previously published indicator named as "gap modified moving average".
I am using my Modified Moving Average indicator for a while. I always wanted to add some more information to moving
averages and made some modification to Moving averages.
The additional Information I have added to the Moving Average helps it to act more quickly based on the price of that
particular asset.
How is strategy gives signals?
when the GMMA'w cross over or cross under the GMMA'y than a trade is taken depending on the filter status.
Info about the settings :
The default setting is for 11m ETHUSD , it works with other cryptos and other timeframe as well . For other timeframes it need to be fine tuned and need little change.
The first category is for the selection of Moving average to be modified and the source to be used for that moving average .
I have added seven moving averages to choose between. SMA works good for me , you can choose and play with other MAs.
following are the option to choose MAs
1.EMA
2.SMA
3.HMA
4.RMA
5.WMA
6.VWMA
7.SWMA
Next option in setting is GMMA'y and GMMA'w :
these two settings define the length and lookback period of the MA you have choosed above.
The length is similar to the length of the moving average chosen to be modified.
The lookback option will look for that number of bars for the modification.
GMMA'w is more sensitive than the GMMA'y. So make sure that the setting input of the GMMA'y is significantly larger than the
GMMA'w.
FILTER:
I have added TradingView inbuilt SUPERTREND as a filter in the strategy, it works very good in filtering out false trades
you can enable/disable it in the settings.
EXIT strategy:
The exit Strategy is based on ATR, Take profit and SL are decided by the ATR in the SL/TP setting option. You can change the RR ratio in the setting.
The backtest settings are as follow:
Initial capital:10k
Initial Commission = 0.000
Initial Pyramiding = 0
Reference :
Thanks to pinecoders and Tradingview community.
my previous gap modified moving average version is :https://in.tradingview.com/script/e3WestBa-Gap-Modified-Moving-Average/
watermark added from:
color gradient framework picked from :https://in.tradingview.com/script/hqH4YIFa-Color-Gradient-Framework-PineCoders/
DISCLAIMER
Any and all liability for risks resulting from investment transactions or other asset dispositions carried out by the user based on information received or a market analysis is expressly excluded by me.
All the information made available here is generally provided to serve as an example only, without obligation and without specific recommendations for action. It does not constitute and cannot replace investment advice. We therefore recommend that you contact your personal financial advisor before carrying out specific transactions and investments.
Do your own research and Risk management before taking any trade.
Aggregate BTC Volume + EMA Strat// This strategy buys when the price crosses the Fast EMA. It can go long only
// when the price is above the slow EMA and short when is below. The exit
// is determined by volume spikes, when the volume is greater than the Volume
// MA multiplied by the assigned input multiplier. Thanks to MartinShkreli
// for the Aggregated BTC volume. There is also a Maximum Loss filter which
// should be modified depending on the traded market.
4 MA Strategy + Position Management// This is a simple crossover Moving Average strategy, good for long term crypto trades.
// It buys when the MA "X" crosses up the MA "Y", viceversa for shorts.
// Both MAs are selectable from the Inputs section in the front panel.
// There is also a Position Management option thats
// sizes positions to have the same USD risk (using leverage) on each trade,
// based on the percentage distance to the stop loss level.
// If you turn this option on you will see how the profit
// grows exponentially while the drawdown percentage almost remains the same.
255 EMA Strategy//--- From 15 Trading Examples by Trader Alyx ---
// Seems like this strategy works better if we reverse the EMA filter logic.
// "Description: This basic scalping strategy allows you to enter the market based upon sentiment
// provided by the EMA, set at 255 periods. When price is trading below the 255 EMA, you would
// look to enter a LONG BUY positions, and when price is trading above the 255 EMA, you would
// look to enter a SELL SHORT position. The MACD lagging indicator will show you clear signals for
// when to do this. When the MACD lines cross in a bullish manner and price is below the 255
// EMA, buy. When the MACD lines cross in a bearish manner and price is above the 255 EMA,
// sell.
// NOTE: Make sure that price is trading away from the 255EMA before entering a LONG or SHORT
// position. As you can see in the chart below, the clearest signs for trade entry were presented
// when price was trading AWAY from the 255EMA"
Natural Moving Average [CC]The Natural Moving Average was created by Jim Sloman (Ocean Theory pgs 63-70) and this is the one of the best moving averages you will find! This is one of the most adaptive moving averages that I have ever seen that accounts for all types of volatility. I have included a default value of 40 for the length so you can see just how close this moving average sticks to the underlying price movements. Feel free to try out your own lengths to see what you like best. I have included strong buy and sell signals in addition to normal ones so darker colors mean strong signals and lighter colors mean normal ones. Buy when the line turns green and sell when it turns red.
Let me know if there are any other scripts you would like to see me publish!