PureBytes Links
Trading Reference Links
|
> Even this doesn't work:
> if blah blah blah... then buy this bar at close;
> exitlong at entryprice-1 stop:
> It's still completely ignoring the first bar after the buy.
EntryPrice isn't set until the bar after the buy -- so it probably
has a value of 0 on the bar when you enter. So you buy on bar 1,
your entry price is X, but the exitlong price is -1. On bar 2
EntryPrice is X, you issue the exitlong at X-1, and it takes effect
on bar 3.
Gary
|