Simple Coding Help - No Promise.

wabuf

Well-Known Member
Can anyone help for the code that plots " closing value of the Highest high Candle in previous day "

I have this one
Code:
H1 = TimeFrameGetPrice("H", inDaily, -1);	
Plot(H1, "",colorRed,styleDashed);
It plots but from the High value of Highest high candle. what is the code for Closing value of highest high candle ? searched amibroker(HHV,LLV) but not much help.
Thanks
 
Hi Buddy,

thanks for your reply. But i need in exploration amibroker to see all highest high and lowest low values in 45 mins for all symbols ..everything is working fine in chart i can see lines showing hh and ll values of 45 mins but its not working in exploration everything is blank when i explore ...pls chk and help thanks....:mad:
 

sr114

Well-Known Member
Hi Buddy,

thanks for your reply. But i need in exploration amibroker to see all highest high and lowest low values in 45 mins for all symbols ..everything is working fine in chart i can see lines showing hh and ll values of 45 mins but its not working in exploration everything is blank when i explore ...pls chk and help thanks....
see the help file on "addcolume" for the exploration
 
OST=091500; //Observation Start Time
OET=101500; //Observation End Time

Currtime =TimeNum(); //get current time

ob_end = Cross(TimeNum(),OET); //detect the observation end time
ob_st = Cross(TimeNum(),OST); //detect the observation start time


Highest_since = HHV(ob_st,H); //capture the 1 hour high
Lowest_since = LLV(ob_st,L); //capture the 1 hour low

ORBH = ValueWhen(ob_end ,Highest_since,1); //
ORBL = ValueWhen(ob_end ,Lowest_since,1);

Filter = ORBH OR ORBL ;


AddColumn(ORBH,"1 HOUR HIGH",1.2,colorBlack,colorWhite,-1);
AddColumn(ORBL,"1 HOUR HIGH",1.2,colorBlack,colorWhite,-1);

when we explore in amibroker intraday nothing is coming in exploration windows simply blank kindly check the code and it any settings to be done pls reply
 
see the help file on "addcolume" for the exploration
OST=091500; //Observation Start Time
OET=101500; //Observation End Time

Currtime =TimeNum(); //get current time

ob_end = Cross(TimeNum(),OET); //detect the observation end time
ob_st = Cross(TimeNum(),OST); //detect the observation start time


Highest_since = HHV(ob_st,H); //capture the 1 hour high
Lowest_since = LLV(ob_st,L); //capture the 1 hour low

ORBH = ValueWhen(ob_end ,Highest_since,1); //
ORBL = ValueWhen(ob_end ,Lowest_since,1);

Filter = ORBH OR ORBL ;


AddColumn(ORBH,"1 HOUR HIGH",1.2,colorBlack,colorWhite,-1);
AddColumn(ORBL,"1 HOUR HIGH",1.2,colorBlack,colorWhite,-1);

when we explore in amibroker intraday nothing is coming in exploration windows simply blank kindly check the code and it any settings to be done pls reply
 

sr114

Well-Known Member
OST=091500; //Observation Start Time
OET=101500; //Observation End Time

Currtime =TimeNum(); //get current time

ob_end = Cross(TimeNum(),OET); //detect the observation end time
ob_st = Cross(TimeNum(),OST); //detect the observation start time


Highest_since = HHV(ob_st,H); //capture the 1 hour high
Lowest_since = LLV(ob_st,L); //capture the 1 hour low

ORBH = ValueWhen(ob_end ,Highest_since,1); //
ORBL = ValueWhen(ob_end ,Lowest_since,1);

Filter = ORBH OR ORBL ;


AddColumn(ORBH,"1 HOUR HIGH",1.2,colorBlack,colorWhite,-1);
AddColumn(ORBL,"1 HOUR HIGH",1.2,colorBlack,colorWhite,-1);

when we explore in amibroker intraday nothing is coming in exploration windows simply blank kindly check the code and it any settings to be done pls reply
why u tried to invent the wheel again? the code is given there use it

result is like this

 

Similar threads