| 
 PureBytes Links 
Trading Reference Links 
 | 
Could someone help by telling me if it's possible to code exits on ENTRY DAY
that use entryprice?
The following code doesn't seem to work.  I want to exit on the ENTRY DAY if
either:
    A)  price drops by 5% of entryprice.
    B)  price rises by 2% above entryprice.
Any help would be appreciated.
Barry
================================================
{A - Stop Loss on Date of Entry Only equal to 5% below entry price}
If MarketPosition = 0  Then Exitlong ("Entry-low")  next Bar .95 *
entryprice stop;
{B - Exit at profit on Date of Entry Only equal to 2% above entry price}
If MarketPosition = 0  Then Exitlong ("Day1")  next Bar 1.02* entryprice
stop;
 |