Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
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-01-2006, 05:24 AM
Senior Member
 
Join Date: Jan 2006
Posts: 146
faifarni is on a distinguished road
Account equity percentage stop loss...help!

Would anyone please help me out and please show me how to place a stop loss on an ea that closes all open positions when account equity falls to a specified percentage of total account balance??

Help is much appreciated...
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-01-2006, 05:56 AM
iscuba11's Avatar
Senior Member
 
Join Date: May 2006
Location: Houston
Posts: 398
iscuba11 is on a distinguished road
Smile

Print("Account equity = ",AccountEquity());

You will need to have somebody create an if statement using the above statement (modified), and incorporate it into the program attached. Then you would have a program that if(AccountEquity() < 50.00 - Example) it proceeds to close all the positions. If it is above 50.00, the program stops the logic flow to the below attached program to close everything. If you are running the 4 major currencies, this ea would have to run on a 5th graph. I am not a programmer, but with some help by another programmer like codeguru, you may achieve the program you desire. Because I shared this with you, I would like to ask that you share the finished program with me, and possibly others on this forum. Good luck on the program modification.

ddiebold@sbcglobal.net

Dave
<><<
Attached Files
File Type: mq4 Close all open positions.mq4 (1.2 KB, 34 views)

Last edited by iscuba11; 08-03-2006 at 02:40 AM.
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 08-05-2006, 12:39 AM
Senior Member
 
Join Date: Jan 2006
Posts: 146
faifarni is on a distinguished road
Somebody please help,

I'm trying to put this type of stop loss on this ea....
Attached Files
File Type: mq4 Multi_Lot_Scalper_P_D1_JLY4.mq4 (12.4 KB, 29 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
  #4 (permalink)  
Old 08-08-2006, 06:36 AM
iscuba11's Avatar
Senior Member
 
Join Date: May 2006
Location: Houston
Posts: 398
iscuba11 is on a distinguished road
Smile

If your program is sound, in reference to being a money maker, then I would invest some money (probably less than $100), and have a professional programmer do the programming for you. Time is money, and getting it done right the first time is worth the investment. I would only recommend one person to do what you want to do, and he can be contacted at Forex-Experts.com. His name is Yaroslav Gatalyak. He is a first class programmer in MQL4. Tell him Reverend Dave from Houston referred you to him.

Dave
<><<<
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
How to creat equity trail stop jpsdyb General Discussion 7 06-26-2009 09:54 PM
does anyone have an expert that closes all trades based on equity gain or loss? pooper scoopers Expert Advisors - Metatrader 4 6 05-02-2009 05:25 AM
Trailing EQUITY STOP FEATURE? tyger01 Metatrader 4 1 12-21-2006 04:25 PM


All times are GMT. The time now is 04:46 PM.



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