sorry, that didnt paste too well. on the left column are buy/sell signals, on the right is price of the underlying. so in the above example i have a sel signal when the price hit 1.1450.
lets say i wanted a stop at 200 pips, then easy: if ( current price 200 pips > sell price , buy, 0 ). but how would i write a conditional function in excel to general a trailing stop if the price rose, say, 200 pips from the low after the sell signal then i would want a stop signal generated