Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
Forex Forum Register More recent 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 09-21-2008, 05:19 AM
Member
 
Join Date: Aug 2006
Posts: 75
dcraig is on a distinguished road
Step SL and pending order EA ... help?

I need help either finding something that might accomplish the following, or someone who can program it.

The basic premise is that two positions are initiated at the start, a buy and a sell, on the same pair. A stoploss is set for both (adjustable, i.e. 25 pips). Presuming the market will pick a direction (i.e. up), one position will be stopped out. HOWEVER, as soon as it is stopped out, another pending order for the same position will be initiated, at the same level the original was bought at (in case the market changes direction). Assuming the market moves up past a set threshold (i.e. 100 pips, which could be considered another grid bar), the SL for the remaining position is moved up by 100 pips (so now 25 pips below the revised position reference level). At the same time, a position is opened so that we now once again have two open positions, one previously existing (in this case long), and one newly opened (short). Both have a SL of the same amount, which was set initially (i.e. 25 pips).

The key here is that as soon as a position is stopped out, providing that the market hasn't moved by some set amount (in this example 100 pips), another position (same as the one just stopped out) is opened once the market croses the 'threshold' 'grid bar' again.

Example: currency pair currently at 1.4000.

Start by opening a long and short at 1.4000.
Set both with stoploss of 25 pips (adjustable).
Assume market moves up by 50 pips. The short would have been stopped out at the 25 pips point, but the long would remain.
The market now moves up to 1.4100, which is a 100 pip gain. A new short position is opened, with a 25 pip SL (set at 1.4125). ALSO, the SL for the long is moved up to 1.4075 from 1.3975.

From the example, I've lost 25 pips from the initial short, but gained 100 pips from the long. If the long gets stopped out at this point, I'm still up 75 points.

The EA will be profitable as long as it doesn't "linger" around the position opens too long (i.e. stop out several positions before reaching a new grid bar, or threshold).

Does such an EA exist, or would this be simple to construct?

Sorry if this isn't clear. Please forward any questions.

Doug
__________________
Ottawa, ON
Canada
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
Pending order EA


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
Pending Order EA babarmughal Expert Advisors - Metatrader 4 15 08-23-2009 11:05 PM
EA or Script for pending order ? Nordic12 Tools and utilities 6 10-08-2007 07:35 PM
Pending Order Hartadi Metatrader 4 0 06-07-2007 04:48 AM
Help - Pending Order with Time Settings EA. sohail212 Expert Advisors - Metatrader 4 2 12-06-2006 01:37 AM
Pending Order EA Trailing Stop not working qazij Expert Advisors - Metatrader 4 2 08-18-2006 12:50 PM


All times are GMT. The time now is 07:57 PM.



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