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

[amibroker] Re: Float Analysis Alerts



PureBytes Links

Trading Reference Links


Just enter the float number for your stock.
Good luck
Dennis  

float= 358000000; 

x[0]=Volume[0]; /*Initialise the first element here*/ 
for(i = 1; i<BarCount; i++)
{
 
if(x[i]<float)
{ x[i] = x[i-1]+Volume[i];
}
if(x[i]>float)
{
x[i]=0;
}
}
Plot(C,"",4,64);
PlotShapes(IIf(x==0,shapeCircle,shapeNone),5,0,Graph0,-30);
Plot(x,"",colorLightGrey,2|styleOwnScale);
//Plot(float,"",colorWhite);
GraphXSpace=25;
Count1=BarIndex()-ValueWhen(x==0,BarIndex(),1);
Count2=ValueWhen(x==0,BarIndex(),1)-ValueWhen(x==0,BarIndex(),2);
Count3=ValueWhen(x==0,BarIndex(),2)-ValueWhen(x==0,BarIndex(),3);
Title= " Bars Since the last float rollover "+Count1+ " The previous 
Rollover took "+Count2+ "\n The average of the last 2 rollovers was " 
+(Count2+Count3)/2;














--- In amibroker@xxxxxxxxxxxxxxx, thechemistrybetweenus@xxxx wrote:
> 
> 
> Has anyone been able to develop a method in AFL that allows alerts 
for 
> a float analysis indicator? I have tried searching past messages, 
with 
> no luck.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/