The "Output7" indicator is designed to guide traders in identifying potential buy and sell signals. This is achieved through the calculation of a custom indicator named `output7` and its derived moving averages. `output7` is defined as `c_1 - c_20 * (ohlcSq / hlSq)`. Here, `ohlcSq` stands for the square of the average of open, high, low, and close prices, while...
This script is meant to calculate the Escape Velocity from the mean. According to Investopedia "Mean reversion is theory used in finance that suggests that asset prices and historical returns eventually return back to the long-run mean or average level of the entire data set." Escape Velocity is the lowest velocity which a body must have in order to escape the...
This indicator is meant to show the Velocity (1st order derivative), Acceleration (2nd order derivative), Jerk (3rd order derivative), Snap (4th order derivative), Crackle (5th order derivative), & Pop (6th order derivative) of price. The values at the top of the indicator window are in this order from left to right. I don't particularly know how this would be...
Here is a light piece of code, The Indicator Integrator. It sums up a function (like an integral for you calculus folks). Unlike the 'cum' function that does a million bars of look back you can change the look back period, like limits of integration. Built in is a difference of the close from an SMA. And there is an ROC. By changing what is summed up in the loop...