PureBytes Links
Trading Reference Links
|
If MaxPositionProfit >120 and OpenPositionProfit<100 then Exitlong at
EntryPrice(0) + .25 stop;
If MaxPositionProfit >120 and OpenPositionProfit<100 then Exitshort at
EntryPrice(0) - .25 stop;
MaxPositionProfit is calculated from the High - EntryPrice.
I'm not sure how OpenPositionProfit is calculated intrabar.
If the position goes into negative territory before the floor is reached you
won't get stopped out, you may want to also use MaxPositionLoss >120 then
Exitlong at EntryPrice(0) - .25 stop; as well.
Neville
-----Original Message-----
From: bkmk <bkmk@xxxxxxxxxxxx>
To: Omega-List <omega-list@xxxxxxxxxx>
Date: Wednesday, March 07, 2001 10:12 AM
Subject: EL exit help
>I trade equities and need a better exit signal. How can I write a simple
>exit signal so a small profit doesn't turn into a loss? I'd like a signal
>that would say if the profit is between $100 and $120 exit at the entry
>price plus $25 (which would keep me even counting commissions and
slippage).
>I've tried:
>
>If OpenPositionProfit >100 and OpenPositionProfit<120 then Exitshort at
>EntryPrice(0) + .25 stop;
>
>but it doesn't work. What am I doing wrong?
>
>Thanks in advance for help.
>
>Barry
>
>
|