i just seen a forum that has the function of posting mql code into the forum
it's easier and automatically change the color into the Metaedtor-like scheme
this will be more helpful to post the code here without attacthing files
hope this is posible and someone expeert can creat it
I think you could wrap the code with PHP tags. The button is on the right of the editing tools (bold, italic, underline, etc.). Hope this help
total = OrdersTotal();
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
This is very helpful idea!
But we are talking about vBulletin addon which need a lot of work!
Do you have link to this addon or the forum?
There are some functions explanation:
- Collection of useful MT4 functions for coding by wolfe.
- Professional MM function by Nicholishen.
- Money managment function by Kalenzo.
- some simple MM codes.
- FILE_READ | FILE_WRITE function.
- DefindTrade(..) function by phoenix.
- Date format function.
- alert display function.
- sleep() function.
- Function for high and low.
- iCustom function: good threa by Codersguru.
- email/sms functions links.
- all the functions by Codersguru website.
- Function that returns an Array.
- IsStopped( ) function.
- How to use Hour() function.
- Function to effectively close all orders.
- Alert Once.
- Alerts: many functions and examples.
- Very IMPORTANT for ALL MTF indicators.
- Easy iCustom and Alerts!: very good thread by Codersguru.
- Highest high.
- How to alert only at candle close.
- icustom function links.
- zero devide fixing.
- zero devide fixing totally.
- the other money management functions.
- how to code one order per MetaTrader, or one order per simbol (eurusd, gbpusd ...), or one order per chart, or one per candle.
- drawdown code.
- drawing rectangles on charts.
- #import function.
- How to set custom color in the indicator code.
- MetaTrader 4 *.mqh File.
- Change arrows or dots or text.
- all the functions in library files: original Extend MQL!! thread.
- how to delete one perding order if the other one was executed.
- cancelling pending orders.
- Automatic Magic Function.
- 'only one trade a day' function.
how to lock source code (mql4 program protection codes): this Codersguru article and this thread on our forum.
how to lock the functions: the thread is here.
Recall result of last trade.
Controlling number of trades.
- webget dll: work with url, remote computer, calendars and so on.
- Execute SQL from Metatrader: about connecting MetaTrader to a Microsoft SQL Server.
- Programming Modules with many programming functions. Thanks iscuba11.
- various helpful MQL4 codes from RickD.
- How allow the EA to run only during June 2007 for example.
- Need procedure to only trade at certain times
- Idea about new order functions: good discussion with examples.
- break even code in EAs.
- setting the levels in an indicator by coding.
- Extra Buffer.
- setting the levels in a indicator.
- Trade context is busy: how to solve this problem.
- Trading Times Enhancement: very usefull code about only trade during certain periods.
- avoid plotting the EA on the wrong chart: some usefull codes about EA and certain timefame to trade.
- Use GlobalVariableGet() in an indicator: good thread with codes and explanation.
- List of Arrow Style and others like like fractal, circle, arrow up, arrow down and so on.