Plots the All Time High and All Time Low, with optional labels when a new ATH/ATL is created. Reaches all the way back in history for the true high/low, not limited to the most recent 5000 candles like most scripts. Works on all time frames.
The script made for research purposes which plots these statistics of a given window: Mid-range (max + min)/2, Lower midpoint (mid-range + min)/2, and Higher midpoint (mid-range + max)/2.
This could be interesting when checking periods with sample size <= 0, or checking distros with srs kurtosis values.
Mean & median are also there.
Here is a new experimental indicator we've been working on. The idea was to compare two EMA's of period midpoints to the actual closing price. The steps that were taken are listed below:
1.Calculate an EMA based on each period's midpoint ((High * Low) /2) for the last 9 periods.
2.Calculate an EMA based on each period's midpoint for the last 100 periods.
Midpoint and VWAP are often important inflection points in daytrading. I managed to find a script providing me with a 24 hour session midline by NorthStarDayTrading and a RTH VWAP script by LDBC. So I decided to merge those two to get a RTH mid and vwap.
A moving indicator that is overlaid main chart. Identifies the start of the day, and then applies this formula:
( Current High of Day + Current Low of Day ) / 2, to get the mid point. It is a useful tool to identify buy side or sell side control, along with vwap.
The Midpoint Oscillator was created by Tushar Chande Ph.D. (Stocks & Commodities V. 9:11 (431-434)) and it does a great job of tracking extreme changes in the price. Buy when the line is green and sell when it turns red.
Let me know if you would like me to write more scripts!