Berlin, Europe
Legendary Market Wizard
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,104
|
I use similar indicators.
The anaPivotsDaily indicator can be used to display yesterday's close (at your choice: settlement price taken from daily data or last price traded) and yesterday's high and low (at your choice: ETH or RTH high and low). You just need to set all plots which you do not require to transparent.
The anaCurrentDayOHL displays the open, high and low of the current session (at your choice: ETH or RTH high and low).
The only thing these indicators do not do is to connect to the highs and lows as you wish. The lines are displayed for the current session, the width of the lines is selectable.
If you want an indicator that does exactly connect to the highs and lows, it would require to hold the actual bar indices of those high and low bars in separate Arraylists and then acces these values via a modification of the custom plot. This is feasible but requires advanced custom coding.
Chart with the indicator added attached. Lines are there, but the connection point is not what you look for.
|