Pat494
Legendary member
- Messages
- 14,614
- Likes
- 1,588
You can also add scripts and experts in the same way.
In step (1), select the "MQ4 Scripts" or "MQ4 Experts" hyperlink in the left menu.
In step (3), select the appropriate radio button.
Note that these objects are stored in the following folders:
Experts: c:/program files/<mt4 broker name>/experts
Scripts: c:/program files/<mt4 broker name>/experts/scripts
Custom indicators: c:/program files/<mt4 broker name>/experts/indicators
Include (program code, e.g. .MQH) files: c:/program files/<mt4 broker name>/experts/include
Templates: c:/program files/<mt4 broker name>/templates
Data files: c:/program files/<mt4 broker name>/experts/files
NOTE: As an alternative to the above, if you simply copy the .MQ4 file into the relevant folder, and then (exit and) re-start MT4, the expert, script or indicator will automatically be recompiled, and appear in the Navigator.
Some other good sources for MT4 indicators (apart from FF's search facility):
http://www.forexfactory.com/showthread.php?t=62722 (see ZIP file attached to post #1)
http://www.forex-tsd.com (perform a forum search)
http://codebase.mql4.com/ (peform a site search)
http://www.forexmt4.com/_MT4_Indicators/
http://www.desynced.net/fx/eas/indicators.php
http://www.greattradingsystems.com/f...-4-indicators/
http://allforexindicators.com/Default.aspx
http://www.metatraderlibrary.com/forex-indicators/
If you want to delete an expert, script or indicator (CAREFUL!), use Windows Explorer to go to the appropriate folder, and delete the relevant file with the EX4 extension. For example, if you decide that you no longer want to use PCCI, delete file PCCI.EX4
That will effectively remove PCCI from the custom indicators list in MT4
The file PCCI.MQ4 contains the source code for PCCI (which you copied from the web resource), the PCCI.EX4 file is the executable code that was created when you did your compile back in step (5). If you want to re-instate the indicator, all you need to do is reload the source into MetaEditor (press Ctrl-O and open the relevant file), and then press F5 to compile it, which re-creates the executable file used by MT4.
A more simple way of deleting an expert, script or indicator is by using the Navigator (press Ctrl-N). Click on the item you wish to delete, press the DELETE key, and click Yes to confirm the deletion. Note that this deletes both the source (.MQ4) and executable (.EX4) files.
Happy charting!
David
Footnote: the above is repeated in the attached Word doc. If you prefer, you can download the doc, add your own notes to it, and/or print it out for handy reference.
NOTE: More tips here.
March 27, 2012: Added attached document "How to create a ruler to measure multiple R-multiple profit targets".This is handy if you want a measuring tool where you want to vary a SL setting, and have multiple TP settings (that are R-multiples of the SL) adjust themselves automatically. It uses MT4's in-built Fibonacci Channels facility, so there's no third-party indy required.
Miscellaneous links
Solving Vista/Win7 problems: http://4xtrader.net/how-to-run-metat...ws-7-or-vista/
7bit's Debug View thread: http://www.forexfactory.com/showthread.php?t=245303
Steve Hopwood's EA shell: http://www.forexfactory.com/showthread.php?t=282290
MQL4 tutorials: http://www.forexfactory.com/showthread.php?t=6011
see also: http://www.forexfactory.com/showthre...54#post4485554
MQL4 tutorials (full list of links):
http://www.forexfactory.com/showthread.php?t=6011 (zip files with full tutorials)
http://www.metatrader.info/node/34
http://articles.mql4.com/404
http://articles.mql4.com/417
http://articles.mql4.com/466
http://articles.mql4.com/516
http://articles.mql4.com/536
http://book.mql4.com/
http://docs.mql4.com/ (MQL4 reference manual)
http://www.forexfactory.com/showpost.php?p=2160415
Check out Jim Dandy's excellent MQL4 tutorial videos here: http://www.jimdandyforex.com/lessonvideo-links/
Br0ker comparison links: http://www.forexfactory.com/showthread.php?t=282549
TA resources: http://www.forexfactory.com/showthread.php?t=106577
Useful MQL4 functions (my functions library): http://www.forexfactory.com/showthread.php?t=165557
Format of HST files here: http://www.forexfactory.com/showthre...08#post1477708
Export price history to Excel here: http://www.forexfactory.com/showthre...89#post1479389 (see later posts in thread also)
and updated here: http://www.forexfactory.com/showpost...37#post1935637
Export History indicator: http://www.forexfactory.com/showthre...44#post2831344
Export bid/ask to Excel (SMJones, DDE-sample.xls): http://www.forexfactory.com/showthre...23#post1815623
MT4 Expert Advisor Builder: http://sufx.core.t3-ism.net/ExpertAdvisorBuilder/
Another strategy builder: http://forexsb.com/wiki/start
MQL4: Manual: http://book.mql4.com/
Documentation: http://docs.mql4.com/
Interpreting System Tester Report numbers: http://www.metaquotes.net/experts/ar...tester_report/
Link to MQL4 resources: http://www.forexfactory.com/showpost...15#post2160415
Trade/exit management EAs: http://www.forexfactory.com/showthread.php?t=89371 and http://www.forexfactory.com/showthread.php?t=9553
Compendium of EAs (mainly trade management) in forexsaint’s thread: http://www.forexfactory.com/showthread.php?t=193727
Why MT4 is so widely used: http://www.forexfactory.com/showthre...88#post2785588
What the numbers in MT4's Expert Testing report mean: http://articles.mql4.com/83 and http://articles.mql4.com/127
Using MT4 to plot non-forex charts: http://www.forexfactory.com/showthread.php?t=208577
and http://www.forexfactory.com/showthread.php?t=20535
Reading/writing files outside …\experts\files folder: http://articles.mql4.com/720 and http://codebase.mql4.com/4086
Executing external program: http://forum.mql4.com/16121#109022 and http://support.microsoft.com/kb/238245
How to set up e-mail alerts in MT4: http://broguetraders.com/2011/02/11/...in-metatrader/
also http://www.forexfactory.com/showthread.php?t=23638
and http://www.forexfactory.com/showthread.php?t=273034
MetaTrader 4 Strategy Tester Tutorial: http://www.easyexpertforex.com/backt...imization.html
How to attain 90% modelling quality: http://alansforexblog.com/2008/02/27...pert-advisors/
Free data source for EAs: http://www.forextester.com/datasources.html
EA review/constriction info: http://eareview.net/tick-data
Trade juice table on statistical validity: http://www.tradejuice.com/system-tra...ing-system.htm
Ideas on backtesting: http://www.forexfactory.com/showthre...37#post6160037
Possible sources of tick data:
http://ratedata.gaincapital.com/
http://www.forextickdata.com/services.htm
http://www.tickplusdata.com/forexlist.htm
http://disktrading.is99.com/disktrading/#FOREX
OMZ to ASCII converter here: http://www.quote-solutions.com/softw...historycentre/
http://www.tssupport.com/services/hc/
http://www.goforex.net/forex-directory/forex-data.htm
http://www.global-view.com/forex-tra...forex-history/
http://www.thinkingstuff.com/Resourc...5/Default.aspx
MT4 script to convert tick data to FXT/HST format: http://codebase.mql4.com/516
Free programming threads:
http://www.forexfactory.com/showthread.php?t=168808
http://www.forexfactory.com/showthread.php?t=166758
http://www.forexfactory.com/showthread.php?t=212422
http://www.forexfactory.com/showthread.php?t=197798
How to read/interpret the stats on a Trade Explorer: http://www.forexfactory.com/showthread.php?t=410405
Pips, lots, spread, swap, risk, position sizing, margin, leverage calculations explained: http://www.forexfactory.com/showthre...85#post2285285
--------------------------------------------------------------------------------------
And that's all thanks to Hanover on FF
Good lucko
In step (1), select the "MQ4 Scripts" or "MQ4 Experts" hyperlink in the left menu.
In step (3), select the appropriate radio button.
Note that these objects are stored in the following folders:
Experts: c:/program files/<mt4 broker name>/experts
Scripts: c:/program files/<mt4 broker name>/experts/scripts
Custom indicators: c:/program files/<mt4 broker name>/experts/indicators
Include (program code, e.g. .MQH) files: c:/program files/<mt4 broker name>/experts/include
Templates: c:/program files/<mt4 broker name>/templates
Data files: c:/program files/<mt4 broker name>/experts/files
NOTE: As an alternative to the above, if you simply copy the .MQ4 file into the relevant folder, and then (exit and) re-start MT4, the expert, script or indicator will automatically be recompiled, and appear in the Navigator.
Some other good sources for MT4 indicators (apart from FF's search facility):
http://www.forexfactory.com/showthread.php?t=62722 (see ZIP file attached to post #1)
http://www.forex-tsd.com (perform a forum search)
http://codebase.mql4.com/ (peform a site search)
http://www.forexmt4.com/_MT4_Indicators/
http://www.desynced.net/fx/eas/indicators.php
http://www.greattradingsystems.com/f...-4-indicators/
http://allforexindicators.com/Default.aspx
http://www.metatraderlibrary.com/forex-indicators/
If you want to delete an expert, script or indicator (CAREFUL!), use Windows Explorer to go to the appropriate folder, and delete the relevant file with the EX4 extension. For example, if you decide that you no longer want to use PCCI, delete file PCCI.EX4
That will effectively remove PCCI from the custom indicators list in MT4
The file PCCI.MQ4 contains the source code for PCCI (which you copied from the web resource), the PCCI.EX4 file is the executable code that was created when you did your compile back in step (5). If you want to re-instate the indicator, all you need to do is reload the source into MetaEditor (press Ctrl-O and open the relevant file), and then press F5 to compile it, which re-creates the executable file used by MT4.
A more simple way of deleting an expert, script or indicator is by using the Navigator (press Ctrl-N). Click on the item you wish to delete, press the DELETE key, and click Yes to confirm the deletion. Note that this deletes both the source (.MQ4) and executable (.EX4) files.
Happy charting!
David
Footnote: the above is repeated in the attached Word doc. If you prefer, you can download the doc, add your own notes to it, and/or print it out for handy reference.
NOTE: More tips here.
March 27, 2012: Added attached document "How to create a ruler to measure multiple R-multiple profit targets".This is handy if you want a measuring tool where you want to vary a SL setting, and have multiple TP settings (that are R-multiples of the SL) adjust themselves automatically. It uses MT4's in-built Fibonacci Channels facility, so there's no third-party indy required.
Miscellaneous links
Solving Vista/Win7 problems: http://4xtrader.net/how-to-run-metat...ws-7-or-vista/
7bit's Debug View thread: http://www.forexfactory.com/showthread.php?t=245303
Steve Hopwood's EA shell: http://www.forexfactory.com/showthread.php?t=282290
MQL4 tutorials: http://www.forexfactory.com/showthread.php?t=6011
see also: http://www.forexfactory.com/showthre...54#post4485554
MQL4 tutorials (full list of links):
http://www.forexfactory.com/showthread.php?t=6011 (zip files with full tutorials)
http://www.metatrader.info/node/34
http://articles.mql4.com/404
http://articles.mql4.com/417
http://articles.mql4.com/466
http://articles.mql4.com/516
http://articles.mql4.com/536
http://book.mql4.com/
http://docs.mql4.com/ (MQL4 reference manual)
http://www.forexfactory.com/showpost.php?p=2160415
Check out Jim Dandy's excellent MQL4 tutorial videos here: http://www.jimdandyforex.com/lessonvideo-links/
Br0ker comparison links: http://www.forexfactory.com/showthread.php?t=282549
TA resources: http://www.forexfactory.com/showthread.php?t=106577
Useful MQL4 functions (my functions library): http://www.forexfactory.com/showthread.php?t=165557
Format of HST files here: http://www.forexfactory.com/showthre...08#post1477708
Export price history to Excel here: http://www.forexfactory.com/showthre...89#post1479389 (see later posts in thread also)
and updated here: http://www.forexfactory.com/showpost...37#post1935637
Export History indicator: http://www.forexfactory.com/showthre...44#post2831344
Export bid/ask to Excel (SMJones, DDE-sample.xls): http://www.forexfactory.com/showthre...23#post1815623
MT4 Expert Advisor Builder: http://sufx.core.t3-ism.net/ExpertAdvisorBuilder/
Another strategy builder: http://forexsb.com/wiki/start
MQL4: Manual: http://book.mql4.com/
Documentation: http://docs.mql4.com/
Interpreting System Tester Report numbers: http://www.metaquotes.net/experts/ar...tester_report/
Link to MQL4 resources: http://www.forexfactory.com/showpost...15#post2160415
Trade/exit management EAs: http://www.forexfactory.com/showthread.php?t=89371 and http://www.forexfactory.com/showthread.php?t=9553
Compendium of EAs (mainly trade management) in forexsaint’s thread: http://www.forexfactory.com/showthread.php?t=193727
Why MT4 is so widely used: http://www.forexfactory.com/showthre...88#post2785588
What the numbers in MT4's Expert Testing report mean: http://articles.mql4.com/83 and http://articles.mql4.com/127
Using MT4 to plot non-forex charts: http://www.forexfactory.com/showthread.php?t=208577
and http://www.forexfactory.com/showthread.php?t=20535
Reading/writing files outside …\experts\files folder: http://articles.mql4.com/720 and http://codebase.mql4.com/4086
Executing external program: http://forum.mql4.com/16121#109022 and http://support.microsoft.com/kb/238245
How to set up e-mail alerts in MT4: http://broguetraders.com/2011/02/11/...in-metatrader/
also http://www.forexfactory.com/showthread.php?t=23638
and http://www.forexfactory.com/showthread.php?t=273034
MetaTrader 4 Strategy Tester Tutorial: http://www.easyexpertforex.com/backt...imization.html
How to attain 90% modelling quality: http://alansforexblog.com/2008/02/27...pert-advisors/
Free data source for EAs: http://www.forextester.com/datasources.html
EA review/constriction info: http://eareview.net/tick-data
Trade juice table on statistical validity: http://www.tradejuice.com/system-tra...ing-system.htm
Ideas on backtesting: http://www.forexfactory.com/showthre...37#post6160037
Possible sources of tick data:
http://ratedata.gaincapital.com/
http://www.forextickdata.com/services.htm
http://www.tickplusdata.com/forexlist.htm
http://disktrading.is99.com/disktrading/#FOREX
OMZ to ASCII converter here: http://www.quote-solutions.com/softw...historycentre/
http://www.tssupport.com/services/hc/
http://www.goforex.net/forex-directory/forex-data.htm
http://www.global-view.com/forex-tra...forex-history/
http://www.thinkingstuff.com/Resourc...5/Default.aspx
MT4 script to convert tick data to FXT/HST format: http://codebase.mql4.com/516
Free programming threads:
http://www.forexfactory.com/showthread.php?t=168808
http://www.forexfactory.com/showthread.php?t=166758
http://www.forexfactory.com/showthread.php?t=212422
http://www.forexfactory.com/showthread.php?t=197798
How to read/interpret the stats on a Trade Explorer: http://www.forexfactory.com/showthread.php?t=410405
Pips, lots, spread, swap, risk, position sizing, margin, leverage calculations explained: http://www.forexfactory.com/showthre...85#post2285285
--------------------------------------------------------------------------------------
And that's all thanks to Hanover on FF
Good lucko