Forex



Go Back   Forex Trading > Programming > Metatrader Programming






Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
Thread Tools Display Modes
  #21 (permalink)  
Old 05-06-2008, 04:14 PM
Member
 
Join Date: Jul 2006
Posts: 32
agarwalsharma is on a distinguished road
Hi RickD

I am looking for EA to do the following;

If the pending order executed and end with SL the EA will put the same pending order again.

Some time the fluctuation end the trend with SL but if the market hit the same price again, it ends with TP.

Thanks for all your help.
AS
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
  #22 (permalink)  
Old 05-06-2008, 07:53 PM
Member
 
Join Date: Jul 2006
Posts: 48
Trader1 is on a distinguished road
Cool Simple hedge code needed

Programmers, Coders,

I want to insert a simple hedge function into an existing EA, so that when the open position is in a loss of (x) pips (MaxLoss) it triggers a hedge entry of (x) multiple lots. It needs a Hedge TP/SL with the option to exit on the next underlying entry. If anyone could provide me with a snippet of code or template I could insert it would be greatly appreciated.

Trader1
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
  #23 (permalink)  
Old 06-06-2009, 01:45 AM
kiromano's Avatar
Junior Member
 
Join Date: Feb 2008
Posts: 9
kiromano is on a distinguished road
Are you still around RickD?

Just came across this thread. Eventhough it's been a while since anyone posted here, I wanted to say thanks for the very useful code. The simplicity is wonderful.

In case you are still around, I have a good one for you. I am working with the timeline and trying to comeup with an average time difference between a recurring event. Then, I am trying to get the last event and add the average to that last occurrence. The thought being that there may be some value to knowing the possible average position of the next event.

You could say that the event is something like an macross up, or even a zigzag high.

Again thanks for the beautiful code.
__________________
“A loss never bothers me after I take it. I forget it overnight. But being wrong - not taking the loss - that is what does damage to the pocketbook and to the soul.”
Jesse Livermore.
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

Tags
mql4 guide, mql4 orderclose

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
Welcome to the MQL4 course codersguru Metatrader 4 mql 4 - Development course 124 10-12-2009 01:45 AM
Arrays in MQL4 clippertm Questions 5 08-11-2008 02:16 AM
Help for convert from VT to MQL4 M-E-C Expert Advisors - Metatrader 4 11 07-27-2007 07:53 PM
www.mql4.com DeSt Metatrader 4 18 02-02-2006 12:59 AM


All times are GMT. The time now is 09:49 PM.



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