Step indicators - page 5

 

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

Thanks!!!!!

 

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...

 

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

 

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

will the indicator past values keep unchanged when market reopens?

 

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

 

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

 

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

 
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!

 

Hi Igorad,

and whats the code for stepMAv6 version ?

 

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

Reason: