How to get Slow K and Slow D

 

Hello all,

Does anyone know what API or function call I need to call to get the value of Slow K(5,3,3) and Slow D(5,3,3)?

Thanks

Kam

 
knili:
Hello all,

Does anyone know what API or function call I need to call to get the value of Slow K(5,3,3) and Slow D(5,3,3)?

Thanks

Kam

Kam,

I guess I dont understand what is API?

 

by API I mean to say is there a fucnction like iMA() or something like that that I can get the value of slow D and slow k on 5 min chart?

 

I think you can iStochastic function. you can find the detail from help file.

 
knili:
by API I mean to say is there a fucnction like iMA() or something like that that I can get the value of slow D and slow k on 5 min chart?

For example:

extern string PARAMETERS_INDICATOR_TWO = "Stochastic";

extern int KPeriod=14;

extern int DPeriod=5;

extern int Slowing=5;[/CODE]

[CODE]double diStochastic4=iStochastic(NULL,0,KPeriod,DPeriod,Slowing,MODE_EMA,PRICE_CLOSE,MODE_MAIN,1);

double diStochastic5=iStochastic(NULL,0,KPeriod,DPeriod,Slowing,MODE_EMA,PRICE_CLOSE,MODE_SIGNAL,1);
 

thanks for the info,

but what are you using KPeriod=14, DPeriod=5 and Slowing=5

 

slow K and D stochastics

hello, every one

This all new too me the programing side, i was woundering if any one had the indictor for slow stoctastics already written. if you could post it on the site. many thanks

Reason: