PureBytes Links
Trading Reference Links
|
Robert, thanks for the reply.
It doesn't matter what bar TradeStaion is at when it is referring to a
reserved word. I thought that the PositionProfit(1) reserved word will
return $500 whether or not the barnumber is 5 or 50, as this is true no
matter what bar number TradeStation is at. Is this correct?
And, what lines are you suggesting I insert?
>From: "Robert Hodge" <r-hodge@xxxxxxxxxxxxxxx>
>Reply-To: <r-hodge@xxxxxxxxxxxxxxx>
>To: "Jody Ellis" <ellis_jody@xxxxxxxxxxx>, <omega-list@xxxxxxxxxx>
>Subject: RE: Position Sizing
>Date: Wed, 11 Jul 2001 07:57:35 +0100
>
>Jody,
>
>Tradestation evaluates code on EVERY BAR in the chart. Thus your code is
>executed on every bar where the condition is true, not just after the last
>winning trade is exited.
>
>Therefore you should enclose these lines inside the condition(s) which
>cause
>your system to exit a trade.
>
>Regards,
>
>Robert
|