PureBytes Links
Trading Reference Links
|
<SPAN
class=628031714-16062003>Jose,
if you
are a registered user you may update to the current beta by visiting <A
href="">www.amibroker.com then choosing the members
section. I think the last beta was about a month ago and should be
4.38...... Your link below try.... <A
href="">http://www.amibroker.com/guide/afl/afl_view.php?id=72
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: Jose
[mailto:josesilva22@xxxxxxxxx]Sent: Monday, June 16, 2003 9:51
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re:
EMA/breakout signals composite indicatorThanks
Tomasz,I must have an earlier version of AB (v4.3):Unknown
identifier at line 25, column 3:if(--^<A
href="">http://www.amibroker.com/guide/afl_view.php?name=IIFIs
this link still active?jose '-)--- In
amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
wrote:> Hello,> > I have fixed the formula for you.
There were several errors.> For example you were using the same values in
x = IIF line> and you were usign IIF function as a control flow
statement.> To learn more about difference between IIF and
if-else> please read Tutorial: understanding how AFL works and>
check IIF help page at <A
href="">http://www.amibroker.com/guide/afl_view.php?name=IIF>
> > /* Exponential Moving Average v1.0 */> > /* EMA
periodicity adapts to low bar count */> > /* josesilva22@xxxx
*/> > Title = "EMA/breakout signals"; > > pds =
Param("EMA periods",21,1,252,1);> > x = Param("Op=1 Hi=2 Lo=3 Cl=4
Vol=5",4,1,5,1);> > shift = 1+Param("EMA vertical shift
%",0,-100,100,0.01)/100;> > display = Param("EMA=1,
Signals=2",1,1,2,1);> > x =
IIf(x==1,O,IIf(x==2,H,IIf(x==3,L,IIf(x==4,C,V))));> > prds =
pds;> > EMA1 = AMA(x,2/(prds+1))*shift;> > signals =
Cross(x,EMA1)+Cross(EMA1,x)*-1;> > if(display==2)> >
{> > Plot(0,"",colorBlue,styleLine);> >
Plot(signals,"EMA signals",colorRed,styleLine);> > }>
> else> > {> > Plot(Close,"",1,128);>
> Plot(EMA1,"EMA",colorRed,styleLine);> > }>
> Best regards,> Tomasz Janeczko>
amibroker.comSend
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|