PROTECTED SOURCE SCRIPT
已更新

Triple EMA Cross Strategy by lvinnyl

3 824
This is a pretty simple strategy that uses three exponential moving averages (fast, normal, and slow) and enters a long position when the fast EMA is above the normal EMA and the normal EMA is above the slow EMA. The position will be closed once the inverse is true (slow is above normal and normal is above fast).

The settings allow you to choose your data source and the fast, normal and slow EMAs for your personal customization. It also includes custom back testing time frame inputs to target specific time frames in history to view its performance.

There is also a study version that supports alerts. The alerts are called "Long Condition" and "Short Condition".

Tips are welcomed...
BTC: 3B9vjMxrbdtbmZ3r3iGyq1uxxsnbkKNFzv
LTC: MU3oDbfDGeSxcAZc2VkMz31gKFDHAh5eF7
ETH: 0x6c432B24c4c62c3D2A8C55e6132FF1267A914110

Enjoy!
版本注释
This update is in response to a request to support shorting. So, instead of entering and closing a long, this version will enter a long and enter a short.

In addition, I increased the precision of the EMA values from 2 to 6 digits for the purpose of seeing their values in the data window. Lastly, I updated the default quantity value from 95% to 98%.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。