Try this one also---histogram color changed
_SECTION_BEGIN("MACD");r1 = Param( "Fast avg", 12, 2, 200, 1 );r2 = Param( 
"Slow avg", 26, 2, 200, 1 );r3 = Param( "Signal avg", 9, 2, 200, 1 
);a=MACD(r1,r2);b=Signal(r1,r2,r3);
Plot(a,"MACD",IIf(a>b,colorGreen,colorRed),styleLine|styleThick);Plot(b,"SIGNAL",colorAqua,styleDashed);Plot(a-b,"Histgram",IIf(a-b>0,colorBrightGreen,colorBrown),styleHistogram|styleThick);

_SECTION_END();
regardsafzal
--- On Wed, 8/18/10, afzal hossain <cube_...@yahoo.com> wrote:

From: afzal hossain <cube_...@yahoo.com>
Subject: Re: [amibroker] Help with code afl- color macd
To: amibroker@yahoogroups.com
Date: Wednesday, August 18, 2010, 10:42 AM















 
 



  


    
      
      
      Lets try it
_SECTION_BEGIN("MACD");r1 = Param( "Fast avg", 12, 2, 200, 1 );r2 = Param( 
"Slow avg", 26, 2, 200, 1 );r3 = Param( "Signal avg", 9, 2, 200, 1 
);a=MACD(r1,r2);b=Signal(r1,r2,r3);Plot(a,"MACD",IIf(a>b,colorGreen,colorRed),styleLine|styleThick);Plot(b,"SIGNAL",colorAqua,styleDashed);Plot(
 a-b, "MACD Histogram", ParamColor("Histogram color", colorAqua ), styleNoTitle 
| ParamStyle("Histogram style", styleHistogram | styleNoLabel, maskHistogram ) 
);_SECTION_END();

regardsafzal
--- On Wed, 8/18/10, ford7k <for...@yahoo.com> wrote:

From:
 ford7k <for...@yahoo.com>
Subject: [amibroker] Help with code afl- color macd
To: amibroker@yahoogroups.com
Date: Wednesday, August 18, 2010, 10:16 AM















 
 



    
      
      
      Seniors and afl experts



Hope you might have seen  www.xforecaster.com

There a chart is used witnh maxium scale of chart is +450 and -450 looks like

http://www.xforecaster.com/



I checked up forextsd etc forums and found that these charts contain 
colormacd.here there is no histogram.

just macd line and signal line,the chart shows top of scale 450,then 0-line and 
bottom of chart as -450.

I took macd afl and chosen custom and set max and min as needed. but the macd 
line and signal line still show very low values in disproportion to scale of 
450 to -450.



How to fix this problem and get a enhanced macd with wider scale,along with 
macdline and signal line showing bigger values on new large scale!



please help



thanks

regards

ford





    
     



 








      

    
     

    
    


 



  











      

Reply via email to