• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 1:02pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 1:02pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Script to Reverse All Buy & All Sell 12 replies

ECN && STP && Scalping && Hedging - Broker Review - Oct 2009 24 replies

Self-exclusion program, script or function in mt4 2 replies

Looking for MT4 Script: Close all trades when balance is XXX 17 replies

i like to add an indicator script into my own script. what would be the best idea? 3 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 8
Attachments: All about MT4 Program, Indicator, Script & EA
Exit Attachments

All about MT4 Program, Indicator, Script & EA

  • Last Post
  •  
  • Page 1 234 5
  • Page 1 234 5
  •  
  • Post #1
  • Quote
  • First Post: Jan 25, 2014 11:58pm Jan 25, 2014 11:58pm
  •  Tsar
  • Joined Dec 2009 | Status: The New Legend™ | 4,842 Posts
Dear All,

As We know, most Traders used MT4 Platform for TRADE.


There is the Programs written in MetaQuotes Language 4 have different features and purposes:

  1. Expert Advisor is a mechanical trading system (MTS) linked up to a certain chart. An Advisor starts to run with every incoming tick for a given symbol. The Advisor will not be launched for a new, tick if it is processing the previous one at this moment (i.e., the Advisor has not completed its operation yet). The Advisor can both inform you about a possibility to trade and trade at an account automatically sending orders directly to the trade server. Like most trading systems, the terminal supports testing strategies on history data with displaying trading in-and-out points in the chart.
    Experts are stored in terminal_directory\experts.
  2. Custom Indicator is a technical indicator written independently in addition to those already integrated into the client terminal. Like built-in indicators, they cannot trade automatically and are intended for implementing of analytical functions only.
    Custom Indicators are stored in terminal_directory\experts\indicators.
  3. Script is a program intended for a single execution of some actions. Unlike Expert Advisors, Scripts are not run tickwise, but on request.
    Scripts are stored in terminal_dictionary\experts\scripts.
  4. Library is a set of custom functions containing programs most frequently used. Libraries cannot start execution by itself.
    Libraries are recommended to be stored in terminal_directory\experts\libraries.
  5. Included file is a source text of the most frequently used blocks of custom programs. Such files can be included into the source texts of experts, scripts, custom indicators, and libraries at the compiling stage. The use of included files is more preferable than the use of libraries because of additional burden occurring at calling library functions.
    Included files are recommended to be stored in terminal_directory\experts\include




http://www.metatrader4.com/i/logo.gif

Information : http://www.metatrader4.com/



http://i.mql4.com/mql4_logo.gif

Documentation : http://docs.mql4.com


Let's We're discussion about MT4 Platform included : Program, Indicator, Script and EA



Best Regards,
Tsar



MEMO :
I'm NOT Coder / Programmer !

Always looking the GREAT, never left GOOD Point...
  • Post #2
  • Quote
  • Jan 26, 2014 12:05am Jan 26, 2014 12:05am
  •  Tsar
  • Joined Dec 2009 | Status: The New Legend™ | 4,842 Posts
BIG Changes for MT4 Program, in 'One Week' again...
Metaquotes will release MT4 Terminal Build 574 btw still BETA !!!


http://c.mql4.com/images/market/meta..._market_en.png



I don't know exactly what will work and what won't when just a New Metatrader 4 will be 'Active'

I found issued A lot Indicators and EA not work any more, some have to be made New, some will have errors...



http://i.mql4.com/mql4_logo.gif

FORUM : http://forum.mql4.com/60075
Always looking the GREAT, never left GOOD Point...
 
 
  • Post #3
  • Quote
  • Jan 26, 2014 12:57am Jan 26, 2014 12:57am
  •  Kiads
  • | Membership Revoked | Joined May 2012 | 1,218 Posts
Hi My Friend Tsar,

I get this from Ovo website

Updated MT4 Terminal is planned on February 3
Currently, some traders report unexpected update of their MT4 to a build 574, which is commonly known as Beta.
Official banner advertises a new market option in the MT4 starting on February 3rd.
This means the new featured MT4 is supposed to deploy to the traders' machines after this date.
Apparently, such event is expected with worries. What to expect? How to be prepared?

  1. Do not panic. But do not underestimate consequences.
  2. Create a backup of your experts folder now.
  3. Most of your *.mq4 files become defective after the update, while most of the *.ex4 will go on flawlessly. Therefore:
  4. Supposing you have the experts backed up, remove all *.mq4 files from the current experts.
  5. Do not be surprised that content of the experts folder moves to the MQL4folder. The later replaces the former for script storage in the new build.


