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

Re: System tester question



PureBytes Links

Trading Reference Links

Demir, I don't have time to validate it this morning, but you would want to use the ValueWhen(...) function. Under the Buy tab, for example, you will have some conditions to buy. Code the BUY signal into an expression that you can cut and paste into your Close Position tab. So the form would be something like this: Close Position Tab BuyCond:=; Close>=1.05*(ValueWhen(1,BuyCond,C) 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.  (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.) Dave Nadeau   Demir Dinc wrote: I would like to know if the following rule is possible:Close Long:When  C= 105 % of the BUY Price(...% profit)If the answer is yes the syntax please. Thanks Demir Dinc