Trading view aftervhours/premarket high/low indicator
£20-250 GBP
Pago na entrega
Hi,
I would like an indicator that records the high/low of an after hours/premarket session on tradingview.
I already have an example script, but it does not seem to plot the high/low.
//@version=3
study("Extended Session High/Low", overlay=true)
t = time("1440","1600-1600") // 1440=60*24 is the number of minutes in a whole day. You may use "0930-1600" as second session parameter
is_first = na(t[1]) and not na(t) or t[1] < t
ending_hour = input(defval=9, title="Ending Hour", type=integer)
ending_minute = input(defval=30, title="Ending Minute", type=integer)
LastOnly = input(title="Last only", type=bool, defval=false)
day_high = na
day_low = na
k = na
if is_first and [login to view URL] and ((hour < ending_hour or hour >= 16) or (hour == ending_hour and minute < ending_minute))
day_high := high
day_low := low
else
day_high := day_high[1]
day_low := day_low[1]
if high > day_high and ((hour < ending_hour or hour >= 16) or (hour == ending_hour and minute < ending_minute))
day_high := high
if low < day_low and ((hour < ending_hour or hour >= 16) or (hour == ending_hour and minute < ending_minute))
day_low := low
if LastOnly==true
k:=-9999
else
k:=0
plot(day_high, style=circles, trackprice=true, offset=k, color=lime, linewidth=2)
plot(day_low, style=circles, trackprice=true, offset=k, color=red, linewidth=2)
ID do Projeto: #20779313
Sobre o projeto
6 freelancers estão ofertando em média £170 nesse trabalho
hi.......................................................................................................................
My background as a Full Stack Developer, along with my education in Computer Science, have allowed me to attain a strong foundation of technical skills. In addition to my Web Development skills, I also possess a grea Mais
I am a senior software developer who has carried out many tasks related to Amibroker, Pinescript, Tradingview and Metatrader, Ninjatrader working on brokers, Crypto-Trading bot and Telegram. Some of my developments inc Mais