PureBytes Links
Trading Reference Links
|
This has been covered in the passed. I don't know who produced this but
here it is.
Example:
/* The following lines of code set up a sell on the last day if in an open
position*/
barnumber = cum( 1 );
lastbar = barnumber == lastvalue( barnumber );
sell = SELL or LASTBAR;
Steve W
At 02:23 AM 7/2/01 +0000, you wrote:
Hello,
Is there a way to close all the open trade on the last bar on chart?
I just want to make "Open position gain/loss" zero so that stocks
with large open profits are not penalized.
Thanks in advance.
Your use of Yahoo! Groups is subject to the
<http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
|