Forex



Go Back   Forex Trading > Programming > MetaTrader
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Closed Thread
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-31-2006, 05:25 AM
phoenix's Avatar
Senior Member
 
Join Date: May 2006
Posts: 319
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #2 (permalink)  
Old 05-31-2006, 05:44 AM
firedave's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Jakarta, Indonesia
Posts: 414
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #3 (permalink)  
Old 11-29-2006, 01:52 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
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 10:53 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #5 (permalink)  
Old 01-16-2007, 09:25 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,054
Blog Entries: 241
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
Quote:
Originally Posted by newdigital
There are some functions explanation:

- 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.

- the other money management functions.

- how to code one order per MetaTrader, or one order per simbol (eurusd, gbpusd ...), or one order per chart.
- drawdown code.

- drawing rectangles on charts.

Last edited by newdigital; 07-08-2008 at 06:13 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #6 (permalink)  
Old 01-30-2007, 09:24 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,054
Blog Entries: 241
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 or text.

Last edited by newdigital; 07-14-2008 at 01:42 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #7 (permalink)  
Old 03-06-2007, 08:34 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,054
Blog Entries: 241
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 07:57 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #8 (permalink)  
Old 04-10-2007, 08:20 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,054
Blog Entries: 241
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 10:36 AM. Reason: added Money Management link
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #9 (permalink)  
Old 04-22-2007, 07:31 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,054
Blog Entries: 241
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 12:52 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
  #10 (permalink)  
Old 04-26-2007, 08:04 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,054
Blog Entries: 241
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 09:57 AM. Reason: new link with functions was added
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Closed Thread

Bookmarks

Tags
fractal wizard


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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


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



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.