ProxyExit

Top  Previous  Next

ProxyExit(close, proxy1, proxy2, spread, stopspread)

 

Parameters

Close = Close (keep the default value)

Proxy1 = the actual close of the predicted stock

Proxy2 = the predicted value of the stock

Spread = the amount of the spread between the actual and predicted value of the stock where you want to exit a trade (may be optimized)

StopSpread = the “emergency” exit for the trade, equivalent to a stop.  This will be a wider spread than the entry spread in the ProxyEntry.  If the spread widens, the stop will occur.

 

It doesn’t matter which stock is designated as Proxy1 and which stock is designated as Proxy2, but it is important that the same stocks be listed in the same order on all of the Long Entry, Long Exit, Short Entry and Short Exit conditions.   Listing the stocks in alphabetical order may help you remember the order.

 

Both the ProxyEntry and ProxyExit conditions may not be combined with other rules or trailing or protective stops.   The ProxyExit indicator includes the StopSpread parameter that can be set as an emergency exit for both stocks.  If the StopSpread exit occurs, the trade will not be entered again until the spread falls below the entry spread and then crosses above the entry spread.

 

For more information on creating a proxy trading system, refer to Pair Proxy Trading Implementation in NeuroShell Trader.