The Code Wizard Templates.

 
 

Glad to find a friend in the road.

I was testing ideas like you have. Mainly focused on crate a custom installation of MT4. Something like Forex-TSD MT4.

Because that I've asked some help: https://www.mql5.com/en/forum/178569

I was looking for way to include many indicators/EA/servers in one setup.

This indeed to extract a MT setup, include what you want and create a new setup with maybe 100 indicators or more.

Main problem is, as you showed in the picture, after setup is running a temp folder (presetup) is created but the file inside are delivered in a way I can't understand.

I believe the next step after you've clicked everything the setup will unpack the default files.

Maybe we could work together.

 
Theres a lot more to this then I am showing you but mine may be to complicated for most. If you start with the simple example above, then try adding some other things of your own. Just remember to save a back up copy of your work because MQ will replace it with their code each time you update MQ. Keit

Hell, it's too complicated as it is!

Could you give a specific example of where altering these template files would prove useful? I see references to your scripting language included in the examples (I first recall seeing this in a Hans123 EA you posted on StrategyBuilderFX years ago..). What added functionality does this provide, above and beyond what one could achieve with MQL?

Personally, I'd be all for delving deeper into the innards on MT if I thought I had well and truly cracked the 'HolyGrail' problem - until then, it just seems like a solution that is looking for a problem...

 

Linuxser

If I'am understanding you right your talking about something different. You can use a setup program to install either a complete MT platform with all your other files or have it install over an existion MT directory. Theres one problem most install packages will write to the windows registry keys. These entries is how windows knows were the files are located. Most people using MT tend to move files around and delete file manually when no longer need. this will cause registry enteries not to be cleared, if one doesnot use the uninstall to remove the programs. Once the files are deleted manually you may not be abile to use the uninstall after that to clear the registry keys. What you are asking can be done but you need to do it without writing to the registries.

Keit

 
cockeyedcowboy:
Linuxser

If I'am understanding you right your talking about something different. You can use a setup program to install either a complete MT platform with all your other files or have it install over an existion MT directory. Theres one problem most install packages will write to the windows registry keys. These entries is how windows knows were the files are located. Most people using MT tend to move files around and delete file manually when no longer need. this will cause registry enteries not to be cleared, if one doesnot use the uninstall to remove the programs. Once the files are deleted manually you may not be abile to use the uninstall after that to clear the registry keys. What you are asking can be done but you need to do it without writing to the registries.

Keit

Hi,

I re-read the first post carefully and I saw something different first time. Sometimes you see what you want .

Problem is not the registry because MT works clean in presetup. Just after last click some values are write into the registry, the problem is no easy to solve. In fact you can edit some files previous installation as cockeyedcowboy is editing templates to set directory, name, whatever, it's very funny.

 
cockeyedcowboy:
You are right my version of the Hans123 EA was created using this setup as a starting point. If you remember that then you will remember that alot of people wanted me to give them my libraries which I refused. May be I should show people how to create multi purpose libraries of there own. .....

Yes, I do remember that also - but this was not an indirect way of asking you for them now either, I was just genuinely curious!

Thanks for pointing out exactly what templates you were referring to, I wasn't at all sure, but have now seen the light. I still think though that although it's useful to be able to 'arrange' your code-space to your own requirements, it is a little above-and-beyond what most still struggling with MQL itself (myself included) will devote much time to - just my opinion obviously!

 
omelette:
Hell, it's too complicated as it is!

Could you give a specific example of where altering these template files would prove useful? I see references to your scripting language included in the examples (I first recall seeing this in a Hans123 EA you posted on StrategyBuilderFX years ago..). What added functionality does this provide, above and beyond what one could achieve with MQL?

Personally, I'd be all for delving deeper into the innards on MT if I thought I had well and truly cracked the 'HolyGrail' problem - until then, it just seems like a solution that is looking for a problem...

You are right my version of the Hans123 EA was created using this setup as a starting point. If you remember that then you will remember that alot of people wanted me to give them my libraries which I refused. May be I should show people how to create multi purpose libraries of there own.

Any ways, this is not about libraries and its in no way going to help you break the mystery of the HolyGrail. I use this to set up a begaining file the way I start a code project which includes my external libraries. When you start a new code project the file that mq creates looks like whats in the screen shot attached. You can however, have mq create the file containing anything you want by altering the existing files. The file can be made to your preferance and style of coding. You do not have to use the default mq format. Once you change the file, mq will start with your file after that not the MQ file you see below.

Keit

 
omelette:
Yes, I do remember that also - but this was not an indirect way of asking you for them now either, I was just genuinely curious! Thanks for pointing out exactly what templates you were referring to, I wasn't at all sure, but have now seen the light. I still think though that although it's useful to be able to 'arrange' your code-space to your own requirements, it is a little above-and-beyond what most still struggling with MQL itself (myself included) will devote much time to - just my opinion obviously!

Yes Omelette,

As I said in the first post, that what I use is, in most cases, too advance then what most will need. People here came because of Forex not programing, however a lot have picked up on the programing end too. Just though to give some idears.

In case some are still a little confussion as to which templates and wizard I am talking about ...

Keit

 

Can't access the Metatrader 4 mql 4 - Development course

I've spent 30 minutes tryig to actually access the Metatrader 4 mql 4 - Development course without success. can someone give me a link directly to the course?? thanks

Reason: