[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [EquisMetaStock Group] MS 8.0 System testing with Limit orders



PureBytes Links

Trading Reference Links



You cannot reply to this message via email because you have chosen not
to disclose your email address to the group.  Please use this
page to reply.
 




This 
can be done.
<FONT face=Arial color=#0000ff 
size=2> 
Since 
you didn't say what your buy condition was, let's assume that you wanted to buy 
if the high plus .1 is exceeded the day after the close crosses above the 20 day 
EMA.
<FONT face=Arial color=#0000ff 
size=2> 
What 
you are going to have to do in the top section of the buy is put the 
formula in the following format:
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>ref(cross(close,mov(c,20,e)),-1)  {your buy condition was met on the 
prior bar}andhigh > ref(high + .1,-1)  {today's high is .1 
greater than yesterday's}
 
<FONT face=Arial color=#0000ff 
size=2><FONT face=Arial 
color=#0000ff size=2>==========
<FONT face=Arial color=#0000ff 
size=2> 
in the 
price section below, check stop (this is a buy stop) and do the 
following:
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>If(ref(cross(close,mov(c,20,e)),-1)andhigh > ref(high + 
.1,-1),   ref(high + .1,-1),100000000)
 
{this says to buy at the stop price of 
yesterday's high +.1 if the condition is met, otherwise buy at 100000000 - this 
is just a number that you know can't be hit.}
 
I just ran this through the system tester 
and it worked.
 
Good Trading,
 
Joe J.
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2> 

  <FONT face=Tahoma 
  size=2>-----Original Message-----From: relentless1000 
  [mailto:cgmv@xxxxxxxxxxxxx]Sent: Thursday, November 14, 2002 7:36 
  AMTo: equismetastock@xxxxxxxxxxxxxxxSubject: 
  [EquisMetaStock Group] MS 8.0 System testing with Limit 
  ordersI'm having a problem using the limit 
  orders.  I would like the system tester to log a buy at a limit price 
  when the formula conditions are met.  I would like to write a limit 
  order that waits until formula conditions are met (say day 1) and then 
  buys the next bar (day 2) when and if the high of the previous day (day 1) 
  is exceeded by say 0.1.  I've tried several different Limit 
  formulas, two examples are:    REF(H,-1) + 
  0.1    H + .1When I look at the results on a chart, 
  I'm definately not getting what I would like to happen. It is fufilling 
  the formula criteria (day 1) but it looks like it may be ignoring the 
  limit formula, because the day 2 high may be lower than day 1 and its 
  still filling the order (I'm not sure where its getting the fill price 
  from).  I'm not using any stops.Am I doing something 
  wrong?Has anyone else tried the limit orders feature?  Any 
  success??To 
  unsubscribe from this group, send an email 
  to:equismetastock-unsubscribe@xxxxxxxxxxxxxxxYour 
  use of Yahoo! Groups is subject to the <A 
  href="http://docs.yahoo.com/info/terms/";>Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


<font face=arial
size=-2>ADVERTISEMENT<img src="http://ad.doubleclick.net/ad/N879.ameritrade.yahoo/B1054521.11;sz=300x250;adc=ZHS;ord=1037293980?"; alt="" width="300" height="250"
border="0">









To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx





Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.