• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 4:00pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 4:00pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

BASKET TRADE Management: Using multiple trade management EA's on basket trades 9 replies

Basket Knights - A Basket Trading Round Table 1,310 replies

Trade manager EA for basket trading 1 reply

MT4 Error Handler 3 replies

2009.03.11 15:41:15Tester memory handler: tester stopped because not enough memory 19 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 1
Attachments: Basket trading manager & trade handler
Exit Attachments
Tags: Basket trading manager & trade handler
Cancel

Basket trading manager & trade handler

  • Post #1
  • Quote
  • First Post: Nov 7, 2012 10:22am Nov 7, 2012 10:22am
  •  daemon_delux
  • | Joined Dec 2011 | Status: Charting the trades ... | 918 Posts
Hi guys,

I'm afraid I've hit a bit of a standstill here, in the code, and I don't know what's wrong with this.

Maybe lend some help? The current progress of the EA should show me on-screen the current profit from the basket trades opened with the 419 magic number. However, all it it showing is "-535.6" or "535.6".

The problem block of the EA is attached, hope to hear from you soon.
Attached File(s)
File Type: mq4 Handler.mq4   4 KB | 210 downloads
Please, just slap me around if I'm being silly ...
  • Post #2
  • Quote
  • Last Post: Nov 9, 2012 4:10pm Nov 9, 2012 4:10pm
  •  dostapyuk
  • | Membership Revoked | Joined Nov 2011 | 55 Posts
Quoting daemon_delux
Disliked
Hi guys,

I'm afraid I've hit a bit of a standstill here, in the code, and I don't know what's wrong with this.

Maybe lend some help? The current progress of the EA should show me on-screen the current profit from the basket trades opened with the 419 magic number. However, all it it showing is "-535.6" or "535.6".

The problem block of the EA is attached, hope to hear from you soon.
Ignored
Hi daemon_delux,

Looking into your code, I noticed that you use 'Bid' and 'Ask'. Instead, use MarketInfo(OrderSymbol(),MODE_BID) and MarketInfo(OrderSymbol(),MODE_ASK). Also, notice that different pairs have different Point values. For this, use MarketInfo(OrderSymbol(),MODE_POINT).

Good luck!

Dan.
 
 
  • Platform Tech
  • /
  • Basket trading manager & trade handler
  • Reply to Thread
0 traders viewing now
Top of Page
  • 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 / ©2023