1 hour range extension with targets ..Next day plotting help

I have following code for initial balance ( first hour range) and range extension targets . I would like to draw at price level NEXT day , IF price crosses any of the extension target today. .

Following code is giving signal in yesterday chart . How do i get a line at that price level in today's chart just like yesterday OHLC lines . Appreciate your time

y_Ext1_CROSS= Cross (C, B1xh); 

Actual Code

//////////////////////////IB   LEVELs//////////////////////////////////////////


// Initial Balance (IB)  lines per Market Profile Concept
ppl = ParamToggle("IB_LEVELS","Off|On",1); 
pplxt = ParamToggle("IB _LEVELSExtn","Off|On",0); 
P11   = Param("IB  Start Time",091500, 0 , 235959, 1 ) ;  
 P12   = Param("IB   END Time",101500, 0 , 235959, 1 ) ; 
 START = (TimeNum()>= P11); 
 END   = (TimeNum()<= P12); 
 ZONE  = START AND END; 
 ST    = (TimeNum()>= P12); 
 NewTime = ZONE!= Ref(ZONE, -1); 
 highestoftheday = HighestSince(NewTime,H,1); 
 Lowestoftheday  = LowestSince(NewTime,L,1); 
 IBHigh   = ValueWhen(ZONE,highestoftheday,1); 
 IBLow    = ValueWhen(ZONE,lowestoftheday,1); 
 ORBClose  = ValueWhen(zone,C,1); 

IBrange = IBHigh - IBLow; // First Hour Range
IB1xh  = IBHigh+IBrange ; // Target 1 for range extension upside
IB2xh  = IBHigh+2*IBrange ;
IB3xh  = IBHigh+3*IBrange ;
IB1xl  = IBLow-IBrange ;
IB2xl  = IBLow-2*IBrange ; // target 1 for range extension downside
IB3xl  = IBLow-3*IBrange ;

if(ppl==1) { 
 Plot( IBHigh,"",colorYellow,styleDashed+styleNoRescale); 
 Plot(IBLow,"",colorYellow,styleDashed+styleNoRescale); 
 
 }
 
  

 
if(pplxt==1) { 
 Plot( IB1xh,"",colorYellow,styleDashed+styleNoRescale); 
 Plot( IB2xh,"",colorYellow,styleDashed+styleNoRescale); 
 Plot( IB3xh,"",colorYellow,styleLine+styleNoRescale); 
 Plot( IB1xl,"",colorYellow,styleDashed+styleNoRescale); 
 Plot( IB2xl,"",colorYellow,styleDashed+styleNoRescale); 
 Plot( IB3xl ,"",colorYellow,styleLine+styleNoRescale); 

 
 }
 
///////////////////////////  IB  Levels  END//////////////////////////////////////////

One way is to call out to the Daily timeframe to get the values you need.

PreviousDayHigh = TimeFrameGetPrice("H", inDaily, -1);
PreviousDayLow = TimeFrameGetPrice("L", inDaily, -1);

Thank you . But not sure how to call range extension level if price traded above it … Appreciate ur help