the scale is just a matter of multiplication, you can try your own number from 
1to 100 or even 1000 or use Close or open or low or high
example
instead of a=MACD(r1,r2);b=Signal(r1,r2,r3);
usea=MACD(r1,r2)*100;b=Signal(r1,r2,r3)*100;
or a=MACD(r1,r2)*c;b=Signal(r1,r2,r3)*c;
but use same values for "a" and "b"
regards



--- On Wed, 8/18/10, ram vel <[email protected]> wrote:

From: ram vel <[email protected]>
Subject: Re: [amibroker] Help with code afl- color macd
To: [email protected]
Date: Wednesday, August 18, 2010, 9:06 PM















 
 



  


    
      
      
      Dear afzal
 
thanks,
Ford wanted that 
macd,signal values displayed on right axis must be not 0.000123 but 120 or 70 
in a bigger scale.
the histogram value,macd value,signalvalue scale to be changed. how it is to be 
done-was his problem.
Anyways,your afl looks good.
 
 
We were looking for zerolag ADX.
if any ideas please help
keep your good work going on.
 
regards
rv
--- On Wed, 8/18/10, afzal hossain <[email protected]> wrote:


From: afzal hossain <[email protected]>
Subject: Re: [amibroker] Help with code afl- color macd
To: [email protected]
Date: Wednesday, August 18, 2010, 12:51 PM


  





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();


regards
afzal
--- On Wed, 8/18/10, afzal hossain <[email protected]> wrote:


From: afzal hossain <[email protected]>
Subject: Re: [amibroker] Help with code afl- color macd
To: [email protected]
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();




regards
afzal
--- On Wed, 8/18/10, ford7k <[email protected]> wrote:


From: ford7k <[email protected]>
Subject: [amibroker] Help with code afl- color macd
To: [email protected]
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