Trading view aftervhours/premarket high/low indicator


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.


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


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




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)

Taidot: Matematiikka, Ohjelmistokehitys

Näytä lisää: swing low indicator metatrader, mt4 swing low indicator, candle low indicator, bse script time high low, cost thousand high low, daily high low close calcolation, expert high low open close mql, formula find high low values nifty min data excel, high low day script ninja, high low javascript, mt4 high low pending order, mt4 swing high low, nse scripts years high low, oscommerce sort price low high high low, px26d high low, stock high low levels calculation formula, swing high low technical, weeks high low bse nse stocks live, vertical low indicator mt4

Tietoa työnantajasta:
( 0 arvostelua ) United Kingdom

Projektin tunnus: #20779313

8 freelanceria on tarjonnut keskimäärin 165£ tähän työhön


Hi This is Wang from China. I am an MSc majored in mathematics. (Probability and Statistics) I have deep understandings of trading algorithms. I have developed many strategies and indicators using TradingView and MT4/ Lisää

£200 GBP 3 päivässä
(36 arvostelua)

How are you? Thanks for your project suggestion. It's very worthwhile chance for me to let you know my skills and proposal about this project. I have 5+ years highly experience to deliver quality work with Mathemati Lisää

£150 GBP 3 päivässä
(9 arvostelua)

Dear Sir, I am interested in your project. I have gone through your project requirement, I already worked on similar indicator on tradingview or binance. I'm expert in java desktop and web application also in web sc Lisää

£250 GBP 7 päivässä
(2 arvostelua)


£50 GBP 3 päivässä
(1 arvostelu)

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 Lisää

£135 GBP 3 päivässä
(0 arvostelua)

Hi, I have read your job detail very carefully, and i have the confidence to complete this perfectly on time, i know what you mean and want. i majored math in university. if you have any question or uncleared problem, Lisää

£150 GBP 5 päivässä
(0 arvostelua)

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 Lisää

£135 GBP 7 päivässä
(1 arvostelu)

Hi , i worked for a broker house for their Trading view for Germany Xetra exchange , through api the high, low,close value can populate automatically , when i get the value then if can be condition applicable , so in Lisää

£250 GBP 30 päivässä
(0 arvostelua)