Step indicators - page 5

To add comments, please log in or register
camisa
587
camisa  

ahhhh Igorad, once again right on spot!!!!!

Thanks!!!!!

camisa
587
camisa  

Igorad, does the indicator have a bug?

I was using mt4 offline with calcbars=10 and historybars=5000; I just got online and the past values of the indicator all changed! (i'm just plotting StepMA max on chart)

Now I can't found the settings that worked so fine some hours ago

Can you help please?

EDIT: now i'm using calcbars=45 and historybars=5000 to achieve similar results I had some hours ago with calcbars=10 and historybars=5000...

Igor Durkin
6709
Igor Durkin  

Hi camisa,

You use too small period for calculation StepSize.

StepSize is average volatility or still this value can be named average 'noise' on all history.

If you wish to have constant values of StepSize for three StepMA it is necessary all over again calculate them by means of StepMA3D_v1, and then to draw by means of three StepMA_v6.1 .

Igor

camisa
587
camisa  

ok, I'm now using StepMAv6[1].2 with lenght =1

will the indicator past values keep unchanged when market reopens?

lowphat
466
lowphat  

any easy hack to shift the stepma up or down a percentage?

Josh
130
Josh  

can some of the code gurus here tell me please how to acces from a indicator i am writing to the StepMA Stoch Indicator?

thanks

Igor Durkin
6709
Igor Durkin  

Hi,

You should use this code:

- for fast line

fast=iCustom(NULL,0,"StepMA_Stoch_v1",PeriodWATR,Kwatr,HighLow,0,shift);

- for slow line

slow=iCustom(NULL,0,"StepMA_Stoch_v1",PeriodWATR,Kwatr,HighLow,1,shift);

Igor

Josh
130
Josh  
igorad:
Hi,

You should use this code:

- for fast line

fast=iCustom(NULL,0,"StepMA_Stoch_v1",PeriodWATR,Kwatr,HighLow,0,shift);

- for slow line

slow=iCustom(NULL,0,"StepMA_Stoch_v1",PeriodWATR,Kwatr,HighLow,1,shift);

Igor

thank you for your help igorad!

chievo11
53
chievo11  

Hi Igorad,

and whats the code for stepMAv6 version ?

Igor Durkin
6709
Igor Durkin  

Hi,

For a call of the indicator you should use this code:

StepMA_v6.1 line

line=iCustom(NULL,0,"StepMA_v6.1",Length,Kv,StepSize,0,HighLow,0,BarsNumber,0,shift);

Igor

To add comments, please log in or register