![]() |
|
| Discuss Need Help for Composite MACD at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Originally Posted by hitesh Thanks a lot Mr casoni , its working fine and well. ... |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools |
| Sponsored Links |
|
#21
|
|||
|
|||
|
Hi hitesh... with s much addition and modification is it possible 2 post the final afl.. and if possible with the 3 200dma included.. wld be a nig help 2 newbies lik eme
.. await yr reply |
|
#22
|
|||
|
|||
|
Here is the final formula which I use. It's in TXT format, just convert the same into afl.
|
|
#23
|
|||
|
|||
|
Hitesh,
How is this Composite MACD system different from the standard MACD system? On a glance of the chart it appears both give the buy/sell signals at the same time.. Do you find superiority of the Composite MACD system over the standard MACD system signals? Is there anyway we can test this? John |
|
#24
|
|||
|
|||
|
Hitesh thanks a lot for yr promt reply.. just some clairifications there are two lines
one is green/red the otehr is blue/black.... which ones is teh signal n which one is the macd and how to trade on tht biasis Also i had read much abt n was keen on using MACD divergence so if u can tell em which is more strong MACD divergence or the HISTOGRAM of d macd divergence Also the MACD indicatr of the amibroker is very very lame as the histograms are hardly visible .. can u plz gimme teh link or d afl of a nice afl for d same plz see d pic iam attachin its of d sytem of Eagle eye trade.. dnt want theri system but the afl for the macd they using.. hope u getting my |
|
#25
|
|||
|
|||
|
Hello,
I've been looking at this trading system, and as far as I can see, it can't be used. A trading system should exit a long either before or simultaneously while entering a short trade. With this system, it is possible to be both long and short at the same time. Unless I've done something silly, or have misunderstood. Refer to the attached image file (colours modified), and my version of the AFL (attached as a txt file). Many thanks, Paul |
|
#26
|
|||
|
|||
|
Hi,
Sorry for 1 year++ late to join this group, here is the translate of the metastock code: ![]() //-- Begin of Script ----- /* ==================== MACD - composite EMA ==================== ----------------------------------------------- { MACD OR Histogram based on multiple EMA's } { Incorporating automatic overbought/oversold levels } { ©Copyright 2005 Jose Silva } { http://www.metastocktools.com } */ function IsDefined(arry) { return NOT IsEmpty(arry); } //{ User inputs } plot1=ParamToggle("Choose MACD OR Histogram", "MACD|Histogram"); plot2=ParamToggle("Choose MACD/Hist OR Normalized","MACD/Hist|Normalized"); pds=Param("Signal/Histogram EMA periods",21, 2, 260); //{ Composite-EMA MACD/Histogram } ema1= EMA(C,3)+ EMA(C,5)+EMA(C,8)+EMA(C,11)+EMA(C,14)+EMA(C,17); ema2= EMA(C,30)+EMA(C,35)+EMA(C,40)+EMA(C,45)+EMA(C,50)+ EMA(C,56); emaComp=ema1-ema2; sig=EMA(emaComp,pds); hist=emaComp-sig; //{ Choose MACD OR Histogram } MacdH=IIf(plot1==0,emaComp,hist); //{ Normalized MACD/Histogram } normMod=Highest(MacdH)-Lowest(MacdH); normMod=IIf(normMod==0, 0.000001,normMod); MacdHnorm= ((MacdH-Lowest(MacdH))/normMod-.5)*200; //{ Choose standard/normalized } MacdComp=IIf(plot2==0,MacdH,MacdHnorm); sig=EMA(MacdComp,pds); //{ MACD/Hist average } Avgs=Cum(MacdComp)/Cum(IsDefined(MacdComp)); //{ MACD/Hist auto boundaries } pk=Ref(MacdComp,-1)>MacdComp AND Ref(MacdComp,-1)>Ref(MacdComp,-2) AND Ref(MacdComp,-1)>Avgs; pkVal=ValueWhen(pk,Ref(MacdComp,-1)); tr=Ref(MacdComp,-1)<MacdComp AND Ref(MacdComp,-1)<Ref(MacdComp,-2) AND Ref(MacdComp,-1)<Avgs; trVal=ValueWhen(tr,Ref(MacdComp,-1)); Obought=Cum(pkVal)/Cum(IsDefined(pkVal)); Osold=Cum(trVal)/Cum(IsDefined(trVal)); //{ Plot in own window } Plot(Obought, "OB", colorRed); //{ Red } Plot(Avgs, "Avg", colorDarkGrey); //{ Grey } Plot(Osold, "OS", colorBlue); //{ Blue } Plot( IIf(plot1==0,Sig,Avgs), "Plot1", colorGreen); //{ Green } Plot(MacdComp, "MACDComp", colorBlack);// { Black } //-- End of Script ------- Hope it meet your need. ![]() |
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads for: Need Help for Composite MACD
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MA vs MACD | sgkalai | Technical Analysis | 10 | 7th December 2007 12:01 AM |
| Macd | rahulg77 | MetaStock | 6 | 4th January 2007 03:16 PM |
| Session on MACD | rajesh.sadhanala | Technical Analysis | 5 | 22nd February 2006 04:33 PM |
| Macd | Masterchief | Technical Analysis | 5 | 31st May 2005 12:19 PM |
| Composite Leverage Index-beginners Must Know | sh50 | Risk & Money Management | 0 | 1st October 2004 10:08 AM |
Indemnity, Disclaimer & Disclosure
Notice:
• By visiting Traderji.com you indicate your acceptance of our Forum
Rules Disclaimer & Disclosure and indemnify Traderji.com, its
associates and related parties of all claims howsoever resulting from
the usage of the forum.
• Disclaimer: Trading or investing in stocks & commodities
is a high risk activity. Any action you choose to take in the markets
is totally your own responsibility. Traderji.com will not be liable for
any, direct or indirect, consequential or incidental damages or loss arising out of the use of this information.
• Disclosure: The information in this forum is neither an offer to sell nor solicitation to buy any of the securities mentioned herein.
The writers may or may not be trading in the securities mentioned.
• All names or products mentioned are trademarks or registered trademarks of their respective owners.
General Content Disclaimer Notice:
In light of our policy of encouraging candid, open exchanges of views and the rapid distribution of information originating from many sources, Traderji.com cannot determine the accuracy of information that may be uploaded to the forum. Opinions, advice and all other information expressed by participants in discussions are those of the author. You rely on such information at your own risk. You are urged to seek professional advice for specific, individual situations and not rely solely on advice or opinions given in the discussions. Since Traderji.com is an open and free discussion forum, any comments made by members of this forum in their posts reflect their own views and not of the owner or administrator of Traderji.com. Thus the owner/administrator indemnify themselves of all claims whatsoever and will not be liable or responsible for any members comments/views in this forum Traderji.com. If you find any objectionable or offensive posts made by members of this forum which you would like to bring to our notice for removal then please Contact Us.