OPEN-SOURCE SCRIPT

Smoke And Mirrors

Smoke And Mirrors is an indicator combining few simple but often used indicators to a delightfully visual presentation. Smoke And Mirrors features a generic SMA from where it derives BBands and a Standard Deviation band, and in it's default configuration offers a small timescale Average True Range and also matches the generic SMA against VWAP in an oscillatory fashion. And that's not all! It also has very unique voodoo on top of it all, charting the distance between open and close and the distance between high and low based on the average of open, close, high and low. It's pretty intuitive and while the settings have numerous variables to tweak, they're mostly related to how the colors are displayed so you can set it up to match your current charts colors. The default settings are meant for charts with a normal change of around 1 unit, so if you're charting something that's in it's tens of thousands and varies daily by a 1000 or more, you might want to tone the "rate-of-change" numbers down to all the way to 1. Other than that, it's recommended that you play around with the numbers a little bit so that you know which band represents which indicator.

Don't hesitate to use any or all parts of the indicator in your own scripts! There's a handy hsva function that yields rgb color with transparency based on hue(0-360), saturation (0-1), value (0-1) and alpha (0-1) and plenty of examples on how to utilize it.
Moving AveragesOscillatorsVolume

开源脚本

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

想在图表上使用此脚本?

免责声明