Base for you indicator is what was (and is) a solar wind indicator
It is a wrongly coded Ehlers fisher transform. Hence, your problem is not in iCustom call but in the code itself
I recommend you to use some of the correctly coded indicators as basis (one of those can be found on this link :
http://www.forex-tsd.com/198286-post71.html or some other correct ones found at All John Ehlers thread :
All John Ehlers Indicators...) and then go forward.
Trying to make the indicator you use as basis and trying to make it a "non repainting one " you are only going to loose time and in the end the result must be as in one of the correctly coded ones
regards
mladen
Quote:
Originally Posted by lambic
Ok but i thought icustom takes the first parameters if mentionned and take the others by default.
So if a remplace with MA1buffer[i]=iCustom(NULL, 0, "NonLagMA",buffer3,10,0,0,0,1,0,0,0,i);
unforthunately, it doesn't change anything. Any other idea ?
|