PROTECTED SOURCE SCRIPT
Updated

Sentiment analysis combined with multiple MA types for CRYPTO

4 552
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!
Release Notes
better histo calculation

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.