PureBytes Links
Trading Reference Links
|
> Indeed it does appear the EntryPrice(1) and EntryTime(1) functions refer
> only to the last *closed* position, not to the last leg entered.
right. entryprice or entryprice(0) gives you the open position. the
catch is it only gives you the price of the first entry of the trade so
that can muck you up if you are scaling into a position. and it doesn't
update until the close of the next bar after the entry. personally, i
seldom use the built-in position functions. gotta roll your own if you
trade multiple contracts or want to have a stop working on the next bar
after entry.
--
Dennis
|