Multi Timeframe Indicators - page 432

fxcollection
30
fxcollection  

reply

mladen:
fxcollection It is a decompiled code. Do you have a "normal" version of that code?

Hi sorry for the late reply. I only have the ex4 version which i download it somewhere. So i decompilied it myself and hope it may help. So do i need to yet the normal version?

Mladen Rakic
154517
Mladen Rakic  

fxcollection

Coders in general do not want to work with decompiled code, and I think you might have a problem getting anybody making what you need on a decompiled code

fxcollection:
Hi sorry for the late reply. I only have the ex4 version which i download it somewhere. So i decompilied it myself and hope it may help. So do i need to yet the normal version?
fxcollection
30
fxcollection  

ok thank for the response, i will try to find the mql version

Mladen Rakic
154517
Mladen Rakic  

...

fxcollection

As far as I see, you should try at this thread : https://www.mql5.com/en/forum/general (since it seems to be a well known heiken ashi smoothed indicator) There are already multi time frame version at that thread too

fxcollection:
ok thank for the response, i will try to find the mql version
Дамир
58
Дамир  

hello

Hello Please make MTF and alert when crossing levels 20 - 80.

thx

Files:
kprmst.mq4 4 kb
Mladen Rakic
154517
Mladen Rakic  

Here you go

mort000:
Hello Please make MTF and alert when crossing levels 20 - 80. thx
Files:
kprmst.gif 38 kb
Mladen Rakic
154517
Mladen Rakic  

Parabolic SAR 2 multi time frame

Parabolic SAR 2 (the one from this post : https://www.mql5.com/en/forum/177358/page5 ) multi time frame version

Updated version posted here : https://www.mql5.com/en/forum/173574

ZIGANI
62
ZIGANI  
mladen:
Here you go

not easier here's so

switch(TimeFrame) {

case 1 : TimeFrameStr="Period_M1"; break;

case 5 : TimeFrameStr="Period_M5"; break;

case 15 : TimeFrameStr="Period_M15"; break;

case 30 : TimeFrameStr="Period_M30"; break;

case 60 : TimeFrameStr="Period_H1"; break;

case 240 : TimeFrameStr="Period_H4"; break;

case 1440 : TimeFrameStr="Period_D1"; break;

case 10080 : TimeFrameStr="Period_W1"; break;

case 43200 : TimeFrameStr="Period_MN1"; break;

default : TimeFrameStr="Current Timeframe"; TimeFrame =0; }
Mladen Rakic
154517
Mladen Rakic  

Easier from this ?

string sTfTable[] = {"M1","M5","M15","M30","H1","H4","D1","W1","MN"};

int iTfTable[] = {1,5,15,30,60,240,1440,10080,43200};

string timeFrameToString(int tf)

{

for (int i=ArraySize(iTfTable)-1; i>=0; i--)

if (tf==iTfTable) return(sTfTable);

return("");

}[/CODE]

You decide which is shorter and easier, and even though it is up to anybodies preference what kind of coding will one use, I'll stick to my mode because it is much easier to add "custom" time frames to it (offline charts for example) and is simpler (and I am a sucker for simplicity when it comes to coding)

Wish you (and all the members) a happy new year in advance

ZIGANI:
not easier here's so

[CODE]switch(TimeFrame) {

case 1 : TimeFrameStr="Period_M1"; break;

case 5 : TimeFrameStr="Period_M5"; break;

case 15 : TimeFrameStr="Period_M15"; break;

case 30 : TimeFrameStr="Period_M30"; break;

case 60 : TimeFrameStr="Period_H1"; break;

case 240 : TimeFrameStr="Period_H4"; break;

case 1440 : TimeFrameStr="Period_D1"; break;

case 10080 : TimeFrameStr="Period_W1"; break;

case 43200 : TimeFrameStr="Period_MN1"; break;

default : TimeFrameStr="Current Timeframe"; TimeFrame =0; }
ZIGANI
62
ZIGANI  
mladen:
Easier from this ?
string sTfTable[] = {"M1","M5","M15","M30","H1","H4","D1","W1","MN"};

int iTfTable[] = {1,5,15,30,60,240,1440,10080,43200};

string timeFrameToString(int tf)

{

for (int i=ArraySize(iTfTable)-1; i>=0; i--)

if (tf==iTfTable) return(sTfTable);

return("");

}

You decide which is shorter and easier, and even though it is up to anybodies preference what kind of coding will one use, I'll stick to my mode because it is much easier to add "custom" time frames to it (offline charts for example) and is simpler (and I am a sucker for simplicity when it comes to coding)

Wish you (and all the members) a happy new year in advance

and you Happy New Year!!!