OPEN-SOURCE SCRIPT
Mis à jour

OHLC Lines + 50% of the previous candle

27 207
This indicator automatically put a straight line on the High, Low, Close, and Open and calculates the Consequent Encroachment or the midline (50%) of the previous candle. The calculation for the midline can be based on either the High and Low or the Open and Close. The option to disable OHLC labels is available. The indicator displays the premium and discount areas of the previous candle, allowing for a strategy of buying on discount and selling on premium based on each candle stick.
Notes de version
Update: The indicator was showing two OHLCs lines in Lower time frames like 1, 2, 3, 4, and 5 minutes. Now it is fixed.
Now you can have the OHLC on a chosen time frame.
Notes de version
The Open-label was aligned on top of the exact opening price.
Notes de version
A small bug was fixed: It was preventing only one OHLC to be shown in lower time frames.
Notes de version
Bugs fixes
Notes de version
Resolved the overlapping problem
Now when a specific time frame is chosen it can be seen in all time frames. Example: 1 for M1, 60 for H1, 240 for H4, D for Day, etc...
Notes de version
Name changed to better adapt it to my PO4 strategy.
Notes de version
Minor bugs fix
Notes de version
- Fixed a bug that was plotting lines in more than one previous candle.
- It works completely fine in lower time frames now.
Notes de version
Mostly reserved for my students, I am sharing the premium version of indicator to the general public.
- Cleaner lines
- Name change
- Several bug fix
- Fast and efficient
- Time frame table added
Notes de version
- Fix OHLC to be at previous candle instead of the current candle.
Notes de version
- Bugs fixes
- Current time frame selection added
Notes de version
- Cleaner and better UI
- Bugs fixes
- Lines precision when selected time frame is chose.
Notes de version
- Option to see multiple previous candles OHLC (Up to 10)

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.