TradingView
nephew_sam_
11 lip 2022 22:26

Open Lines (Nephew_Sam_) 

Euro Fx/U.S. DollarFXCM

Opis

Plots open lines and custom label based on a time provided

Can plot upto 3 lines with labels

Settings includes:
1. Show Line - Hour - Minute - Label Text - Line and Label Color
2. Max lines, Width, Size

Informacje o Wersji

Custom extend hours
Komentarze
Mi11tch
Hey man, awesome indi - im trying to get it to plot ny mn open but it draws the line at 00.15 opne price? any ideas - i cant seem to get it to go 11.59
nephew_sam_
@Mi11tch, What if you go down to m15 timeframe or lower, does that work? If yes then I might have to find some time to fix it on higher timeframes.

Right now it only support the timeframes which is a multiplier of the minutes. So if minute is 30 then it will only work on timeframes lower than 30 (or charts that have the 30 min open).
In your case, the hourly chart or higher will does not show the 15 min open so it wont work, for now.
Mi11tch
@nephew_sam_, i get you with the multiplier. just changed it up and it works perfect now at 0hr 0 mins. thanks matey
Mi11tch
@nephew_sam_, any ideas on your OHLC previous day indie. Ill drop you a comment on that indie
filipkoszuta
@nephew_sam_ Great work man! Thank you! Do you have an indicator for closing price aswell? Best regards
Limber_Long_Bags
Thank you for open-sourcing this!



One question: Under var grp2, have you any suggestions for creating an extendHours function specific to each of the three sessShow inputs? It would be great, for instance, to have each horizontal sessShow line end at the same hour of the day, or, end at a session-specific hour of ones choosing.


That said, I managed to successfully add a sess4Show and sess5Show. So, half the battle is won. Any tips would be greatly appreciated.

Thanks again
thezentrader99
Can you please add more line options? Currently only 3 are available , thanks again for the free indicator. Appreciate it!!!
nomagicfin
Hi Nephew Sam, thanks for the indicator.

Would it be possible to modify the indicator so that:
1/ I can display: 0830 / Midnight / 0930. For whatever reason it does not work on 1H timeframe.
2/ I can specify the date I want to draw the lines for: draw all the lines from date 1 to date 2. You can currently do it but may be easier with dates.
3/ Finally, draw only the lines between a specific range. For example from 3500 to 4000 for the SP (for one session, I may not need all the lines).

Thanks in advance for your help.
thezentrader99
Thanks for the free indicator.
Whenever you get time can you please add a couple more options . Currently 3 open prices can be added, if possible please add more. Thanks again!
atifhussain
Please allow us to hide previous open lines and just display today's open prices on the chart. Thanks
Więcej