[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Will I get Multiple exits in EL if I do this?



PureBytes Links

Trading Reference Links

> The code runs, the
> ExitLong stop is set at the highest value of any of the ExitLong stop
> commands executed in the code, then TradeStation waits for data for
> the next bar with the stop in place. In your case, the Open is less
> than the stop, so it takes you out ot the open.
> 
That seems to be the key in this case is that "the ExitLong stop is 
set at the highest value of ANY ExitLong stop"

Also in terms of thinking of the code running "between bars".

Thanks Bob,

Cash

> Bob Fulks
> 
> 
> At 11:42 AM -0700 8/19/01, cash@xxxxxxxxxxx wrote:
> 
> >Ok, I have one long position.  If I do an exitlong and then another
> >exitlong a little bit further in the code, will I get two exits?  Will the
> >second exit overwrite the first exit?  Will the first exit that meets
> >the criteria be the one executed?
> >
> >ExitLong at 67 stop;
> >ExitLong at 63 stop;
> >
> >The next bar is O=66, H=69, L=62, C=66
> >
> >So, will I get an exit at 66 because of the ExitLong at 67 stop?
> >Or, will I get an exit at 62 because of the ExitLong at 63 stop?
> >Or, will I get an exit at both 66 AND 62?
> >
> >Just trying to see if putting in a subsequent exitlong wipes out any
> >prior ones
> 



"Buy Low, Sell High"
(If this statment is used for financial gain, I am entitled to 10% of all profits. ;) )