PROTECTED SOURCE SCRIPT
已更新

Sentiment analysis combined with multiple MA types for CRYPTO

4 814
This is a strategy made from price action combined with multiple moving averages calculations used for the candle histograms.

In this case we calculate the bear and the bull candles based on the next criteria :

Bull candle : ((CLOSE - LOW ) + (HIGH -OPEN) / 2 ) / Candle length
Bear candle: ((HIGH - CLOSE ) + (OPEN-LOW ) / 2 ) / Candle length

Once we have the candle we use moving average to smooth the process, and then we calculate the differece between the bull ma and bear ma.
The result is going to be our histogram.

Once we have the histogram we can start setting up rules for entries and exit.



If you have any question, please let me know!
版本注释
better histo calculation

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。