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

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 08-27-2008, 08:11 AM
Junior Member
 
Join Date: Aug 2008
Posts: 1
anicomm is on a distinguished road
Re work on advisor need help

I am trying to learn how to program for mt4 and I am re working an advisor to fit the system i want to try and i have it working kinda. my main issue is it opens 5 to 10 orders and then goes back and modifies them i need it too check for open orders after the first one is placed.

the system is based on Ma's it also doesnt quite open orders at the beginning of the breakout like i would like it too
Attached Files
File Type: mq4 eurgbpusd15.mq4 (5.0 KB, 2 views)
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!
Reply With Quote
  #2 (permalink)  
Old 08-27-2008, 08:32 AM
Senior Member
 
Join Date: Nov 2006
Posts: 308
luxinterior is on a distinguished road
You need to use the OrdersTotal() function to make sure there are no open orders before placing one. Look in the help manual, it's your best friend!

Lux
__________________
Build An Expert Advisor. FREE E-course As Seen On TV
ForexArea.com
Users of Gap Trader from 'Forex-Assistant' MUST Read This
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!
Reply With Quote
  #3 (permalink)  
Old 09-02-2008, 10:18 PM
Junior Member
 
Join Date: Nov 2006
Posts: 18
hayseed is on a distinguished road
reworked

hey anicomm..... assuming your wanting it to open only 1 order at a time this should do it.....

there were a few things commented out......h
Attached Files
File Type: mq4 eurgbpusd15 v1.mq4 (5.0 KB, 5 views)
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!
Reply With Quote
Reply

Bookmarks


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Work with me. FXBabe Expert Advisors - Metatrader 4 32 05-16-2008 02:39 PM
Let's all work together jturns23 General Discussion 5 03-06-2008 11:50 AM
Need Help With EA that does not work shorttermtrader Metatrader 4 0 05-02-2007 02:55 PM
This Ea Really Work sps8 Expert Advisors - Metatrader 4 18 04-02-2007 09:30 PM
Help me!!!! Why this EA doesn't work???? metastock Expert Advisors - Metatrader 4 3 02-17-2007 06:31 AM


All times are GMT. The time now is 01:57 AM.



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