OPEN-SOURCE SCRIPT

Crypto momentum strategy

تم تحديثه
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.
ملاحظات الأخبار
Change the strategy parameters to be standard (100000 initial balance, with 100% of equity invested in each trade)
ملاحظات الأخبار
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.
ملاحظات الأخبار
Use the closing value of the market instead of the low
ملاحظات الأخبار
Update documentation and credits
ملاحظات الأخبار
Cleanup chart
Exponential Moving Average (EMA)lazybearslope

نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الرمز في المنشور يخضع لقواعد‎‎قوانين الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟

إخلاء المسؤولية