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

Bail Out Code



PureBytes Links

Trading Reference Links

Hello,

Need code translation from System Writer Plus to TradeStation.
(EasyLanguage has change, won't verify old code)

Below is the code bailout exit technique from Ralph Vince:

Bail Out Stop -The first is to exit a trade on the first open that
shows a profit for the trade or, exit at the lowest low of the last
three days if long, Highest High of last three days if short.

Long Exit:
If open of tomorrow >  @entryPrice then Exit Long tomorrow @ open;
Exit Long tomorrow at @Lowest#1 (Low,3,0) stop;

Short Exit:
If Open of tomorrow< @EntryPrice then Exit Short tomorrow on Open;
Exit Short tomorrow at @Highest#1 (High,3,0) stop;

-------

Split Bail Out - The exit is at the first open is the same, but a flat
dollar
stop is used instead of a three day High/Low.

Thanks In Advance...