If I understand correctly Tchart at this stage only support a fast Stockhastic oscillator. Is their any way to support slow Stockhastic also.
This below is a simple extract from the internet to explain the diffrence.
%K Time Periods. Enter the number of time periods used in the stochastic calculation.
%K Slowing. Enter the number of time periods used in the internal smoothing of the %K value. A value of 1 is considered a fast stochastic; the default value of 3 is considered a slow stochastic
Stockhastic fast or slow
Re: Stockhastic fast or slow
Hello,
Isn't it the Period? Note you can change the period of the TStochasticFunction by:
Or:
Or:
Isn't it the Period? Note you can change the period of the TStochasticFunction by:
Code: Select all
TeeFunction1.Period:=1;
Code: Select all
TeeFunction1.Period:=3;
Code: Select all
TeeFunction1.Period:=10;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Stockhastic fast or slow
Hi Yeray,
Jip I already change the period, but with a stockhastic function you get a slowing period also.
Please see this website : http://ta.mql4.com/indicators/oscillators/stochastic
I can also if needed attach a screen shot to show the difference between my application stockhastic and a 3rd party.
I think TStochasticFunction miss a slowing period property.
Jip I already change the period, but with a stockhastic function you get a slowing period also.
Please see this website : http://ta.mql4.com/indicators/oscillators/stochastic
Code: Select all
stockHastic := TStochasticFunction.Create(nil);
with chart1 do
begin
tmpStockhastic := TLineSeries.Create(self);
addSeries(tmpStockhastic);
tmpStockhastic.SetFunction(stockHastic);
tmpStockhastic.DataSources.Clear;
tmpStockhastic.DataSources.Add( candleSeries );
stockHastic.Period :=StrToInt(edtStockhasticPeriod.Text);
tmpAxis:=chart1.CustomAxes.Add as TChartAxis;
tmpStockhastic.CustomVertAxis:=tmpAxis;
tmpAxis.Axis.Color:=Color;
ChartTool1 := TAnnotationTool.Create(nil);
ChartTool1.Text:=FormatFloat('#0.00',(tmpStockhastic.YValue[tmpStockhastic.YValues.Count-1]));
ChartTool1.Shape.Transparent:=True;
ChartTool1.Shape.Font.Color:=clRed;
chart1.Tools.Add(ChartTool1);
calculateAxesAnnotations;
end;
I think TStochasticFunction miss a slowing period property.
Re: Stockhastic fast or slow
Hello,
I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1284
I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1284
Yes, a comparison would be helpful.Gucci wrote:I can also if needed attach a screen shot to show the difference between my application stockhastic and a 3rd party.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Stockhastic fast or slow
Hi Yeray,
Any work around in the mean time maybe ? Or will it be better if I wright my own Stockhastic function ?
Help will be appreciated.
Any work around in the mean time maybe ? Or will it be better if I wright my own Stockhastic function ?
Help will be appreciated.
Re: Stockhastic fast or slow
Hello,
I'm afraid I can't tell you a date for it to be implemented.
You can add your mail to the CC list in the ticket to be automatically notified when an update arrives.
I'm afraid I can't tell you a date for it to be implemented.
You can add your mail to the CC list in the ticket to be automatically notified when an update arrives.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Stockhastic fast or slow
Hi Yeray,
What is your direct email ? I need to ask you something off the chart.
What is your direct email ? I need to ask you something off the chart.
Re: Stockhastic fast or slow
Hello,
I've just sent a mail to the account you have registered in this forum.
However, note the options to get support are described here.
I've just sent a mail to the account you have registered in this forum.
However, note the options to get support are described here.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |