[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AFL- Needs help



PureBytes Links

Trading Reference Links



I was looking to find volatility or extreme tightness/contraction with the 
bands. This exploration returned no stocks
Basically I wanted yesterday to be the point of lowest distance between the 
bands over the past 10 days- How can I adjust this AFL.
Thanks in Advance,
Brian
 
bbtop = BBandTop<FONT 
size=1>(Close, 35, 
2);
bbbot = BBandBot<FONT 
size=1>(Close, 35, 
2);
Yesterdaybbtop = Ref( 
MA( bbtop, <FONT 
color=#ff00ff size=1>50 ), -<FONT color=#ff00ff 
size=1>1 );
Yesterdaybbbot = Ref( 
MA( bbbot, <FONT 
color=#ff00ff size=1>50 ), -<FONT color=#ff00ff 
size=1>1 );
Yesterdaybbtopp = Ref( 
MA( bbtop, <FONT 
color=#ff00ff size=1>50 ), -<FONT color=#ff00ff 
size=1>10 );
Yesterdaybbbott = Ref( 
MA( bbbot, <FONT 
color=#ff00ff size=1>50 ), -<FONT color=#ff00ff 
size=1>10 );

bandlow = <FONT face="Courier New" color=#0000ff 
size=1>LLV( <FONT 
color=#0000ff size=1>MA( bbtop, <FONT color=#ff00ff 
size=1>50 ), -<FONT color=#ff00ff 
size=1>1 )<FONT face="Courier New" 
size=1>;
bandhigh = <FONT face="Courier New" color=#0000ff 
size=1>HHV(<FONT 
face="Times New Roman">MA( bbbot, 
50 ), -<FONT 
color=#ff00ff size=1>1 
);
bandlowa = 
LLV( <FONT 
color=#0000ff size=1>MA( bbtop, <FONT color=#ff00ff 
size=1>50 ), -<FONT face="Courier New" color=#ff00ff 
size=1>10 );
bandhighb = 
HHV(<FONT 
color=#0000ff size=1>MA( bbbot, <FONT color=#ff00ff 
size=1>50 ), -<FONT color=#ff00ff 
size=1>10<FONT 
size=1> );
Filter = Close > <FONT color=#ff00ff 
size=1>0 AND Close < <FONT 
color=#ff00ff size=1>25 AND Volume > 
5000 AND 
(Yesterdaybbtop + Yesterdaybbbot < Yesterdaybbtopp + 
Yesterdaybbbott) AND (bandlow + 
bandhigh) < (bandlowa + bandhighb);

NumColumns = 4;
Column0 = Close;
Column0Name = "Close"<FONT 
size=1>;

Column1 = Volume;
Column1Name = "Volume"<FONT 
size=1>;
Column2 = RSI<FONT 
size=1>();
Column2Name = "RSI"<FONT 
size=1>;
Column3 = ADX<FONT 
size=1>();
Column3Name = "ADX"<FONT 
size=1>;