Pollan's indicators - page 159

 
krelian99:
bogdan11, never give the monkey sugar. Suat never shares anything but his naughty naughty pics.

Do you have to insult everyone ?

 

I don't never insult noone, I conclude.

 

thanks friends for this nice thoughts

 

In the spirit of the thread : renamed solar wind : go_essam1.mq4

Files:
go_essam1.mq4  7 kb
 

New version on mt4

 

Takbir ver ar yu Loo?

 

me so much cos ı m not coder

ı m designer

 
suat:
This pollan-indicator NOW not REPAINT guys.

its my gift

Suat

Sorry, but it repaints (using future values (like using the cci in the pollan-indicator) is always going to cause repainting

 

NEVER........

 
suat:

There is 1 ma and 1 shift sir there. and pollan shift is 3 shift

well look pls it.

NOT REPAINT sir

NEVER cos ı m using it.

Lines 100 and 101

cci[0]=(iCCI(Symbol(),0,vCCIPeriod,vCCIPrice,i-1)*vCCIMul)/100;

rsi[0]=(iRSI(Symbol(),0,vRSIPeriod,vRSIPrice,i+1)*vRSIMul)/100;[/CODE]

The "i-1" part

Lines 105 to 107

[CODE]for(pix = 1; pix <= nPeriod-1; pix++){

cci[pix]=(iCCI(Symbol(),0,vCCIPeriod,vCCIPrice,i-pix-1)*vCCIMul)/100;

rsi[pix]=(iRSI(Symbol(),0,vRSIPeriod,vRSIPrice,i+pix+1)*vRSIMul)/100;

the "i-pix-1" part

Those both parts are using future values (up to nPeriod future values) and are causing repainting. With code it is simple : we do not prove or disapprove anything : the code is doing what it is doing and all it takes is to see what will it do. And any testing of that indicator will show the above posted. So, it is not about what am I saying, but what that code is doing. And even a very quick back test will show after a couple of seconds that the indicator is repainting. Sorry

This is what it does (very quick back test example) :

It will do exactly the same in run-time

Files:
pollan_1.png  47 kb
pollan_2.png  49 kb