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

SYSTEM TESTER HELP



PureBytes Links

Trading Reference Links

You obviously have to define the condition to buy. Lets call this
"enterlong".
Then try using as your exit long condition the following ...

if( barssince(enterlong)>="no of days desired" ,1,0)

this should cause your test to exit long the no of days desired after
you entered long

Regards and let me know how you got on ... Martin


TK JUDD wrote:

  I have had trouble with sys tester language.
  Can anyone tell me how to correctly phrase closing a position a
certain #
  of days after the trade was made? Example 4 days after  the buy.