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

[amibroker] Re: Monitor Clearwater Conference



PureBytes Links

Trading Reference Links


Wayne:
 
  Thank you so very much.
 
CareyWayne Skerritt <ecodesign@xxxxxxxxxxx> wrote:
Here'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: http://groups.yahoo.com/group/amiquote/messages/) > <http://groups.yahoo.com/group/amiquote/messages/%29>> --------------------------------------------> Check group FAQ at: > http://groups.yahoo.com/group/amibroker/files/groupfaq.html>>> ------------------------------------------------------------------------> *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>       <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>>        >     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of>       Service <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: http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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. 
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes


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 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.