PureBytes Links
Trading Reference Links
|
Well, after much experimentation, I was able to perform the limit
order as I had setup:
1. Buy 1 bar delay after a buy signal,
2. Buy the Open less a 0.25 point tick.
First, the "BUY" formula must be referenced from the current bar as:
ref("BUY"),-1).
Second, the "OPEN-0.25" as a limit is placed into the limit section
of the buy.
Third, the limit does not have any strategic delay (NOTE: the
strategic delay will only delay x minutes in the SAME bar (ie 1 dealy
in a 5 minute bar will delay the order 1 minute, 2 will delay 2
minutes, etc. up to 5). You CANNOT delay x bars with this function.
Fourth, the simulation needs to be set for execution on "OPEN with NO
delay".
This setup works!
Bob
--- In Metastockusers@xxxxxxxxxxxxxxx, "Joe J." <jojab@xxxx> wrote:
> Bob,
>
> I haven't done what you're describing (limits on the open of a
trade)
> but I have used them to close trades.
>
> Try checking the box to delay the order by 1 bar in the system
tester.
> Then in your buy formula try using the following:
>
> Barssince("Your Long Condition") < 3 {length of time you want your
limit
> order open for}
> and
> Low <= ValueWhen(1, "Your Long Condition", close - .50) {tells it
to buy
> if you are .50 below the close of the signal bar}
>
> Then in the bottom part where you check "limit", copy and paste all
of
> the above but put the conditions above in an "IF" formula like
this:
>
> If(
> Barssince("Your Long Condition") < 3 and
> Low <= ValueWhen(1, "Your Long Condition", close - .50),
> ValueWhen(1, "Your Long Condition", close - .50), 10000000)
>
> In this last part you are saying "if" my conditions are met, then
buy it
> at the close of the buy signal bar - .50, else buy it at 10000000
(which
> will never fire off).
>
> Good Trading,
>
> Joe J.
>
>
>
>
>
> -----Original Message-----
> From: rtstrade <rtstrade@xxxx>
> Sent: Sat 12/7/2002 12:22 PM
> To: Metastockusers@xxxxxxxxxxxxxxx
> Cc:
> Subject: [Metastockusers] v8.0 Tester ?
>
> I have been trying to get a realistic test result by delaying my
> entry to the open of the next bar once a signal is given by my
> buy/sell entry. I use the simulation Open with 1 bar delay to
> achieve the result with no problem. I am using 5 minute intraday
> data for testing.
>
> Now for the problem. v8.0 allows a limit order to be placed, and so
> I would like to see if I can get, instead of the open price of the
1
> bar delay, a price x below for a buy. So, I first try to see if I
> can get the same price using just the Open(O) in the limit section.
> Still using the open 1 bar delay in the simulation entry.
> The result does not work? I cannot duplicate the open 1 bar delay
> using market orders by use of the limit at Open.
>
> I have also tried the strategic delay, but finally found it is only
> delaying the entry x minutes during the current 5 minute bar(does
not
> take you to the next bar).
>
> I have tried ref(buy,-1),as well as the exits,and then set the
limit
> to the open, and simulation with no delay,and I am able to get
> results that are close to what I get using market order at open
next
> bar,for many signals, but not exactly the same.
>
> Is anyone able to get a limit order delayed to the next bar after a
> signal is given. If so, what method are you using to get this to
> work?
>
> Bob
>
>
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
<http://rd.yahoo.com/M=219695.2596658.3969980.1927555/D=egroupweb/S=17
05
>
001779:HM/A=1226184/R=0/*http://ad.doubleclick.net/jump/N879.ameritrad
e.
> yahoo/B1054521.11;sz=300x250;adc=ZHS;ord=1039288979?>
>
> <http://us.adserver.yahoo.com/l?
M=219695.2596658.3969980.1927555/D=egrou
> pmail/S=:HM/A=1226184/rand=682858094>
>
> To unsubscribe from this group, send an email to:
> Metastockusers-unsubscribe@xxxxxxxxxxx
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/> .
To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|