Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

10AM-11AM High Low for Amibroker (AFL)

Rating:
4 / 5 (Votes 2)
Tags:
amibroker

Shows the high Low of the hour from 10 AM to 11 AM. Helpful for those who are option scrapers during the particular volatile hour.

Indicator / Formula

Copy & Paste Friendly
//Amit Sharma//
//High Low of market from 10 AM to 11 AM//
//Helpful for option scrapers//
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); 
_SECTION_END();

_SECTION_BEGIN("One Hour High-Low");

OST=100000;  //Observation Start Time
OET=110000;  //Observation End Time
MET=153000;  //Market 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 = HighestSince(ob_st,H,1); //capture the 1 hour high
Lowest_since  = LowestSince(ob_st,L,1);  //capture the 1 hour low

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

Plot(ORBH,"",colorGreen,styleDots); 
Plot(ORBL,"",colorBlue,styleDots); 


_SECTION_END();


4 comments

1. wavetone

hi, this afl is good & useful too, but i want 45minute & one hours afl for amibroker it is possible . plz send me my mail id manasidatar@in.com i waiting for u r replay
Thnaks you

2. viraldalal

Dear Sir,

Good work ….

Can you please explain also logic how to interpret ate and on which time frame shall we use this .

Thanks,

Viral.

3. mthakur

I need to capture opening high (or low) to next low or high to next high or low and so on for the last x minutes of trading on 1 minute charts in Amibroker. Basically something that writes output to a txt file or window something like 1234 to 1211 to 1231 to 1213 to 1244 to 1209 to 1216 to 1209 to 1223 to…..and on and on until the trading session completes. I need one output for one trading session. If anyone likes to help please PM me

Thanks for reading and answering.
Manoj

4. MotaSheth

is it possible to find:
the time of the high and the time of the low ?
i want to run query on various stocks

Leave Comment

Please login here to leave a comment.

Back