Stochastic Oscillator, the beginning - page 15

Linuxser
5921
Linuxser  
fxbs:
that's Rosh - how he discovered (found it (f-la) ?????

TASC

The original code is available for ES, TS. Also was published on TASC January 1991 if my memory does not fail.

BLUR71
54
BLUR71  
gabroo_munda:
Hi Blur,

What is the name of the moving average indicator (solid line) on your charts. Can you guide me to where it can be found?

Thanks a lot

Gabroo

i usually use a nonlagma v7.1 or hma color nrp as a signal line, but i didn't have it loaded on that computer. so it was a 5 LWMA.

5-13-21-34-50 all LWMA

here it is if you need it. one of the first indys i suceeded to make.

regards

blur

Files:
blurs_ma.mq4 2 kb
fxbs
3203
fxbs  
Linuxser:
TASC The original code is available for ES, TS. Also was published on TASC January 1991 if my memory does not fail.

right, but why "tradesignalonline.com" well, jus messin with you

Mladen Rakic
154429
Mladen Rakic  

Smoothed adaptive stochastic

One more for the collection : Smoothed adaptive stochastic

Originates from : guppytraders metastock version

A suggestion : play with the Max and Min lengths (after all it adapts its length - see the difference for the same thing with smoothings set to 5 and MaxLength set to 50)

mario
19
mario  
mladen:
One more for the collection : Smoothed adaptive stochastic Originates from : guppytraders metastock version

thank you

......................................

IN10TION
237
IN10TION  
:: hi! just to let you know about an error... perhaps you have to shorten your limit bars...

"incorrect start position 5045 for ArrayMinimum function"

IN10TION

Mladen Rakic
154429
Mladen Rakic  

I know about it (a long time ago)

It affects only the calculation of the first loop (when time frame changes or is placed on the chart)

Solution is to put something like this in the code :

limit = MathMin(Bars-counted_bars,Bars-1);

but it does not make any difference in further calculations so I leave it out

IN10TION:
:: hi! just to let you know about an error... perhaps you have to shorten your limit bars...

"incorrect start position 5045 for ArrayMinimum function"

IN10TION

IN10TION
237
IN10TION  
:: this is more the logic for me if I change it like this...
limit = Bars-counted_bars-VolatilityLookBack;[/php]:: I've tried to change many input values, but no errors anymore. But I didn't test further progress when new bars forming.

CORRECTION: doesn't work, the error is gone, but doesn't update.

IN10TION

mladen:
I know about it (a long time ago)

It affects only the calculation of the first loop (when time frame changes or is placed on the chart)

Solution is to put something like this in the code :

[php]limit = MathMin(Bars-counted_bars,Bars-1);

but it does not make any difference in further calculations so I leave it out
Mladen Rakic
154429
Mladen Rakic  

The code change you are suggesting is going to make the indicator repaint (to be more precise - it is not going to refresh the current bar among other things - you are going to have to change time frames to make it show last values - try it out)

Just put the line I posted there. No errors

Or did you try it out at all?

IN10TION:
:: this is more the logic for me if I change it like this...
limit = Bars-counted_bars-VolatilityLookBack;

:: I've tried to change many input values, but no errors anymore.

IN10TION

IN10TION
237
IN10TION  
:: I was a little bit too quick in trying it out, thanks! I've noticed it immediately...

lovely, strong coding! thanks!

IN10TION

mladen:
The code change you are suggesting is going to make the indicator repaint (to be more precise - it is not going to refresh the current bar among other things - you are going to have to change time frames to make it show last values - try it out)

Just put the line I posted there. No errors

Or did you try it out at all?