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

Question about Stop Loss Signal:



PureBytes Links

Trading Reference Links


This is the TS code for the EntryBar Point Stop LX (Signal).

Inputs: RiskPnts(5);

If MarketPosition <> 1 Then
 ExitLong ("EBP") Next Bar at Close - RiskPnts Points Stop;

 I am a little confused about the 'If' conditional. How can a stop order
be placed if MarketPosition <> 1 (i.e., you are not in the market yet?).
I was sort of thinking that this conditional should read MarketPosition
= 1. What am I missing here?

Many Thanks,

Robert