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

RE: [amibroker] dividend (more on the subject)



PureBytes Links

Trading Reference Links




Very 
nice Wayne! 
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: Wayne Skerritt 
[mailto:ecodesign@xxxxxxxxxxx]Sent: Tuesday, January 06, 2004 9:49 
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker] 
Conversion to AmibrokerHere's one way to do 
this:************************************// function version of Chande 
Momentum Oscillatorfunction funcCMO(periods) {local cmo_1;local 
cmo_2;local cmo;cmo_1=Sum( IIf( C > Ref( C, -1 ) , ( C - Ref( C 
,-1 ) ) ,0 ) , periods ) ;cmo_2=Sum( IIf( C < Ref( C ,-1 ) , ( Ref( C ,-1 
) - C ) ,0 ) , periods );cmo=100 * (( cmo_1 -cmo_2) /( 
cmo_1+cmo_2));return cmo;}cmo_a = funcCMO(3);cmo_b = 
funcCMO(5);cmo_c = funcCMO(8);cmo_AV = (cmo_a + cmo_b + 
cmo_c)/3;Plot(funcCMO(21),"CMO",32,4);Plot(Cmo_AV,"CMO avg",42,2); 
// 2 = histogramPlotGrid(0,55); //for black 
backgroundPlotGrid(50,55);PlotGrid(-50,55);hope this helps  
:-)Wayne Scdickerm wrote:> Is there a 
straightforward conversion of this to Amibroker:  (CMO(C,3)> 
+CMO(C,5)+CMO(C,8))/3  If so, would someone please help. >> 
Thanks a lot,>> Carey>>>>> 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/) 
> <<A 
href="">http://groups.yahoo.com/group/amiquote/messages/%29>> 
--------------------------------------------> Check group FAQ at: 
> <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html>>> 
------------------------------------------------------------------------> 
*Yahoo! Groups Links*>>     * To visit your 
group on the web, go to:>       <A 
href="">http://groups.yahoo.com/group/amibroker/>        
>     * To unsubscribe from this group, send an email 
to:>       
amibroker-unsubscribe@xxxxxxxxxxxxxxx>       
<mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>>        
>     * Your use of Yahoo! Groups is subject to the 
Yahoo! Terms of>       Service <<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 


Yahoo! Groups Links
  To visit your group on the web, go to:<A 
  href="">http://groups.yahoo.com/group/amibroker/  

  To unsubscribe from this group, send an email to:<A 
  href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx  

  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 



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 









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.