Wendy
It is really simple just add the following two
statements
onto the Stochastic afl
plotgrid(25);
plotgrid(75);
so if it Stochastic %D
it will become the following
periods = Param( "Periods", 15,
1, 200, 1 );
Ksmooth = Param( "%K avg", 3,
1, 200, 1 );
Dsmooth = Param( "%D avg", 3,
1, 200, 1
);
Plot ( StochD( periods , Ksmooth, DSmooth ), _DEFAULT_NAME(),
ParamColor( "Color", colorCycle ), ParamStyle("Style")
);
PlotGrid (25);
PlotGrid (75);
When you apply it, make sure you go to Axis and Grid
tab of the parameters popup dialog box and uncheck show middle
lines.
/Paul.
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
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 <windfore@xxxxxxcom>
Hi,
Anyone know how to change the level of 20/80
30/70 in Stochastics parameter?
Rgds
WT
__._,_.___
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
__,_._,___
|