After all your mq4 code gets removed, the updated MT4 terminal will be much safer, it will not destroy ex4 indicators and experts that would not compile in the new environment. They are expected to work.
Consequences for indicators
The current indicators for offline charts are built under 509 and are distributed in ex4 files, so they will not be affected directly. Nevertheless the brand new MT4 terminal may be unstable in the beginning, so issues may arise.
In case there is unexpected event, please try to detach/attach the indicator, restart the terminal. If it does not help, report it to me.
I do not intend to update the recent 509 versions of my indicators any longer unless there is a fatal bug. The new MQL language is quite different and the new updates need redesign.
UAC issues
If the installation of the MT4 terminal resides in the default location (Program files), then UAC applies. The indicators are not prepared to work in the UAC mode, so if you want to use them, the UAC for MT4 installation must be avoided. There are three options to pick from:

  1. Completely switch off the UAC (I would recommend this step only with a brand new computer/system)
  2. Install your MT4 terminal out of the Program files (UAC applies to this location only as far as I know).
  3. Start your terminal in portable mode



Hope it help and best regard

 
 
  • Post #4
  • Quote
  • Edited at 2:28am Jan 26, 2014 1:08am | Edited at 2:28am
  •  Tsar
  • Joined Dec 2009 | Status: The New Legend™ | 4,842 Posts
My attention (the First time) for Coders & Programmer,

There is "FREE" Editor for MT4 Platform :


https://ssl.gstatic.com/codesite/ph/...efaultlogo.png

Editor for MQL 4 : scite-mql


Hopefully useful...
Always looking the GREAT, never left GOOD Point...
 
 
  • Post #5
  • Quote
  • Jan 26, 2014 1:21am Jan 26, 2014 1:21am
  •  Tsar
  • Joined Dec 2009 | Status: The New Legend™ | 4,842 Posts
Quoting Kiads
Disliked
Hi My Friend Tsar, I get this from Ovo website Updated MT4 Terminal is planned on February 3 Currently, some traders report unexpected update of their MT4 to a build 574, which is commonly known as Beta. Official banner advertises a new market option in the MT4 starting on February 3rd. This means the new featured MT4 is supposed to deploy to the traders' machines after this date. Apparently, such event is expected with worries. What to expect? How to be prepared? Do not panic. But do not underestimate consequences. Create a backup of your experts...
Ignored
Hi Kiads,

Thanks for provide such Information & Solutions...



Best Regard,
Tsar
Always looking the GREAT, never left GOOD Point...
 
 
  • Post #6
  • Quote
  • Jan 26, 2014 3:41am Jan 26, 2014 3:41am
  •  Tsar
  • Joined Dec 2009 | Status: The New Legend™ | 4,842 Posts
Btw... more Sensitive Issue.

I found the INFO : MT4 Program Build 574 got BUG ! And Not Minor BUG


It will see what happens & around the Forums, when everyone gets the upgrade their MT4 Program's
Always looking the GREAT, never left GOOD Point...
 
 
  • Post #7
  • Quote
  • Jan 28, 2014 8:33am Jan 28, 2014 8:33am
  •  Tsar
  • Joined Dec 2009 | Status: The New Legend™ | 4,842 Posts
For someone who's interest want to try MT4 Program build 574 can found in :




http://i.mql4.com/mql4_logo.gif

FORUM : http://forum.mql4.com/60232
Always looking the GREAT, never left GOOD Point...
 
 
  • Post #8
  • Quote
  • Edited at 5:20pm Jan 28, 2014 8:42am | Edited at 5:20pm
  •  Tsar
  • Joined Dec 2009 | Status: The New Legend™ | 4,842 Posts
http://www.ea-coder.com/wp-content/u...74-150x150.png


Metatrader 4 Build 574 - Where are my indicator & EA files ?


The latest MT4 version 4.00 Build 574 (10 Jan 2014) introduces a lot of new features and improvements for the old MT4 platform, however there will be certain compatibility issues with EAs and indicators written for previous builds (i.e. Build 509 back from June 24th 2013).

