Page 64 of 75
Re: Convert MT4 indicators to MT5
Posted: Sun Apr 20, 2025 8:29 pm
by ZigZag
jhh DOO wrote: Sat Apr 19, 2025 5:24 am
It works very well for me, please post it
Ok, I can try a bit later. I am testing something with "Haar Transforms" waves, will post it first if I can become any sense with it.
https://www.cis.upenn.edu/~cis5150/cis5 ... l-Haar.pdf
https://se.mathworks.com/help/wavelet/u ... mages.html
Re: Convert MT4 indicators to MT5
Posted: Mon Apr 21, 2025 5:05 am
by kvak
Hello.
This is the improved version that Mrtools sent me. One more time thank you for helping hand.
Re: Convert MT4 indicators to MT5
Posted: Mon Apr 21, 2025 7:25 pm
by moey_dw
kvak wrote: Mon Apr 21, 2025 5:05 am
Hello.
This is the improved version that Mrtools sent me. One more time thank you for helping hand.
Hi everyone!!! The body of the candlestick does not change larger on it............. Here I even set body width!!! But candle body is still skinny and mini........ my settings and thanks for tirelessly investigating Mrtoolz & Kvak bros Im praying there is a solution
Re: Convert MT4 indicators to MT5
Posted: Mon Apr 21, 2025 9:33 pm
by kvak
moey_dw wrote: Mon Apr 21, 2025 7:25 pm
Hi everyone!!! The body of the candlestick does not change larger on it............. Here I even set body width!!! But candle body is still skinny and mini........ my settings and thanks for tirelessly investigating Mrtoolz & Kvak bros Im praying there is a solution
I think there is nothing wrong with the code, but the problem is somehow in MT5, how it does it. I noticed it recently with a simple histogram when I put autowidth. It is somehow limited.
Just to clarify, it is a different case with wicks, they are solved by objects in this indicator and you can enlarge them as you want.
For example pictures i put 20 and 50 to manually width, you see, visually if nothing changed.
Re: Convert MT4 indicators to MT5
Posted: Tue Apr 22, 2025 1:08 am
by mrtools
moey_dw wrote: Mon Apr 21, 2025 7:25 pm
Hi everyone!!! The body of the candlestick does not change larger on it............. Here I even set body width!!! But candle body is still skinny and mini........ my settings and thanks for tirelessly investigating Mrtoolz & Kvak bros Im praying there is a solution
Yeah, I added the auto width mainly to test and when I tested it the market was closed and couldn't decide if the auto width was working or not. Think in mt5 they added some code to automatically scale the candles and histogram widths.
Re: Convert MT4 indicators to MT5
Posted: Tue Apr 22, 2025 7:52 pm
by moey_dw
mrtools wrote: Tue Apr 22, 2025 1:08 am
Yeah, I added the auto width mainly to test and when I tested it the market was closed and couldn't decide if the auto width was working or not. Think in mt5 they added some code to automatically scale the candles and histogram widths.
Ow I had a belief that the indicator thick wick was a separate entity to the chart price bars!!! So does this mean if you made Heiken Ashi or a indicator with a candlesticks display will they always go back to the normal size skinny candles set by MT5 platform?? No ways around it ah??
Re: Convert MT4 indicators to MT5
Posted: Tue Apr 29, 2025 4:40 pm
by Akela
Hi, Mr. Tools,
I would like to ask you if it would be possible to convert this great indicator to the MT5 version. This is an indicator Williams %R (WPR) On-chart.
Thanks in advance, I think more people on this forum would benefit from this, it is a gem among indicators.
Thank you
Re: Convert MT4 indicators to MT5
Posted: Tue Apr 29, 2025 7:47 pm
by Abzak
Hello Mr. Kvak. I'm not sure but I think you made this. Any chance you have it's equivalent for mt5? I would love to have a line for H4 open lines. Thank you.
Re: Convert MT4 indicators to MT5
Posted: Tue Apr 29, 2025 8:17 pm
by mrtools
Akela wrote: Tue Apr 29, 2025 4:40 pm
Hi, Mr. Tools,
I would like to ask you if it would be possible to convert this great indicator to the MT5 version. This is an indicator Williams %R (WPR) On-chart.
Thanks in advance, I think more people on this forum would benefit from this, it is a gem among indicators.
Thank you
Hello, the On-Chart Wpr part would be pretty easy conversion the only part I am not sure about is the range calculation used in the bands this part
Code: Select all
atrTimeFrame = PERIOD_H4;
switch (timeFrame)
{
case PERIOD_M1: atrTimeFrame = PERIOD_H1; break;
case PERIOD_M5: atrTimeFrame = PERIOD_H4; break;
case PERIOD_M15: atrTimeFrame = PERIOD_H4; break;
case PERIOD_M30: atrTimeFrame = PERIOD_D1; break;
case PERIOD_H1: atrTimeFrame = PERIOD_D1; break;
case PERIOD_H4: atrTimeFrame = PERIOD_D1; break;
case PERIOD_D1: atrTimeFrame = PERIOD_W1; break;
case PERIOD_W1: atrTimeFrame = PERIOD_MN1; break;
default: atrTimeFrame = PERIOD_H4;
}
Not sure how in mt5 to do this in combination with the regular wpr mtf, need to do more research and will get back.
Re: Convert MT4 indicators to MT5
Posted: Tue Apr 29, 2025 8:28 pm
by CKLMLL95
Coders,
Has anyone converted the ! dz adx trend - avgs smoothed (mtf + alerts + arrows +divergence + btn) yet? Great indicator.
Thank You