Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
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

 
 
Thread Tools
 
Old 11-23-2006, 06:32 PM
Member
 
Join Date: Oct 2006
Posts: 73
junglelion is on a distinguished road
New EA Design Help

This code

int TOrders = OrdersTotal();
Alert("TOrders " + TOrders);

opens 5 alerts for 6 open orders, whereas the requirement is for just 1 alert. What am I doing wrong here ?

Okay when I press compile it opens 5 alerts, but when I move between timeframes it opens just 1 alert as required.

My objective is to list all open orders whether opened manually or by the EA.


Okay I tried this code

double yu = MarketInfo(Symbol(),MODE_BID);
Alert(yu);


and it opened 5 alerts for 5 chart windows.

Last edited by junglelion; 11-23-2006 at 06:55 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!
 

Bookmarks
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
EA design: Trailing Stop and Take Profit daraknor Suggestions for Trading Systems 12 07-10-2009 11:07 PM


All times are GMT. The time now is 01:29 PM.



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