OPEN-SOURCE SCRIPT

Stock trending strategy

5 533
This is a long only strategy designed maily for stock markets and futures. In general it works best with 1h, however it can be optimized with other timeframes as well.


Components:
VWAP
MACD histogram
EMA 9


Rules for entry
Long :
For VWAP: close is above the vwap daily
EMA: close is above the moving average
MACD histogram is above 0


Short:
For VWAP: close is belowthe vwap daily
EMA: close is below the moving average
MACD histogram is below 0


Rules for exit
This strategy does not have any risk management inside. Instead it exits whenver it receives an opposite signal form the original one used for entry.

If you have any questions let me know !

免责声明

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