eykpunter

True Balance of power

eykpunter 已更新   
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.
版本注释:
I fixed the fault that changing the periods in the inputs had no effect. Now it has.
版本注释:
Added comments in the script and changed the names of some variables in more suggestive mnemonics.
开源脚本

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

免责声明

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

想在图表上使用此脚本?