Stock Portfolio Organizer
The ultimate porfolio management solution.
Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
cmoert for Amibroker (AFL)
Copy & Paste Friendly
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | _SECTION_BEGIN ( "ertanaliz" ); SumUp= Sum ( IIf ( C > Ref ( C ,-1),( C - Ref ( C ,-1)),0), 11); SumDn= Sum ( IIf ( C < Ref ( C ,-1),( Ref ( C ,-1)- C ),0), 11); CMO=100*(SumUp-SumDn)/(SumUp+SumDn); Plot (CMO, "ertanaliz" , colorGreen , styleLine ); K1= Stdev (CMO,10); K2= Stdev (CMO,20); K3= Stdev (CMO,50); K1*CMO+K2*CMO+K3*CMO/(K1+K2+K3); ert=20; CMOort= DEMA (CMO,ert); trgAvg=5; trigger= DEMA (CMOort,trgAvg); Buy = Cross (CMOort,trigger); Sell = Cross (trigger,CMOort) OR BarsSince ( Buy )>=50; Buy = ExRem ( Buy , Sell ); Sell = ExRem ( Sell , Buy ); Short = Cross (trigger,CMOort); Cover = Cross (CMOort,trigger) OR BarsSince ( Short )>=50; Plot (CMOort, "Ortalama" , colorGreen ,-100,100); Plot (50, "" ,15); Plot (-50, "" ,15); _SECTION_END (); |