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

[amibroker] Re: Help on Jurik Approx



PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>Anthony,
I 
believe the juric functions are sold. AB has no such function built 
in....
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: Anthony Gutierrez 
[mailto:ospreyag@xxxxxxxxxx]Sent: Tuesday, March 02, 2004 11:21 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Help 
on Jurik ApproxTHe following was posted some time 
ago:/*TREND DETECTOR WITH VARIABLE PERIOD, by D. Tsokakis, 
Apr2003*/t=20;// the initial fast 
periodx=JurikJMA(StochD(40),t);Plot(x,"",1,8);// fast trend 
detectortA=50;// slow 
periodxA=JurikJMA(StochD(40),tA);Plot(xA,"",7,8);// slow trend 
detectorCond1=Ref(x,-1)==LLV(x,3);Plot(50*Cond1,"",5,2);// the start of 
the fast uptrendCond2=Ref(x,-1)==HHV(x,3);Plot(50*Cond2,"",4,2);// the 
end of the fast uptrendk1=BarsSince(Cond1);// uptrend bar 
counterk2=BarsSince(Cond2);// downtrend bar 
counterPlot((k2>k1)*10,"",5,2);Plot((k2<k1)*10,"",4,2);t1=IIf(k2>k1,t+k1,t+k2);// 
the variable periodx1=DEMA(StochD(40),t1);// the variable trend 
detectorPlot(x1,"",(x1>Ref(x1,-1))*5+(x1<Ref(x1,-1))*4,8);GraphXSpace=1; 
When I ran the above code, I get an error message at x=JurikJMA(I do 
not think there is a "JurikJMA" function built into Amibroker and JurikJMA 
is not defined.  Do I need to download it somewhere or do I missed part 
of the code.  Any feedback is greatly 
appreciated.AnthonySend 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 



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








Yahoo! Groups Sponsor


ADVERTISEMENT




Click Here















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.