Users should also be aware that the location of the old \experts\ folder has been moved to a new location. Previously, all MQL4 applications have been stored in subdirectories of <terminal_installation_folder>\experts\ folder and now these will be accessed from a completely different location :

<data_folder>\MQL4\

+ \experts – Expert Advisors (trading robots)

+ \Indicators – custom indicators


+ \Scripts – scripts (MQL4 applications for a single run on the chart)

+ \include – source code MQH and MQ4 files implemented into other programs

+ \libraries – libraries in the form of MQ4 source codes and EX4 executable files compiled from them.
They are used for the dynamic call of the functions contained there by other MQL4 programs

+ \Images – image files for using in resources

+ \files – special “file sandbox”. MQL4 applications are allowed to execute file operations only within this directory.


This also concerns Build 577 (24 Jan 2014)

Once MT4 is automatically updated from build 509 to the newer version, all MQ4, MQH and EX4 files will be relocated to the appropriate folders listed above, but any user created sub-folders and files will need to moved by hand to the appropriate locations after the update is done. Otherwise your custom indicators and plug-ins such as Renko, Range and MedianRenko charting packages will not work.



How to locate Metatrader’s data folder ?

The easiest way to find the data folder is to open MT4, click on the File / Open Data Folder menu item :


http://www.az-invest.eu/wp-content/u...d-contents.png


!
The origin.txt file contains the path to your MT4 installation folder.

You can view this file to verify that this folder is indeed the correct one for your MT4 installation.

Now you can begin copying the files that need to be placed in the new location.



How to get RangeBars and other custom plug-ins working correctly with this MT4 build ?

http://www.az-invest.eu/wp-content/u...-and-above.png


It is best to install the custom charting package with MT4 build 509, prior to the update to 574 and beyond. This way all the files will automatically get relocated once MT4 is updated (the release of the new build is scheduled by MetaQuotes for February 3rd 2014, but different brokers will probably provide the update sooner or some time after this date. ).

It is also recommended to download the latest updates for Range Bars, Renko, Median Renko and PointO charts as the latest updates also include compilations for MT4 Build 574 and above.

The plug-ins designed for the latest build (at the time of writing this post it is Build 577) can be easily identified by the _b574 suffix in the indicator’s file name. These will be placed in your <terminal_installation_folder>\MQL4 folder after you run the update scripts for individual plug-ins or if you download and install the latest custom charting plug-ins.

Please note that these compilations will only work correctly with MT4 build 574 and above. They are not compatible with build 509 or below just as the files without the suffix are not compatible with builds 574 and higher.


!!
Indicators without the _b574 suffix are designed for use with MT4 builds up to 509 (20 Jun 2013).
They are distributed for backward compatibility purposes only.



What happens is you’ve already updated to the latest MT4 build and the terminal will not automatically relocate the files or you’ve just downloaded and installed the latest updates for the plug-ins ?

If you are not using User Account Control (UAC) or have turned off the use of UAC, which was introduced starting with Windows Vista, you are already good to go. Just run your MT4 terminal and use the plug-ins with the _b574 suffix. No need to read the rest of this post.

The situation is a bit more complicated, when using UAC. You can do one of two things to have access the updated plug-ins – Run MT4 in portable mode, which means starting the MT4 terminal with the /portable switch (simply run “terminal.exe /portable” each time, instead of “terminal.exe”), or you can follow the guidelines below to permanently copy the files from your local MQL4 folder to the MQL4 data folder.

1. Open your MT4 installation folder and your data folder in separate windows (to be able to drag and drop files between folders),

2. Copy or move the MQL4 folder from your <terminal_installation_folder> directly to <data_folder>,

http://www.az-invest.eu/wp-content/u...MQL4-merge.png


!!!
Make sure to select YES once Windows prompts you if you want to merge the contents of the copied folder with the existing <data_folder>\MQL4\ folder.


All done ! Now you can restart MT4 and have access to the custom charting plug-in files in the latest MT4 build.
Always looking the GREAT, never left GOOD Point...
 
 
  • Post #9
  • Quote
  • Edited at 9:49am Jan 28, 2014 9:29am | Edited at 9:49am
  •  Tsar
  • Joined Dec 2009 | Status: The New Legend™ | 4,842 Posts
