Thanks Louis, 
 
I was more looking at being able to edit the level of 20/80 to example 25/75
which I can't. This will help me make the level fixed throughout the charts.
The level in the parameters is fixed.  If I edit the formula, it will give
me errors that I did not initialised the usage. 
So I am wondering if anyone done it before. 
 
Rgds
Wendy 
 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Louis P.
Sent: 01 August, 2008 12:14 AM
To: [email protected]
Subject: Re: [amibroker] Stochastics Level




Hi,

Here is something I wrote:

_SECTION_BEGIN("Stochastic %K");
periods = Param( "Periods", 15, 1, 200, 1 );
Ksmooth = Param( "%K avg", 3, 1, 200, 1 );
Plot( StochK( periods , Ksmooth), _DEFAULT_NAME(), ParamColor( "Color",
colorCycle ), ParamStyle("Style") );

PlotOHLC( StochK( periods , Ksmooth),StochK( periods , Ksmooth),50,StochK(
periods , Ksmooth), "", IIf( StochK( periods , Ksmooth) > 50, colorRed,
colorGreen ), styleCloud | styleClipMinMax, 20, 80 ); 
_SECTION_END();

Hope it helps!

Louis




2008/7/31 windfore <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> com>




Hi, 

Anyone know how to change the level of 20/80 30/70  in Stochastics
parameter? 

Rgds

WT




 

Reply via email to