TradingView
LudoGH68
13 de Mar de 2023 21:43

Previous Levels With Custom TimeZone 

EUR/USDOANDA

Descrição

The Previous Levels With Custom TimeZone indicator shows to users specifics price area which can be liquidity to take.

Users can determine the desired time zone to retrieve the correct daily, weekly and monthly values.

Several price area are shown with with indicator which are :
  • Daily Open Price
  • Daily Low Price
  • Daily High Price
  • Previous Daily Low Price
  • Previous Daily High Price
  • Previous Weekly Low Price
  • Previous Weekly High Price
  • Previous Monthly Low Price
  • Previous Monthly High Price


All price area are configurable to let user have specific color or line style for each area.

Here's some example :


Daily Open / High / Low


Previous Daily High / Low


Previous Weekly High / Low


Previous Monthly High / Low
Comentários
ernestoraez910105
Great Thank you very much!!!
I've been looking for a script like this one you posted for a while. Could you add the opening prices for the current month and week? If you have one like this or can add it to this great one, I would appreciate it.
simlkc
Hi I m station in Singapore , which time zone would I set .. ? GMT +8?
I love this indicator
LudoGH68
Hi @simlkc and thanks for your comment.
For Singapore you must set your chart's Time zone and the indicators Time zone to GMT+8.
simlkc
@LudoGH68, thank u
SolarC4
Loving the indicator just what I was after. I trade NQ and was wondering why the PWLs is plotted incorrectly. The indicator seems to be only reading two trading days instead of 5. Is there any chance this can be amended?
LudoGH68
Hi @SolarC4 and thanks for you comment.

Can you give me the ticker of NQ and broker that you trade ?

You can also DM me and send me a picture of the bug. I will check and fix that as soon as possible.
SolarC4
@LudoGH68, Many thanks for reaching back. The ticker is "NQ1!" CME futures chart. I will DM you a picture of the bug now.
LudoGH68
@SolarC4 you're welcome.
As described in the DM, the issue arises from the fact that the TimeZone parameter was not consistent with the time zone of your chart. They have to be similar. to have correct values.
I write the solution here in case other users encounter the same issue
superradu
Dope work man! I've tried to make it to plot last X days of PDHL but i'm not so advanced in pinescript, did you think you can make this improovement in the future ?
🤙
LudoGH68
Hi @superradu, and thank you for your comment!

By definition, the Previous Day High (PDH) is the highest value of the previous day. I understand what you are trying to achieve, but by doing something like this, you might end up with a lot of elements displayed on your chart, or you'll need a lot of user parameters to show or hide the lines.

Therefore, I won't make this change
Mais