eykpunter

True Balance of power

eykpunter Mis à jour   
This is an improvement of the script published by LazyBear, The improvements are:
1. it includes gaps because it uses true range in stead of the current bar,
2. it has been turned into a percent oscillator as the basic algorithm belongs in the family of stochastic oscillators.
Unlike the usual stochatics I refrained from over the top averaging and smoothing, nor did I attempt a signal line. There’s no need to make a mock MACD.
The indicator should be interpreted as a stochastics, the difference between Stochs and MACD is that stochs report inclinations, i.e. in which direction the market is edging, while MACD reports movements, in which direction the market is moving. Stochs are an early indicator, MACD is lagging. The emoline is a 30 period linear regression, I use linear regressions because these have no lagging, react immidiately to changes, I use a 30 period version because that is not so nervous. You might say that an MA gives an average while a linear regression gives an ‘over all’ of the periods.
The back ground color is red when the emoline is below zero, that is where the market ‘looks down’, white where the market ‘looks up’. This doesn’t mean that the market will actually go down or up, it may allways change its mind.
Have fun and take care, Eykpunter.
Notes de version:
I fixed the fault that changing the periods in the inputs had no effect. Now it has.
Notes de version:
Added comments in the script and changed the names of some variables in more suggestive mnemonics.
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?