http://www.ea-coder.com/wp-content/u...74-150x150.png


Installing the video trade recorder in Metatrader4 build 574 or higher


Metatrader4 build 574 brings in new features and many fundamental changes, which unfortunately add a few extra steps to the installation procedure of the Video Trade Recorder plug-in. To install and properly setup the product you’ll need to follow the steps below :

1. Download and run the setup file for build 574. The download link is provided in the e-mail containing the product key (please contact support if you don’t have this download link),

2. Choose your Metatrader installation folder (this is where terminal.exe is located) as the destination location when installing the recorder,

3. Open your MT4 terminal and open you MT4 data folder by choosing Open Data Folder from the File menu,

http://www.az-invest.eu/wp-content/u...d-contents.png


4. Open your MT4 installation folder. This has to be done in a new window as both the installation folder and data folder will be needed to copy files between the folders.

5. Now that you have both folders side by side ( <metatrader-data-folder> and <metatrader-installation-folder> ) you can copy or move the contents of <metatrader-installation-folder>/MQL4 to <metatrader-data-folder>/MQL4.

http://www.az-invest.eu/wp-content/u...MQL4-merge.png


!
Make sure to select YES once Windows prompts you if you want to merge the contents of the copied folders with the existing folders under <data_folder>\MQL4\ .


6. Restart MT4 and you’re ready to go.

!
Trade recordings will be stored in <metatrader-data-folder>/MQL4/files/recordings folder.
Always looking the GREAT, never left GOOD Point...
 
 
  • Post #10
  • Quote
  • Edited at 7:16pm Jan 28, 2014 6:41pm | Edited at 7:16pm
  •  Tsar
  • Joined Dec 2009 | Status: The New Legend™ | 4,842 Posts
The update's main features include changes in MQL4 programming language.
It has been substantially revised and it's functionality...

The Beta test of the New MQL4 programming version is currently underway !!!



http://c.mql4.com/forum/2014/01/bann...t_En_small.png



I don't know exactly what will MQL4 program work when New Metatrader 4 will be 'Active'

I found issued MQL4 Language have errors and totally problem convert...



http://i.mql4.com/mql4_logo.gif

FORUM : http://forum.mql4.com/60417
Always looking the GREAT, never left GOOD Point...
 
 
  • Post #11
  • Quote
  • Jan 28, 2014 8:38pm Jan 28, 2014 8:38pm
  •  Doji Star
  • Joined Apr 2007 | Status: Member | 558 Posts
Hi Tsar
Thank you for starting this thread. This is really helpful.
 
 
  • Post #12
  • Quote
  • Jan 28, 2014 8:55pm Jan 28, 2014 8:55pm
  •  Tsar
  • Joined Dec 2009 | Status: The New Legend™ | 4,842 Posts
Quoting Doji Star
Disliked
Hi Tsar Thank you for starting this thread. This is really helpful.
Ignored
Thank's Doji Star.

Start back Up Data & Indicators today...
That's must be We do before NEW MT4 Platform auto updates later. Destroy it ALL
Always looking the GREAT, never left GOOD Point...
 
 
  • Post #13
  • Quote
  • Jan 28, 2014 10:47pm Jan 28, 2014 10:47pm
  •  Kiads
  • | Membership Revoked | Joined May 2012 | 1,218 Posts
Quoting Tsar
Disliked
{quote} Thank's Doji Star. Start back Up Data & Indicators today... That's must be We do before NEW MT4 Platform auto updates later. Destroy it ALL
Ignored
Save your MT4 build 509 back up to flash disk or external hard disk, and also create 1 back rar file for the whole MT4 build 509 folder to back up the back up.. lol.
that the safest way...
 
 
  • Post #14
  • Quote
  • Jan 28, 2014 11:50pm Jan 28, 2014 11:50pm
  •  Kiads
  • | Membership Revoked | Joined May 2012 | 1,218 Posts
Quoting Tsar
Disliked
{image} Metatrader 4 Build 574 - Where are my indicator & EA files ? The latest MT4 version .
Ignored
Hi My Friend Tsar,

Would you please give the links of the above information in post 8 and 9 ?

Thanks in advance and best regard.

MTH
 
 
  • Post #15
  • Quote
  • Jan 29, 2014 1:39am Jan 29, 2014 1:39am
  •  Tsar
  • Joined Dec 2009 | Status: The New Legend™ | 4,842 Posts
