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

Scanning Gap Up and Gap Down for Amibroker (AFL)

Rating:
3 / 5 (Votes 4)
Tags:
amibroker, exploration

Finding Gap Up and Gap Down opening.

Similar Indicators / Formulas

General Market Exploration by XeL
Submitted by xel over 7 years ago
Vol Peak 5 Day [Scan only]
Submitted by lusmomoney about 6 years ago
Deel - Average Dollar Price Volatility
Submitted by kaiji almost 10 years ago
TEMA_Regression Crossover
Submitted by marcheur about 6 years ago
%Change Exploration
Submitted by shshingala about 6 years ago

Indicator / Formula

Copy & Paste Friendly
//Finding GapUp and Gap Down opening

SO = ParamToggle("Option","Gap Up|Gap Down",1);

if(SO == 0)
//Gap Up
Filter = (Open > Ref( High, -1 )) AND (Close > Open);
else
// Gap down
Filter = (Open < Ref( Low, -1 )) AND (High < Ref( Low, -1)) AND (Close < Open);

AddColumn( Close, "Close" );
AddColumn( Open, "Open" );
AddColumn( High, "High" );
AddColumn( Low, "Low" );
AddColumn( Volume, "Volume" );

2 comments

1. samplange
//Finding GapUp and Gap Down opening
 
SO = ParamToggle("Option","Gap Up|Gap Down",1);
 
if(SO == 0)
//Gap Up
Filter = (Open > Ref( High, -1 )) AND (Close > Open);
else
// Gap down
Filter = (Open < Ref( Low, -1 )) AND (High < Ref( Low, -1)) AND (Close < Open);
 
AddColumn( Close, "Close" );
AddColumn( Open, "Open" );
AddColumn( High, "High" );
AddColumn( Low, "Low" );
AddColumn( Volume, "Volume" );
2. bhartiprinters

seen gap up and gap down afls earlier also better now someone give an afl where gapup or gapdown happened in the opening and after that it has been filled that is also equally important to know but till now not seen anything like that. as i do not know coding will really relish to see if somebody makes that

Leave Comment

Please login here to leave a comment.

Back