PureBytes Links
Trading Reference Links
|
At 01:18 PM 7/11/01 -0700, you wrote:
>...TradePosition:=If(EnterLong=1,1,If(EnterShort=1,-1,PREV),PREV);
One too many PREVs :-) but you've got a better memory than I would have
without my computer!
try:
TradePosition:=If(EnterLong=1,1,If(EnterShort=1,-1,PREV));
or:
TradePosition:=If(EnterLong,1,If(EnterShort,-1,PREV));
Happy trading
Herman.
>Now you can look at your TradePosition and if it =1 then you are long, and
if it =-1 you are
>short.
>
>(I didn't check the syntax of the above Metastock expression, since I'm
not near my program right
>now. I'm doing this all from memory--which ain't so great all the
time....<grin>.)
>...
|