Quoting Kiads
Disliked
{quote} Hi My Friend Tsar, Would you please give the links of the above information in post 8 and 9 ? Thanks in advance and best regard. MTH
Ignored
Hi Kiads Bro,

Send a PM
Always looking the GREAT, never left GOOD Point...
 
 
  • Post #16
  • Quote
  • Jan 29, 2014 1:50am Jan 29, 2014 1:50am
  •  Kiads
  • | Membership Revoked | Joined May 2012 | 1,218 Posts
Quoting Tsar
Disliked
{quote} Hi Kiads Bro, Send a PM
Ignored
Can't PM you Brother.. , Dunno why ?
 
 
  • Post #17
  • Quote
  • Edited at 2:22am Jan 29, 2014 2:10am | Edited at 2:22am
  •  Tsar
  • Joined Dec 2009 | Status: The New Legend™ | 4,842 Posts
Quoting Kiads
Disliked
{quote} Can't PM you Brother.. , Dunno why ?
Ignored
I'm so Sorry... Almost 2 weeks I've got the Trouble these

Started FireFox v25.0 (Now I used v 26.0) always protected
Used Java & Flash the Last Version... btw didn't solve the Problem.

Sometimes I can use Icon smiles, edit my Posted & read my PM's... often can not

Still looking the Solution. I think... I must reinstall Win7 again with New & Clean Install
Always looking the GREAT, never left GOOD Point...
 
 
  • Post #18
  • Quote
  • Edited at 9:34am Jan 29, 2014 9:14am | Edited at 9:34am
  •  jpadvisor
  • Joined Jul 2013 | Status: Member | 2,603 Posts
Hi Tsar,

From today all .exe indis dont work. Standard are working but not others. Which is the correct procedure to fix them on Mt4? Thk so much for your answer.
Per aspera ad astra
 
 
  • Post #19
  • Quote
  • Edited at 6:10pm Jan 29, 2014 5:52pm | Edited at 6:10pm
  •  Tsar
  • Joined Dec 2009 | Status: The New Legend™ | 4,842 Posts
Quoting jpadvisor
Disliked
Hi Tsar, From today all .exe indis dont work. Standard are working but not others. Which is the correct procedure to fix them on Mt4? Thk so much for your answer.
Ignored
Hi jpadvisor,

After the MT4 Program have updates. Did you already according explanations in Post# 8 ?

If your indicators still didn't Worked, that's mean your indicators must be re-write again
Because based MQL4 in MT4 build 574 use C++ Language Program's ! This differs from MT4 build 509 used C Language Program's. More information... read in MQL4 Forum Documentation in the my First Post, please

If used Commercial indicator's, please contact them. They will certainly re-write again, with payment of the Course

The Last Way is look for other indicators in accordance with your Trading Style.
But I'm not really sure... maybe run but most likely have errors
Always looking the GREAT, never left GOOD Point...
 
 
  • Post #20
  • Quote
  • Jan 30, 2014 5:44am Jan 30, 2014 5:44am
  •  jpadvisor
  • Joined Jul 2013 | Status: Member | 2,603 Posts
Quoting Tsar
Disliked
{quote} Hi jpadvisor, After the MT4 Program have updates. Did you already according explanations in Post# 8 ? If your indicators still didn't Worked, that's mean your indicators must be re-write again Because based MQL4 in MT4 build 574 use C++ Language Program's ! This differs from MT4 build 509 used C Language Program's. More information... read in MQL4 Forum Documentation in the my First Post, please If used Commercial indicator's, please contact them. They will certainly re-write again, with payment of the Course ...
Ignored

Hi Tsar,
today also the other MT4 platform made the update to version 574 and all customized indicator became gray and not working. Lukily, as for your advise, I made a backup of them, but I dont understand how to reintroduce them as they are all .ex4 files.
I'm sorry to bother you but i do not know how to overcome the problem. Could you help me? maybe you already explained in the thread but I did not realize which is my case.
Thank you.
Per aspera ad astra
 
 
  • Platform Tech
  • /
  • All about MT4 Program, Indicator, Script & EA
  • Reply to Thread
    • Page 1 234 5
    • Page 1 234 5
0 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2022