Market Bias (CEREBR)

Hello Everyone. I hope you are all doing great. It's been a long time since I posted my first script here, and I got a lot of response from that.

So, I thought I should share this script also to everyone, and anyone that may find it useful. Personally, I use it to tell the general market conditions.

Here's how I works : The script tries to determine the overall direction of the market, using smoothed Heiken Ashi candles. The coloring system (using bright and dark colors) is an attempt to detect strong market and weak market conditions. There's also an oscillator within the script, but for now it isn't plotted. Credits to @jackvmk, I used part of his open-script code in this indicator.\

I have considered using the slope of the indicator plot as a filter for ranging market conditions. The plot goes relatively flat in 'flat' markets. However, I have not done anything about that yet. Maybe some other time.

I hope you find this useful. If you find a way to use this, please share it with the community in the comment section.

NOTE: THIS IS BY NO MEANS FINANCIAL ADVICE. You'll have to make your studies and come up with a way to apply this indicator to your trading style and strategy.

By the way, I would be going with the name 'CEREBR' for any subsequent scripts I release from now on.

Happy Trading, guys.


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