PureBytes Links
Trading Reference Links
|
New in version 8.0 is a series of "Simulation" variables which can
access information about the simulation results. How about using
the Simulation.PositionCount variable to set the value of a flag
variable, then use the Ref function to use the state of the flag
variable from 6 bars ago to create a second condition for entering an
order. I have not tried this to see whether it works.
The Simulation variables/functions are poorly documented in the
manual. See pp 256 in the ver 8.0 manual, but you have to use
the "Show English Names" option in the Paste Functions dialog in the
system editor to see the purpose of the functions (there are about 35
functions). I cut and pasted each description to an Excel worksheet
to make my own documentation page. I've uploaded that worksheet to
the files section if you're interested.
Gary
--- In Metastockusers@xxxxxxxxxxxxxxx, "posrich2003" <rhrobin@xxxx>
wrote:
> Anyone Know How I can access the date of the entry and exit ?
> I need to code Buy If Days Since exit > 6 or the number of bars
> since exit..
>
> My rules are not to take new trade after exiting last trade for 6
> days( All Traes must be 6 days apart min.) and exit all trades if
no
> exit condition in 6 days.
>
> POSrich
>
> I have this code in TRadeStation need MS to scan..
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/i5gGAA/zMEolB/TM
---------------------------------------------------------------------~->
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/
|