OPEN-SOURCE SCRIPT

Crypto momentum strategy

Actualizado
This strategy is based on LazyBear's Squeeze Momentum indicator. It analyzes when the trend in the momentum is shifting, locating the peaks and the valleys, and takes those as sell and buy signals respectively. This is a long strategy, so it also takes into consideration the 50 period Exponential Moving Average to identify upward trends. If the closing price of the candle is above the 50EMA, and the slope of the 50EMA is trending upwards, then the buy signal is executed. If these conditions are not met, the buy signal is ignored.

This strategy works well with crypto trading on the day/week charts.

It has a profit ratio of 4:1 on average, and roughly half of the trades are profitable.
Notas de prensa
Change the strategy parameters to be standard (100000 initial balance, with 100% of equity invested in each trade)
Notas de prensa
Added setting to consider the behavior of the crypto market to enter trades. This improves the performance on lesser known coins that are very affected by the market, but has an adverse effect on big cap coins like Bitcoin and Ethereum (that have a great influence on the market). I recommend turning it off for these big coins, and leaving it on for all the others.

It works by polling the value of CRUPTOCAP:TOTAL, and checking if it's above its 50 ema, and if the ema is trending upwards. If these conditions are not met, the entry signal is ignored.
Notas de prensa
Use the closing value of the market instead of the low
Notas de prensa
Update documentation and credits
Notas de prensa
Cleanup chart
Exponential Moving Average (EMA)lazybearslope

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad