It's All MidsIt's All Mids extends mid-lines of a candle forward until the price revisits (covers) the midpoint. A higher timeframe can be used for the mid candles than the chart (but not the reverse). There is no data to support this is a meaningful concept.
While this script is intended to be functional, correct and useful it is important that you understand that not only is this the first script I've written but also that "I am an idiot."(tm) Using a stranger's indicator is questionable, but using a self-proclaimed idiot's indicator to trade real money is unquestionably stupid. Don't be like me. Be smart. You are responsible for what you do with this script. The source is unlocked, so feel free to copy and modify it.
Terms:
- A "mid" is the (high+low)/2 price of a previous candle that has not been auctioned since the candle close. All candles will initially have a mid unless they close on exactly their midpoint.
- A "covered" mid is a mid for which the midpoint has been auctioned since the candle closed. There is an option to display a number of these so that when a mid is hit the line doesn't just disappear from the chart and you forget what you were doing.
- A "low priority" mid is the mid of a candle which was auctioned in the previous candle(s) (chart's timeframe, not the mid's timeframe)-- chopchopchop. I have no data to show that this matters, or really, that anything matters at all.
My use: I chart a 60m mid on ES on a 5 or 15 minute chart. I am lying. I use it for something else but if I tell you that then I give away my incredible alpha that has made me so rich I can spend my time crying in corner about all the money I've lost.
HL2
Hi/Lo Swing Index [by hajixde]Author: Hajixde
This indicator illustrates the High-to-Low variation. It works nicely on shorter time frames.
The index value is calculated based on the observation length (Memory Length). By changing this input, you can have a wider or shorter observation range.
MA Length is the moving average filter length, which smooths out the signal.
There is an additional smoothing function to make the output even smoother (Smoothing Length). Remember, that "Smoothing Length" is better to be less than "MA Length".
You may activate the trend direction.
Relative Price OscillatorHere 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.
3. Divide the difference of the two EMA's by the closing price. ((EMA1 - EMA2) / Close).
4. Smooth the value from step #3 with an 18 period EMA. Multiply by 1000 for better scaling/visibility.
Using:
Bullish when line is green, bearish when line is red. Buy on first green, then sell on first red.
There is also an option to color the candles based on the RPO line.
B3 HL2 Method Candle PainterThis script is similar to the "Hi-Lo" or "Clear" methods of painting bars. Instead of using the tips/edges of the candles like those two, the "(H+L)/2" method uses the change in (high+low)/2 to paint the bars. This gives you some similar results if you were to be binary with the candle coloring. However, my coloring scheme is not entirely binary. There are 5 possible colors:
HL2>LastHigh = Bright Green
HL2LastHL2 = Dull Green
HL2<LastHL2 = Dull Red
Bar Change (close - open) is going against the indicator = Gray
Free to share and enjoy!
~B3