freedom_trader_

52 Week High/Low to Yesterday

This script adds the 52 weeks (one year) high/low to the chart but it wouldn't update the value on the current trading day, so that it would remain at the same level for the whole trading day. It can come really handy for day trading the day of the 52 weeks high/low breakout/breakdown.
Rimuovi dagli script preferiti Aggiungi agli script preferiti
Hello Roberto,
Another WT trader here!

It is crazy that you cannot pick a single value from a series and typecast it as an integer and then just plot a flat line in Pine. You have to implement this really hacked and terrible solution of combining trackprice=true and a maximum offset. I do not get why they don't just let you typecast. ><

Anyway, thank you for the inspiration. Your code has been helpful in giving me ideas for my own scripts!
Rispondi
freedom_trader_ awkislingharris
@awkislingharris, thanks, glad to hear so!
Rispondi
Roberto your production since you are in tradingview.com is impressive.
Finally i see tools that are used and coded by a real successful trader as i know well you are, and not coded by noobs that just like to put on paper some lines of code just to confuse people with unusefull stuff.
So once again you coded a useful script for the Daily Chart.
See you in wt chat.
Cheers from your silent trader buddy!
Namaste!
Rispondi
Pier1972 Pier1972
BTW, put your scientist great brain on the TW scanners.
Can be a good tool, but there's a lack of flexibility cannot make it work as i want.
Still on old methods for scanning
Rispondi
@Pier1972, Thanks so much for your support. It really means the world to me! Actually, I'd suggest you using this one indicator (52 Week High/Low to Yesterday) to your intraday charts too to help you making the right decisions in future day trades! I'll take a look at the TV scanners in the next future since I'm interested to know if they would be useful to serve my trading needs and I'll be happy to share my findings back to you. Have a great Sunday!
+1 Rispondi
Heroturk freedom_trader_
@freedom_trader_, Can you add quarterly h/l ?
Rispondi
@Heroturk, thanks for your request. I'm not interested to doing it into this script but you could easily modify the code replacing the "252" (full year) here "daily_hh = security(tickerid,"D", highest(high,252), lookahead=barmerge.lookahead_on)" with "63" (quarter), so to obtain "daily_hh = security(tickerid,"D", highest(high,63), lookahead=barmerge.lookahead_on)".
+1 Rispondi
Heroturk freedom_trader_
Rispondi
Home Screener azioni Screener forex Screener cripto Calendario economico Come funziona Caratteristiche Grafico Costi Regolamento Moderatori Soluzioni per broker & siti web Widget Librerie grafiche Chiedi aiuto Suggerisci funzionalità Blog & Novità FAQ Wiki Twitter
Profilo Impostazioni profilo Account e fatturazione Chiedi aiuto Idee pubblicate Follower Seguiti Messaggi Privati Chat Esci