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

Re: System tester question



PureBytes Links

Trading Reference Links

<x-html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1254" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY aLink=#ff0000 bgColor=#ffffff link=#004080 text=#000000 vLink=#8080ff>
<DIV><FONT color=#000080 size=2>Thanks Dave.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#000080 size=2>Happy trading</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#000080 size=2>Demir</FONT></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000080 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A href="mailto:dave.nadeau@xxxxxxxx"; title=dave.nadeau@xxxxxxxx>Dave 
  Nadeau</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  href="mailto:metastock@xxxxxxxxxxxxx"; 
  title=metastock@xxxxxxxxxxxxx>metastock@xxxxxxxxxxxxx</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, September 18, 2000 5:44 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: System tester question</DIV>
  <DIV><BR></DIV>Demir, 
  <P>I don't have time to validate it this morning, but you would want to use 
  the <BR>ValueWhen(...) function. 
  <P>Under the Buy tab, for example, you will have some conditions to buy. 
  <BR>Code the BUY signal into an expression that you can cut and paste into 
  your Close Position tab. 
  <P>So the form would be something like this: 
  <P><U>Close Position Tab</U><U></U> 
  <P>BuyCond:=<I>&lt;your conditions for buying expressed here&gt;;</I> 
  <BR>Close&gt;=1.05*(ValueWhen(1,BuyCond,C) 
  <P>Please realize that your choice of entry points, delay, and entry at Open 
  or Close of bar under Options... will affect the ultimate exit 
  percentage.&nbsp; (i.e. You won't exit at the exact 105% price, but rather on 
  the Open or Close (or H or L) of the bar or bar following.) 
  <P>Dave Nadeau <BR>&nbsp; 
  <P>Demir Dinc wrote: 
  <BLOCKQUOTE TYPE="CITE"><FONT size=-1>I would like to know if the following 
    rule is possible:</FONT><FONT size=-1>Close Long:When&nbsp; C= 105 % of the 
    BUY Price(...% profit)</FONT><FONT size=-1>If the answer is yes the syntax 
    please.</FONT>&nbsp;<FONT size=-1>Thanks</FONT>&nbsp;<FONT size=-1>Demir 
    Dinc</FONT></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

</x-html>