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
Hi all gurus, I've hust started trading, and since I've an engeneering background and approach, I've investigeted formulas, and read a book written by Renato di Lorenzo, based on work of Corinnah Kroft, who has worked with Butterworth filter integrated with that one of R. F. Mayer, so to have two lines suitable, when crossing each other, to give a trigger to go log/short. Is there someone who has taken this approach? If not, I'd like to build suc a filter, that's already available for ProRealTime. I'm not used to build function for MQL5, but I have a long experience in VBasic and VC# for .net. Can you pls drive me to the right direction? TIA
//Indicatore Butterworth
if BarIndex < 2 then
BU=Close
else
BU=BU[1]-BU[2]/3.414+(1/3.414)*Close
endif
RETURN BU Coloured(250,0,0) As Butterworth
//Integrazione di Corinnah Kroft
Signal=BU
Noise=Close-BU
SigmaSignal=STD[PP](Signal)
SigmaNoise=STD[PP](Noise)
a=SigmaSignal/SigmaNoise
n=(2/a)-1
if n<0 then
nn=0
else
nn=n
endif
MB=ExponentialAverage[nn](close)
MBS=(MB-lowest[PP](MB)/(highest[PP](MB)-lowest[PP](MB))
Return MBS COLOURED(0,250,0) As "Meyer-Butterworth Squared"
//PP=3