Forex
Google

Go Back   Forex Trading > Programming > Metatrader Programming
Forex Forum FAQ Members List Calendar Mark Forums Read


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

 
 
LinkBack (9) Thread Tools
  9 links from elsewhere to this Post. Click to view.
Old 05-31-2006, 04:25 AM
phoenix's Avatar
phoenix phoenix is offline
Senior Member
 
Join Date: May 2006
Posts: 286
phoenix is on a distinguished road
dose it posible to creat any function of "mql code" posting in this forum?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 
Old 05-31-2006, 04:44 AM
firedave's Avatar
firedave firedave is offline
Senior Member
 
Join Date: Nov 2005
Location: Jakarta, Indonesia
Posts: 416
firedave is on a distinguished road
Quote:
Originally Posted by phoenix
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

Example :
PHP Code:
   if(subTotalTrade()>&& TrailingStop>0)
   {
      
total OrdersTotal();
      for(
cnt=0;cnt<total;cnt++)
      {
         
OrderSelect(cntSELECT_BY_POSMODE_TRADES);

         if(
OrderType()<=OP_SELL &&
            
OrderSymbol()==Symbol() &&
            
OrderMagicNumber()==MagicNumber)
         {
               
subTrailingStop(OrderType());
         }
      }
   } 
__________________
David Michael H
"Trader helps traders with sincerity, honesty and integrity"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 
Old 11-29-2006, 12:52 PM
codersguru's Avatar
codersguru codersguru is offline
Senior Member
 
Join Date: Oct 2005
Posts: 986
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Thumbs up

Quote:
Originally Posted by phoenix
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
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?
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm

Last edited by codersguru : 12-12-2006 at 09:53 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 
Old 01-30-2007, 08:24 AM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 14,365
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
- #import function.

- How to set custom color in the indicator code.

- MetaTrader 4 *.mqh File.

- Change arrows or dots.

Last edited by newdigital : 02-07-2007 at 12:27 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 
Old 03-06-2007, 07:34 AM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 14,365
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
- 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.

Last edited by newdigital : 04-10-2007 at 06:57 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 
Old 04-10-2007, 07:20 AM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 14,365
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
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.

Money Management.

Recall result of last trade.

Controlling number of trades.

Last edited by newdigital : 07-12-2007 at 09:36 AM. Reason: added Money Management link
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 
Old 04-22-2007, 06:31 AM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 14,365
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
- webget dll: work with url, remote computer, calendars and so on.

Last edited by newdigital : 04-28-2007 at 11:52 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 
Old 04-26-2007, 07:04 AM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 14,365
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
- 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.

Last edited by newdigital : 09-18-2007 at 08:57 AM. Reason: new link with functions was added
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/metatrader-programming/2333-dose-posible-creat-any-function-mql-code-posting-forum.html
Posted By For Type Date
EA Biblioteka This thread Refback 03-29-2008 12:05 PM
EA Biblioteka This thread Refback 02-26-2008 09:04 PM
EA Biblioteka This thread Refback 02-24-2008 01:24 PM
EA Biblioteka This thread Refback 02-20-2008 07:36 AM
EA Biblioteka This thread Refback 01-15-2008 12:19 PM
EA Biblioteka This thread Refback 10-28-2007 10:06 PM
EA Biblioteka This thread Refback 10-26-2007 03:40 AM
EA Biblioteka This thread Refback 10-17-2007 04:56 PM
EA Biblioteka This thread Refback 10-16-2007 07:16 PM


All times are GMT. The time now is 02:16 AM.