Mayer Multiple StrategyCreated by Trace Mayer, the Mayer Multiple is calculated dividing the current price of Bitcoin by its 200-day moving average. This simple script allows to backtest strategies based on Mayer Multiple levels, which can be easily adjusted. It can be tested on any chart and any timeframe.
Cari dalam skrip untuk "crypto"
Percentile Major Move Indicator This indicator is a powerful tool for understanding how big of a move a product, crypto, or currency has recently had.
Anything inside of the green bars is a standard move with a 68% chance of happening based on your chart timeframe.
Any move that touches the red lines to the upside or downside has a 2%+ chance of happening in either direction.
This is a powerful indicator but just one point of data and should be used as such.
sma RSI & sudden buy and sell Strategy v1This strategy uses mostly three things:-
1. average RSI (sma rsi over a period)
2. sudden buy and sudden sell (usually to infer the change in trend or direction)
3. various EMAs ( used as a filter)
I mostly build it to work on a 3min crypto chart but it should work on any timeframe or any symbol.
Settings - Length -RSI length (hardly needed to be changed but sometimes it doubles the net profit)(+/-2)
instant length - a sudden increase or decrease in the price calculated by the length of RSI (+/-10)
Bars - No of candles to verify before starting /closing the strategy (+/-20)
Lookbackno2 - another variable to verify ema opening/closing (hardly needed to change)
emas - values of different EMAs (you can change if you want but I don't recommend it though)
over40 and over60 - the value of overbuying and overselling(+/-10)
In future, I will probably add ADX or use machine learning to filter out results
It works well considering 0.05% commission per entry and exit (total of 1% per trade)
you can message me for any query or suggestions.
Combo Ichimoku + CDC Action Zone by fukuizThis indicator combines the famous indicators Ichimoku and CDC ActionZone.
#A brief introduction to Ichimoku #
The Ichimoku Cloud is a collection of technical indicators that show support and resistance levels, as well as momentum and trend direction. It does this by taking multiple averages and plotting them on a chart. It also uses these figures to compute a “cloud” that attempts to forecast where the price may find support or resistance in the future.
#A brief introduction to CDC ActionZone #
CDC ActionZone is a very simple system, utilizing just two exponential moving averages. The 'zones' in which different 'actions' should be taken are highlighted in different colors. Calculations for the zones
They are based on the relative position of price to the two EMA lines and the relationship between the two EMAs.
The CDC ActionZone was developed by Piriya333, a Thai technical analyst.
#How to use #
The basic method for using Ichimoku+CDC ActionZone is to follow the green/red color and the cloud.
Buy condition
-Buy when the bar closes in green and closes above the cloud
Sell condition
-sell when the bar closes in red.
multicolor Bollinger Bands (BB <-> KC)Concept:
After every low volatile phase comes a high volatile phase and after every high volatile phase comes a low volatile phase.
If the Bollinger bands are smaller then the Keltner channel (colored red), the price action is low in volatility… meaning a breakout (colored green) will happen soon.
If Bollinger band is bigger than the Keltner channel = green
If Bollinger band is smaller than the Keltner channel = red
Displaying the Keltner Channel is optional
If multicolor BB is disabled, BB color = blue (default color)
Customise colors to your liking under settings -> style
-----------------------------------
To get alerts for all coins
1. visit » tradingview.com/crypto-screener
2. set the filter to »
Bollinger Upper Band (20) below Keltner Channels Upper Band (20)
Bollinger Lower Band (20) above Keltner Channels Lower Bands (20)
3. add your own custom filters, like: exchange, marketcap, etc…
4. choose the timeframe you want
5. enable alerts
Bollinger Stop StrategyClassic trading strategy using the Bollinger Bands indicator.
Strategy
Only stop orders are used to enter and exit the market.
If the price crossed the upper boundary of the Bollinger Bands, then enter into a long position (and close a short position).
If the price crosses the bottom of the Bollinger Bands, then enter short (and close a long position).
Short positions can be disabled (optional).
For
Crypto-currency market
Preferably coin/fiat (BTC/USD, ETH/USDT, etc)
Timeframe 1 day only
Settings
The original settings for the Bollinger Bands indicator are set by default.
Perhaps a better result will be if you use non-original price source.
Works well with OHLC4 and HLCC4.
The Weekend Line: line from end of Friday to end of Sunday v5This script draws a line from the start of the weekend at the end of Friday and projects the line to the end of Sunday to view the opening levels for weekend trading. Particularly useful in markets that trade over the weekend such as Forex and Cryptocurrencies. For accurate use, the time frame should be set to 1h or lower.
McDonald's Pattern [LuxAlgo]Tradingview asked, we delivered. This script fits a cubic Bezier curve using tops/bottoms in order to approximate a McDonalds pattern, a popular meme pattern in the crypto trading community.
Traditionally the McDonalds pattern is described by an M pattern with deep retracement (> 50%), forming a McDonalds logo.
Please note that this indicator is a meme & should not be taken seriously. Some aspects of this indicator are not real-time and meant for descriptive analysis alongside other components of this script, in this case, for entertainment purposes. We suggest looking through our other open-source scripts if you’re looking for more serious tools.
🔶 USAGE
The script fits Bezier curves using specific tops/bottoms as control points. When the distance between tops and bottoms values is relatively small, the user can more easily identify the pattern.
A score is shown on the top right of the chart, aiming to return how close the returned pattern is to the original logo.
A regular Mcdonalds pattern would return a red background, while an inverted pattern would return a green one.
🔶 SETTINGS
Length: Sensitivity of tops/bottoms detection. The method does not make use of pivot points, using rolling maximums/minimums instead.
Use First Bar As Vertex: Use the price and bar index of the last bar as vertex.
StableCoin MC vs Total MC by Crypto5Max In this indicator you will find the sum of all stable coins (market cap) divided by the total crypto market cap.
I believe there's a positive correlation between stable coins issuance and BTC's(and other coins) price appreciation. Or shortly put, to me the rising levels of stable coins represent increased levels of buying power (and adoption) waiting on the sidelines.
Here, I am taking the total market cap of all stable coins and dividing it by the total crypto market cap to get a ratio. Note, only ~85% of all stable coins are calculated (rest are not on TV), however, it should still be a fairly good representation. Some of the stable coins are already locked in smart contracts for yield farming and what not. I'd also say, there's interesting 2-year long channel that's developing currently. That said, take this indicator with a grain of salt as we still have a limited set of data.
Yours truly
ETH vs BTC 200W SMA OverextensionHistorically, when BTC suffers a correction and ETH continues to rally, this hints at an impending market-wide correction. In Jan 2018, ETH rallies while BTC corrects, signalling the end of the bull cycle. In May 2021, ETH rallies while BTC ranges between $50-$60k, then a major correction occurs. This indicator attempts to monitor this phenomenon in order to help spot potential macro tops in the cryptocurrency market.
The indicator takes the price of the asset and divides it by the 200 week SMA value. This gives an over/undervaluation in percentage terms. When ETH becomes significantly more overvalued relative to BTC, the indicator will warn of a potential top forming (see red shaded areas).
This is for edutainment purposes only. Don't make financial decisions based on this indicator.
KAMIKAMI EMA RIBBONGood evening plebians, This IS Cryptofilio, Your dark knight in the Crypto lightness.... Introducing yet another nebulous indicator... It's the KAMI, KAMI (GODS in Japanese) EMA ribbon.....
This indicator uses 3 primary lengths of EMA labeled as Short, Medium, and Long. They change colors in relation to each other and in relation to the current price of the security.
This indicator is more sophisticated than a simple MA cross strategy as you can use a wider variety of signals for entering earlier and exiting earlier, thus getting into a trade early in the run-up and getting out before the run-down. The EMA is identifiable by the color, lighter green and red representing lower lookbacks. When the OHLC4 crosses the ema it changes color. Thus if all colors are red, then the security is trading below all EMA's - a strong sell or short signal.
GREEN inside of RED indicates an uptrend within a larger downtrend... and of course, the inverse is also true.
The triangles which indicate a cross, are color-coded according to their significance by transparency - the less transparent the more important or significant the cross.
In addition, there are bull and bear bounce indicators (the arrows) that predict a bounce up or down from the security meeting a point along the EMA line and reacting.
VARIATIONS: To use this for scalping I suggest 5,8,13
Price Clouds Oscillator (PCO)This is the oscillator version of Price Clouds (PS). Use this with (PS) for best results.
This indicator shows you over bought and over sold regions similarly to to rsi or stochastic. This indicator centers a moving average around the hl2 of the price. This is calculated as the difference of four moving averages. The signal line shows you how much momentum in any given direction you have. You can also see how much volatility there is by the band width. Just like the Bollinger band high volatility comes before low volatility and visa versa. You can also see what the market is doing based on the signal crosses. If the fast line is above the slow line you are going up and visa versa. This indicator works in most markets, especially crypto. There is a tool tip for every aspect of this indicator explaining how everything works.
Key Feature:
>See where the price is relative to a mean price
>Measure volatility
>Clean global settings
>Normalization feature lets you scale the band from 0 to 1. You loose some information but its easier to use if you aren't measuring volatility.
I hope you are very profitable with this one!
If you find this indicator is useful to you, Star it, Follow, Donate, Like and Share.
Your support is a highly motivation for me.
PCO
----------------------/\-----
-------------/\----/----\---
\----------/----\/--------\-
--\------/------------------
----\_/---------------------
Fibonacci Muti-MA RibbonWelcome some, welcome small.... This is CryptoFilio, your dark knight in the crypto light - shining down my infinite wisdom upon this wasteland we call the "markets". It's me and you against the machine... so rage, rage, rage against the dying of the night!
DESCRIPTION
This indicator exemplifies the beauty of the sacred Fibonacci sequence.... used by flowers and seashells and the intrepid day trader. Each color in the ribbon represents an MA of a specific FIB lookback period. This naturally makes the ribbon front weighted, giving recent price action greater importance than older price action. The undulating curls of the ribbon allow a trader to see key convergences and divergences. The ribbon often narrows before a major price movement.
The background is lightly colored to indicate when one average of MA's crosses the other average (1+2+3+4+5) crosses (6+7+8+9+10). Like a standard MA cross, but a little more sophisticated.
The most visually pleasing is SMMA-RMA, but the more effective in anticipating the market is EMA and HMA.
USAGE
Visualizing convergence and divergence as the ribbon widens with sudden price movement and narrows during consolidation
Visualizing general trends as the flipping over of the ribbon represents a general trend change
Setting possible entry and exit points through the width and direction of the ribbon
VARIATIONS
You can select many types of MA's, such as SMA,EMA,HMA,VWMA... and a couple of others. The most effective seem to be EMA,HMA, and VWMA
SUGGESTIONS
Let me know if you'd like some other features added to this indicator, such as additional MA's or something else. I can also customize it for a specific application.
Volatility Percentile🎲 Volatility is an important measure to be included in trading plan and strategy. Strategies have varied outcome based on volatility of the instruments in hand.
For example,
🚩 Trend following strategies work better on low volatility instruments and reversal patterns work better in high volatility instruments. It is also important for us to understand the median volatility of an instrument before applying particular strategy strategy on them.
🚩 Different instrument will have different volatility range. For instance crypto currencies have higher volatility whereas major currency pairs have lower volatility with respect to their price. It is also important for us to understand if the current volatility of the instrument is relatively higher or lower based on the historical values.
This indicator is created to study and understand more about volatility of the instruments.
⬜ Process
▶ Volatility metric used here is ATR as percentage of price. Other things such as bollinger bandwidth etc can also be used with few changes.
▶ We use array based counters to count ATR values in different range. For example, if we are measuring ATR range based on precision 2, we will use array containing 10000 values all initially set to 0 which act as 10000 buckets to hold counters of different range. But, based on the ATR percentage range, they will be incremented. Let's say, if atr percent is 2, then 200th element of the array is increased by 1.
▶ When we do this for every bar, we have array of counters which has the division on how many bars had what range of atr percent.
▶ Using this array, we can calculate how many bars had atr percent more than current value, how many had less than current value, and how many bars in history has same atr percent as current value.
▶ With these information, we can calculate the percentile of atr percentage value. We can also plot a detailed table mentioning what percentile each range map to.
⬜ Settings
▶ ATR Parameters - this include Moving average type and Length for atr calculation.
▶ Rounding type refers to rounding ATR percentage value before we put into certain bucket. For example, if ATR percentage 2.7, round or ceil will make it 3, whereas floor will make it 2 which may fall into different buckets based on the precision selected.
▶ Precision refers to how much detailed the range should be. If precision set to 0, then we get array of 100 to collect the range where each value will represent a range of 1%. Similarly precision of 1 will lead to array of 1000 with each item representing range of 0.1. Default value used is 2 which is also the max precision possible in this script. This means, we use array of 10000 to track the range and percentile of the ATR.
▶ Display Settings - Inverse when applied track percentile with respect to lowest value of ATR instead of high. By default this is set to false. Other two options allow users to enable stats table. When detailed stats are enabled, ATR Percentile as plot is hidden.
▶ Table Settings - Allows users to select set size and coloring options.
▶ Indicator Time Window - Allow users to select particular timeframe instead of all available bars to run the study. By default windows are disabled. Users can chose start and end time individually.
Indicator display components can be described as below:
Automated Bitcoin (BTC) Investment Strategy from Wunderbit Automated Bitcoin (BTC) Investment Strategy from Wunderbit Trading
This strategy is designed for the automated long-term investment in Bitcoin. The BTC investment strategy is primarily suitable for long-term investors who want to increase the percentage of their investments through timely trading long-term transactions. The main feature is the difference from the indicator of long-term investment. Based on their statistics, this figure is 2 times less. That is, if we just bought Bitcoin and held it, we would receive 2 times less than if we applied the BTC Investment strategy.
This strategy uses the intersection of the triple exponential moving average and the least squares moving average. We also control the profit you will make during an uptrend by implementing a trailing stop based on the ATR indicator.
This is a spot market-only strategy and can be used primarily for long-term investors. The strategy is designed to create an automatic version of investing using a webhook.
Automation allows you to safely ignore the state of your portfolio and exclude emotions.
In order to create a cryptocurrency bot for this strategy, you need to:
1. Create alerts and link the URL to the webhook.
2. Connect the TradingView strategy with automated trading service.
Secondary Chart with OverSized CandlesHi everyone, I'm sharing a simple script I made for a friend. He was looking for a way to add another asset to his chart, and monitor relevant movements \ spot eventual correlation, especially when trading Cryptocurrencies.
We couldn't find a similar script already available so here it is - the code is commented and I hope it's clear enough :)
Notes:
- The parameter scale = scale.left keeps the scales separated and therefore the chart is more organized, otherwise the chart would appear flat if the price difference is too big (e.g. BTC vs XRP)
- It is possible to have the script running in a separate panel (instead of overlay) by moving it to a new pane (when added to the chart) or by removing the parameter overlay = true at the beginning of the code.
- In case you wish to add indicators to this sub-chart (e.g. Bollinger Bands, EMA, etc..) you can do that by adding the relevant code and feed it with the variables OPEN \ HIGH \ LOW \ CLOSE as well as using the same method to retrieve new variables from the target asset with the request.security function.
Hope this comes handy.
Val - Protervus
Market PulseBINANCE:BTCUSDT
This is the "Market Pulse" indicator from TOS Indicators.
The scope of this indicator is to identify which one of the four market stages we're in
█ WHAT ARE THE 4 STAGES?
ACCELERATION (or uptrend)
DECELERATION (or downtrend)
ACCUMULATION (occurs after the market has presumably found a bottom and buyers are coming in)
DISTRIBUTION (occurs after the market has presumably found a top and sellers are coming in)
█ WHAT ARE THE TOOLS THAT IT USES TO IDENTIFY THEM?
3 VWMA (Volume Weighted Moving Average)
1 VMA (Variable Moving Average)
VWMA = is a moving average which takes volume into account, and gives closes with higher volume an higher weight
vwma(src, len) => ta.sma(src * volume, len) / ta.sma(volume, len)
VMA = is a moving average which automatically adjusts the smoothing constant using Market Volatility
vma(src, len) =>
vi = ta.cmo(src, len) / 100
alpha = 2 / (len + 1) * math.abs(vi)
vma = 0.0
vma := alpha * src + nz(vma ) * (1 - alpha)
█ HOW CAN I INTERPRET THE INDICATOR?
1) On the top right you can see a box which tells you the Market Stage of the chart you are currently using:
If VWMA8 > VWMA21 > VWMA34 it signals ACCELERATION, color coded in green
If VWMA8 < VWMA21 < VWMA34 it signals DECELERATION, color coded in red
If neither of the previous two conditions are met it signals ACCUMULATION (yellow) if price closes above the VMA and DISTRIBUTION (orange) if price closes below the VMA
2) Next you have the actual VMA which is the line plotted on the chart and color coded in green, red or gray accordingly to the Market Stage with a filter applied:
for a bullish signal (green label) the market needs to be in ACCELERATION and price must be above the VMA
for a bearish signal (red label) the market needs to be in DECELERATION and price must be below the VMA
This characteristic makes it sometimes slower at giving direction indications, but also makes it more suitable to be considered as actual signals for buying and selling
ACCUMULATION and DISTRIBUTION are both rapresented with color gray, if you want you can consider:
the line going from green to gray as ACCUMULATION, your bias is bullish until the line turns red
the line going from red to gray as DISTRIBUTION, your bias is bearish until the line turns green
3) Then you can choose to plot the 3 VWMA to indentify pullbacks and entries for your trades
4) Finally you have the Market Screener, which you can choose to plot and gives a fast look to the markets you are interested on
It basically gives you the Market Stage for every Symbol you choose using the timeframes you input
The maximum number of Symbols you can set is 20, and for all of them you have 2 different timeframes you can choose to analyse.
By default the Symbols are set to the top 20 Cryptocurrency by Market Cap, and the timeframes to 4h and D
There is an option which is on by default and color codes ACCUMULATION and DISTRIBUTION the same as the box on the top right, you can turn it off to make them gray
As I've written in the tooltip inside the indicator you should only use the screener to analyse timeframes which are equal or higher than the one you are currently on your chart.
If you don't plan to use the screener you can delete every symbol from the input boxes to make the indicator update faster when changing timeframe or market.
Be aware that the screener is on BETA and may give repainting signals!
EMA MTF PlusI like trading the 1 minute and 3 minutes time-frames. I'm what is commonly called a "scalper". Long term investments yes, I have some, but for trading, I don't have neither the time,
nor the patience to wait hours or days for my trade to be complete.
This doesn't mean I discount the higher time-frames, no, I actually rely heavily on them. I found that EMAs do a decent job as support/resistance, sometimes to a tick level of precision. And this is important for a 1 minute trader.
As such, I made this script that tracks the higher time-frames EMAs and displays the last value as a line.
I do not need the whole EMA, I'm not interested in crossovers or crossunders, these are anyway late signals for me.
What's with the triangles? These are local tops/bottoms , candles that have a have decent size of the wick. These tops and bottoms are by no means "final", they are merely a rejection at certain levels of price. Due to markets complexities (and human erratic behaviors hehe) these levels could be breached at the very next candle. For a more "final" version (nothing is really final but..) I added Schaff Trend Cycle as filter, so a triangle will pop only when a trend is mature enough ( STC with a value near 0 or near 100).
Colored bars. When the body of the candle is big, it shows strength. Strong bars tend to have follow through, especially when breaking key levels. The script looks at the body of the candle and compares it with ATR (Average True Range), if it's at least 0.8 of ATR it changes the bar color to yellow (bull candles) or fuchsia(bear candles).
Range identifier. This code is copied from Lazy Bear (if there are any issues please let me know), it's very useful in conjunction with colored bars.
I look for breakout candles that go outside of the range as a signal for a trade.
There are many ways in which this script can be useful, like trading mean reversions or momentum trades (breakouts) or simply trend following trades.
I hope you guys find it useful, you can play with default values and change them as you like, these are what I found to be working best for me and my trading universe (mostly crypto).
Special thanks for the original work of:
LazyBear
everget
Jim8080
Mazuuma Churn IndicatorThis indicator was specifically made to confirm a periode of sideways movement (churn) on Bitcoin. It can probably be used for other cryptocurrencies as well. I use it on the daily timeframe.
Yellow means "Unconfirmed".
Orange means "Partially Confirmed".
Red means "Confirmed"
The indicator is not perfect, so use your common sense.
Churn starts when at least 2 of the conditions below are met (use also your common sense):
1. ATR < MA 20 on ATR
2. Distance to EMA 200 must be ≤ 16% at “Open churn”
3. EMA 12 on RSI between 40 and 60
4. ADX < 25
The above are weighted. Meaning no 1 has most significance. The numbers can be tweaked.
Reversal coming
* The indicators above break out, especially the ATR
* Color shift of the Heikin Ashi candle on weekly timeframe
* Engulfing candle on weekly timeframe
Because of the offset of the EMA 200, the precision of the Churn predictor can be off after a VERY big spike up or down, e.g. dec 2017. After such a spike use your common sense.
Personally I use this for bot trading, i.e. turn off trend following bots when in sideways market and use grid bots or other means of trading instead.
F&G_IndexIntroduction.
This indicator shows the behavior of Fear and Greed Index (F&G_Index) for the cryptocurrency market in an intuitive way for traders. This indicator has been modified from a script developed by @cptpat called "Fear and Greed Index FGI (Daily Update) alternative.me" (Tradingview user). The Fear and Greed Index values are taken directly from alternative.me.
The novelty of this proposal is to indicate the extreme levels (lower/upper) of the Fear and Greed Index according to a statistical analysis of the historical data. Also its daily update. It is not recommended to use in isolation. The appropriate way is in consensus with other indicators.
The extreme values.
Two upper and lower limits are established that correspond to the first standard deviation (1·SD) and 1.5 standard deviation (1.5·SD), respectively. These limits will help to know different important levels of greed or fear in the market based on real and historical data. The values obtained for each case are shown below, which will mark the extremes. These values may be modified in the future. If so, they will be updated and the community will be informed.
1·SD higher = 69 (F&G_Index).
1·SD lower = 24 (F&G_Index).
1.5·SD higher = 81 (F&G_Index).
1.5·SD lower = 12 (F&G_Index).
These limits are statistically significant and representative of extreme values of the Fear and Greed Index. Above all, for the case of 1.5·SD higher/lower, whose occurrence of the cases are significantly lower. These data are obtained for a daily record from August 2017 to December 2021, for a total of 1407 data. The occurrence of the Fear and Greed Index value exceeding the indicated levels is shown below.
F&G_Index > 1·SD higher (Greed). Occurrence <22,5%
F&G_Index < 1·SD lower (Fear). Occurrence <19%
1·SD lower < F&G_Index < 1·SD higher (Neutral). Occurrence ≈59%
F&G_Index > 1.5·SD higher (Extreme Greed). Occurrence <8%
F&G_Index < 1.5·SD lower (Extreme Fear). Occurrence <3%
How to use the indicator.
Its use is very simple and intuitive and is based on the levels indicated above. The blue line shows the historical value of F&G_Index. When the value of F&G_Index exceeds the levels indicated above, a vertical band of color will be tinted (brown/red, green/lime green or gray with transparency) as indicated below. This allows you to locate important areas in a very visual way.
F&G_Index > 1·SD higher (Greed). Brown color
F&G_Index < 1·SD lower (Fear). Green color.
1·SD lower < F&G_Index < 1·SD higher (Neutral). Gray color with transparency.
F&G_Index > 1.5·SD higher (Extreme Greed). Red color.
F&G_Index < 1.5·SD lower (Extreme Fear). Lime green color.
Image of the indicator.
X-Mas TreeLet's play a game!! Find your Christmas Tree and post it in the comments.
How to use the script?
Open any instrument which best describes the Christmas Tree (Preferably on hourly timeframe).
Apply X-Mas Tree script on the chart.
Enjoy the snowfall, changes in lightings and other animations. Animations only happen if the instrument is in trading session. So, stocks and indexes do not work on weekends and holidays. Use crypto as they are traded 24X7.
Unfortunately cannot post moving charts. But, snapshot of chart will do :)
Well, Please don't ask these questions for this script (Also thanks to @Bjorgum for contributing to this section) 😃
Can you please add alerts?
Does it repaint?
Can we use this for crypto/stock/forex bla bla?
Can you convert this to strategy?
How can I access this indicator?
Can you please give access or how much does it cost?
Can you make it available for MTF?
Indicator is broken. Getting so and so error message etc.
Wish you all MERRY X-MAS and HAPPY NEW YEAR!!
Market bars sentimentBonjour,
j'ai écrit cette indicateur des sentiments de pour avoir une rapide aperçu de marche
Voici le code couleurs:
-barres de couleur rouge signalons la vent panique( pour certain opportunité)
-barres de couleur vert fonce signalons la positivité, début de dominance des acheteurs au la stabilisation des cours âpres les achats euphorique
-barres de couleur lime signalons éphorie des acheteurs sur le marche.
L’indicateur est adopter pour étudier le marche de cryptomonnaie,Indice boursier au actions en particulier.
Correlation StrategyThis is a basic strategy that shows how to trigger short/long/close signals on chart's symbol based on calculations made on another symbol which we consider correlated to it.
With default parameters, ETH/USDT as base symbol, the strategy shows good results in backtest for several symbols : DENT/USDT, BTT/USDT, FTT/USDT, DOT/USDT etc.
This is not surprising giving the importance of ETH in the crypto market so it makes sense many crypto currencies will follow ETH big movements.
Note : the strategy with default parameters is supposed to be applied on 4h timeframe. On other timeframes, try another support length.
How the strategy works :
A wma is calculated on the base symbol, with 200 length by default.
When wma is rising, we go long. When wma is falling we go short.
Take profit for Long/Short and Stop Loss for Long/Short are calculated percentages so 0.05 = 5% etc.
Also, Take profit / Stop loss are calculated on the base symbol not the chart's symbol.
The script uses the Monthly Returns table slightly modified to include buy & hold returns. Credits to @QuantNomad