• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 4:47am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 4:47am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Any programmer help to code at reasonable price - Tunnel idea EA 0 replies

Newbie programmer.. a quick glance would help a lot 5 replies

Request for any programmer that can help 14 replies

NEED help from Profesional Programmer CREATE THIS Indicator... 0 replies

need help a programmer 0 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 1
Attachments: I Need Quick Help From Any Programmer
Exit Attachments

I Need Quick Help From Any Programmer

  • Post #1
  • Quote
  • First Post: Dec 7, 2009 5:24pm Dec 7, 2009 5:24pm
  •  ematrader
  • | Joined Sep 2007 | Status: Member | 70 Posts
http://www.forexfactory.com/showthre...=209883&page=3

issues resolved
lot increments

Issues still not resolved (Lets go one by one)

EA opens one trade at a time only.
What i want is...
If one long trade is open
EA should keep opening trades (long and short) if new conditions are met according to the system regardless of number of long and short position are still open. (Thats how i trade this system manually)

I'm using this code in my EA, but its not helping.
extern int MaxTrades = 10;

Its still open one trade at a time, and will not open another trade untill the open trade is closed. I'll miss many trade if i'm trading from bigger timeframe i'e: 1h and up.

Thanks
Regards,
EMATRADER
  • Post #2
  • Quote
  • Dec 7, 2009 5:53pm Dec 7, 2009 5:53pm
  •  Ronald Raygun
  • Joined Jul 2007 | Status: 31 y/o Investor/Trader/Programmer | 5,016 Posts
Doesn't help without the code...
 
 
  • Post #3
  • Quote
  • Dec 7, 2009 7:03pm Dec 7, 2009 7:03pm
  •  ematrader
  • | Joined Sep 2007 | Status: Member | 70 Posts
Quoting Ronald Raygun
Disliked
Doesn't help without the code...
Ignored


As i said the EA will be only available to everyone on 01-01-10.
Again, my EA will be 100% free. I want to do the modification myself, during this i will for sure a bit a programming as well.

Here is the sample EA generated by an online tool.
Any programer here. Can you please modify this EA so it can open more then one trade at a time.
Attached File
File Type: mq4 SAMPLE ONLY FOR CODING HELP EMATRADER .mq4   9 KB | 174 downloads
 
 
  • Post #4
  • Quote
  • Dec 7, 2009 8:11pm Dec 7, 2009 8:11pm
  •  hayseed
  • Joined Nov 2006 | Status: Member | 3,539 Posts
hey ematrader.... you can add a condition that will allow for the user to select 1 trade or multiple trades ..... just in case someone prefers single trades.....


Inserted Code
 
   //Buy
   if (Order == SIGNAL_BUY && ((EachTickMode && !TickCheck) || (!EachTickMode && (Bars != BarCount)))) {
      if(!IsTrade || MultipleOrders) {

you can see i added MultipleOrders to the if(!IsTrade) condition.... also add code below to inputs..... do same for sell side.....h

Inserted Code
 
extern bool MultipleOrders = true;

//--

//--

Inserted Code
 
  //Sell
   if (Order == SIGNAL_SELL && ((EachTickMode && !TickCheck) || (!EachTickMode && (Bars != BarCount)))) {
      if(!IsTrade || MultipleOrders) {
to trade and code, keep both simple... no call to impress....h
 
 
  • Post #5
  • Quote
  • Dec 8, 2009 1:28am Dec 8, 2009 1:28am
  •  tomhliles
  • | Additional Username | Joined Dec 2006 | 163 Posts
the approach realy depends on the system

without knowing the exact entry/exit rules

no one is gonna be able to really help you

i recommend you post a section of code, and what youd like to change about it
 
 
  • Post #6
  • Quote
  • Dec 8, 2009 9:28am Dec 8, 2009 9:28am
  •  Ronald Raygun
  • Joined Jul 2007 | Status: 31 y/o Investor/Trader/Programmer | 5,016 Posts
Tom, if that sample is anything like his full code, I bet he used the expert advisor builder.
 
 
  • Post #7
  • Quote
  • Last Post: Dec 8, 2009 9:54am Dec 8, 2009 9:54am
  •  tomhliles
  • | Additional Username | Joined Dec 2006 | 163 Posts
i never looked at the sample

he stated he made it using a online tool, n wants some1 to make it take more than 1 trade

he should try to make his on ea at my tutorial thread, then ask questions there

Quoting Ronald Raygun
Disliked
Tom, if that sample is anything like his full code, I bet he used the expert advisor builder.
Ignored
 
 
  • Platform Tech
  • /
  • I Need Quick Help From Any Programmer
  • Reply to Thread
0 traders viewing now
Top of Page
Forex Factory Blog Updated: Alerting All Members
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2022