malk1903

Previous Candle + Inside/Outside

The script uses the previous candle of the current timeframe to assess the state of the current candle.

1. Previous candle high/low and midpoint are displayed
2. Highlights current bar if INSIDE previous candle
3. Highlights current bar if POTENTIAL OUTSIDE bar. This condition uses the logic that if the previous high/low has been swept and price then reaches previous bar 50%, then an OUTSIDE bar is possible.
4. If current candle breaks previous high/low, a label is added to identify.
5. If above condition is true and current candle color is opposite of previous, then label is highlighted to show possible bull/bear condition.
6. If current candle live price is below previous midpoint, a BEAR label is shown
7. If current candle live price is above previous midpoint, a BULL label is shown

I personally use the indicator on Daily/Weekly/Monthly charts to help with my overall market assessment. However users may find their own use for the indicator...or modify it to their own preferences.

As ever, the indicator should only be used with live trading accounts after thorough backtesting using a large data range.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

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

想在图表上使用此脚本?