PureBytes Links
Trading Reference Links
|
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@xxxxxxxxxxx>
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=1705
001779:HM/A=1226184/R=0/*http://ad.doubleclick.net/jump/N879.ameritrade.
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/
Attachment:
Description: "winmail.dat"
|