[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Stochastics Level



PureBytes Links

Trading Reference Links

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.


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of windfore
Sent: Friday, 1 August 2008 4:20 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Stochastics Level

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: amibroker@xxxxxxxxxps.com [mailto:amibroker@yahoogroups.com] On Behalf Of Louis P.
Sent: 01 August, 2008 12:14 AM
To: amibroker@xxxxxxxxxps.com
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 <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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___