Programmer required to help out with a minor script.....

Nov 08, 2010 at 00:25
1,046Lượt xem
7 Replies
Tham gia từ May 18, 2010   40bài viết
Nov 08, 2010 at 00:25
I have a universal hedger that trades pairs in diffrent sections

like eurusd usdjpy eurchf are sell pairs and usdchf eurgbp nzdusd are buy pairs....i want this set to be reversed, i tried changing the OP_BUY with OP_SELL in metaeditor... dint work!!! guess i am not good at it afterall 😁

help will be appreciated. I repeat, only appreciated😎
Elkart
forex_trader_7
Tham gia từ Aug 01, 2009   895bài viết
Nov 08, 2010 at 06:28 (đã sửa Nov 08, 2010 at 06:30)
If you change OP_Buy to OP_Sell, you'll have to change the Ask /Bid as well.

If you don't you'll get error messages. Doesn't help to just change the transaction type, you'll have to change the price you do the transaction at. Invert them as well.

Tham gia từ May 18, 2010   40bài viết
Nov 08, 2010 at 06:57
thanks man!! 😄
Elkart
forex_trader_7
Tham gia từ Aug 01, 2009   895bài viết
Nov 08, 2010 at 07:08
If there are stops and tp's you'll have to invert them as well.
Tham gia từ May 18, 2010   40bài viết
Nov 08, 2010 at 07:19 (đã sửa Nov 08, 2010 at 07:20)
btw....is there an EA which can take profit in baskets....i mean ,when all trades opened wen turned into profit of 2% of current equity, it shud close off all open trrades automatically
Elkart
forex_trader_7
Tham gia từ Aug 01, 2009   895bài viết
Nov 08, 2010 at 07:28
There are directories of EA's out there, like this one.

http://www.forexmt4.com/mt_yahoo/

People do collect EA's. So bit of Googling around you might find one. Don't forget to check the MQL website to: http://www.mql4.com/
Elkart
forex_trader_7
Tham gia từ Aug 01, 2009   895bài viết
Nov 08, 2010 at 07:29
This looks like the one you're looking for: http://www.forexmt4.com/mt_yahoo/CloseAllAtEquityLevel.mq4
Elkart
forex_trader_7
Tham gia từ Aug 01, 2009   895bài viết
Nov 08, 2010 at 07:33
I think practically everything you can think of has been done by EA and is available, just have to find it.
Đăng nhập / Đăng ký to comment
You must be connected to Myfxbook in order to leave a comment
*Nghiêm cấm sử dụng cho mục đích thương mại và spam, nếu vi phạm có thể dẫn đến việc chấm dứt tài khoản.
Mẹo: Đăng ảnh/url youtube sẽ tự động được nhúng vào bài viết của bạn!
Mẹo: Dùng @ để tự động điền tên người dùng tham gia vào cuộc thảo luận này.