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

Re: [amibroker] Alerts for minimized charts



PureBytes Links

Trading Reference Links




were interesting for the ^N225, after the AB 
trend.
Draw the AB line and
<FONT 
size=2> 
Plot(C,"C",1,64);GraphXSpace=2<FONT face=Verdana 
size=1>;
AB=<FONT 
size=2>Study("AB",GetChartID<FONT 
face="Times New Roman" size=2>());
T1=<FONT 
size=2>ValueWhen(Cum(IsTrue(AB))==1,BarIndex<FONT face=Verdana 
size=1>());
T2=<FONT 
size=2>LastValue(ValueWhen(IsTrue(AB),BarIndex<FONT face=Verdana 
size=1>()));
K=<FONT 
size=2>0;Title=Name()<FONT 
face="Times New Roman">;
procedure<FONT 
face=Verdana size=1> p(f)
{
K=K+1<FONT 
face=Verdana size=1><FONT 
face="Times New Roman">;
PlotShapes<FONT 
size=2>(shapeCircle*(BarIndex()-t2==int<FONT 
face="Times New Roman" size=2>(f*(t2-t1))),colorRed);
g=-<FONT 
size=2>BarIndex()+t2+int<FONT 
face="Times New Roman">(f*(t2-t1));<FONT face=Verdana 
size=1>
Plot<FONT 
size=2>(g==0,"",30+K,2+styleLeftAxisScale);
Title=Title+WriteIf(g>0,"\nFib["+NumToStr(f)+" ] will occur 
in "+WriteVal(g,1.0)+" bars",""<FONT 
face="Times New Roman" size=2>);
}
p(<FONT 
size=2>0);P(0.236<FONT face="Times New Roman" 
size=2>);
p(<FONT 
size=2>0.382<FONT face="Times New Roman" 
size=2>);
p(<FONT 
size=2>0.5<FONT face="Times New Roman" 
size=2>);
p(<FONT 
size=2>0.618<FONT face="Times New Roman" 
size=2>);
p(<FONT 
size=2>1<FONT face="Times New Roman" 
size=2>);
p(<FONT 
size=2>1/0.618<FONT face="Times New Roman" 
size=2>);
p(<FONT 
size=2>1/0.5<FONT face="Times New Roman" 
size=2>);
p(<FONT 
size=2>1/0.382<FONT 
face="Times New Roman">);


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

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html








Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.







Attachment:
00ft.gif

Attachment: Description: "Description: GIF image"