OPEN-SOURCE SCRIPT

Weight of Evidence BF

**For Stocks (requires volume data) **
The premise of this indicator is that the wisdom of many is greater than one. The idea is you can throw out most of your indicators and simply adopt the Weight of the Evidence instead.

Eight indicators and five periods combine to give forty separate readings on a stock. These are all checked against a threshold to give a pass or fail score. The total is taken and a score is given out of 100 in increments of 2.5.

Four indicators are momentum-based: EMA, RSI, PercentRank, Lower Donchian Channel
Three are price-volume based:On Balance Volume, Price Volume Trend, Accumulation/Distribution
One is volatility-based: (Simplified) Volatility Stop

I have tried to make things simple with the entered periods being applied to all indicators. For some like on balance volume its actually a look back period for comparison of values. For the volatility stop I use the 3rd period for lookback and combine with 1 to 5 times ATR.

As this is a stepped function which can react rapidly it makes sense to smooth it with something like a 3-bar EMA, which is included by default.

Play around with the periods and different bar lengths to find something you like. I actually chose the default values with daily bars in mind but it seems to work well on weeklies! If you have other preferred indicators you could edit this script and substitute your own, although it is easiest to stick with the built-in functions as I have done.

Let me know how you get on with this and good trading to all!
Stocks

نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الرمز في المنشور يخضع لقواعد‎‎قوانين الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟


يعمل أيضًا:

إخلاء المسؤولية