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

RE: [amibroker] Laguerre RSI Indicator



PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>Ara,
Prev 
in MS is the previous value of its self. <SPAN 
class=271595406-09122003>x=c+prev  
means x=c+the previous value of x
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial 
size=2>To do this I think we could use loops where 
L0[i]= (<FONT 
face=Arial>1-g)*<FONT 
color=#000000>Close[i]+ 
(g*L0[i-<FONT 
color=#ff00ff>1]);<SPAN 
class=271595406-09122003>   or something along those 
lines
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: Ara Kaloustian 
[mailto:ara1@xxxxxxxxxx]Sent: Tuesday, December 09, 2003 1:37 
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker] 
Laguerre RSI IndicatorRick,If you provide a 
description of what 'PREV"  does in MS, more of us can takea crack at 
it.Also, if you post the results of an MS chart or data table created 
with thisindicator, we can compare to whatever we may come up 
withAra----- Original Message ----- From: "rck1135" 
<rkrebs@xxxxxxxxxxxxx>To: <amibroker@xxxxxxxxxxxxxxx>Sent: 
Monday, December 08, 2003 9:37 PMSubject: [amibroker] Laguerre RSI 
Indicator> I have found the Laguerre RSI indicator to be a 
valuable device with> MetaStock but have been unsuccesful converting it 
to AB.  This is> primarily because I have not been able to duplicate 
the MS 'Prev'> function after trying every permutation of the AB 'Ref()' 
function I> can think of.  The MS code follows and perhaps some 
astute AB user> will be more succesful than I in achieving a working 
conversion.>> g:=0.5;> L0:=((1-g)*C) + (g*PREV);> 
L1:=(-g*L0) + Ref(L0,-1) + (g*PREV);> L2:=(-g*L1) + Ref(L1,-1) + 
(g*PREV);> L3:=(-g*L2) + Ref(L2,-1) + (g*PREV);>> cu:= 
If(L0>L1, L0-L1,0) + If(L1>L2, L1-L2,0) + If(L2>L3, L2-L3,0);> 
cd:= If(L0<L1, L1-L0,0) + If(L1<L2, L2-L1,0) + If(L2<L3, 
L3-L2,0);>> temp:= If(cu+cd=0, -1,cu+cd);> 
If(temp=-1,0,cu/temp)>> Thanks for your interest,> Ron - 
Mission Viejo, CA>>>>>>> Send 
BUG REPORTS to bugs@xxxxxxxxxxxxx> Send 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 <A 
href="">http://docs.yahoo.com/info/terms/>>>Send 
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


  ADVERTISEMENT 









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.