Traderji.com - Discussion forum for Stocks Commodities & Forex

Need Help for Composite MACD

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


Go Back   Traderji.com - Discussion forum for Stocks Commodities & Forex > TOOLS & RESOURCES > Software > AmiBroker

Notices


Advertise Here

Reply
 
Thread Tools
Sponsored Links
  #21  
Old 1st December 2007, 11:37 AM
Member
 
Join Date: Mar 2005
Posts: 46
Appreciation: 20
nitin_guess is on a distinguished road
Default Re: Need Help for Composite MACD

Quote:
Originally Posted by hitesh View Post
Thanks a lot Mr casoni , its working fine and well.
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
Reply With Quote
  #22  
Old 1st December 2007, 05:10 PM
Member
 
Join Date: Dec 2006
Posts: 32
Appreciation: 20
hitesh is on a distinguished road
Default Re: Need Help for Composite MACD

Here is the final formula which I use. It's in TXT format, just convert the same into afl.
Attached Files
File Type: txt Composit M A C D.txt (3.2 KB, 54 views)
Reply With Quote
  #23  
Old 1st December 2007, 05:55 PM
J_D J_D is offline
Member
 
Join Date: Nov 2006
Posts: 64
Appreciation: 20
J_D is on a distinguished road
Default Re: Need Help for Composite MACD

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
Reply With Quote
  #24  
Old 1st December 2007, 07:22 PM
Member
 
Join Date: Mar 2005
Posts: 46
Appreciation: 20
nitin_guess is on a distinguished road
Default Re: Need Help for Composite MACD

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
Attached Images
File Type: jpg Plz See.JPG (39.4 KB, 50 views)
Reply With Quote
  #25  
Old 7th May 2008, 02:52 AM
Member
 
Join Date: Sep 2007
Location: Belgium
Posts: 1
Appreciation: 20
ppmoore is on a distinguished road
Default Re: Need Help for Composite MACD

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
Attached Images
File Type: png Composite MACD.png (57.0 KB, 31 views)
Attached Files
File Type: txt Composite MACD.txt (2.0 KB, 27 views)
Reply With Quote
  #26  
Old 24th June 2008, 06:59 AM
Member
 
Join Date: Jun 2008
Posts: 11
Appreciation: 10
KelvinHand is on a distinguished road
Default Re: Need Help for Composite MACD

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.
Reply With Quote
Sponsored Links


Reply

Bookmarks


Advertise Here


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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


All times are GMT +5.5. The time now is 01:04 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.
 


Copyright © 2001 - 2008, Traderji.com All Rights Reserved.

Recommended Websites - www.TradersEdgeIndia.com - www.TradingPicks.com - www.MasterOfTrading.com