@Mladen Rakic Hi bro, what are those means?
? and :
val[i] = (i>0) ? 0.5*MathLog((1.0+work[i])/(1.0-work[i]))+0.5*val[i-1] : 0; valc[i] = (i>0) ? (val[i]>val[i-1]) ? 1 : (val[i]<val[i-1]) ? 2 : 0 : 0;
and I am curious about the iCustom(... , ...)
I mean
I have an EA at MT4 and I control the condition like that "bool Long()"
How to convert your indicator for iCustom from MQL4 to MQL5?
My EA's some part for Fisher condition:
bool Long() { bool flag=false; double Fisher[4], Trigger[4]; ArrayInitialize(Fisher,EMPTY_VALUE); ArrayInitialize(Trigger,EMPTY_VALUE); int i, limit=ArraySize(Fisher); for(i=0; i<limit; i++) { Fisher[i]=iCustom(NULL,0,"FTI",Periyot,0,i); Trigger[i]=iCustom(NULL,0,"FTI",Periyot,1,i); } if ( Fisher[1] <= (Level*(-1)) && Trigger[1] <= (Level*(-1)) && Fisher[1] > Trigger[1] && Fisher[2] < Trigger[2] ) { flag=true; } return(flag); }
I think, like that, right?
val[i]=iCustom(NULL,0,"FTI",inpPeriod,0,i); valc[i]=iCustom(NULL,0,"FTI",inpPeriod,1,i);

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Ehlers Fisher transform:
Ehleres Fisher transform
Author: Mladen Rakic