In the Exploration Editor:
If
Column A (Buy) has:
FmlVar("Trailing Stop - ATR Chandelier Exit",
"SIGNALS") =1
Column B (Sell) has:
FmlVar("Trailing Stop - ATR Chandelier Exit",
"SIGNALS") =-1
Then
How can I code Column C (Hold) to look back and determine if
the last signal was a Buy (1) or a Sell (0)?

Robert Jolley
The Smart Retirement
Investor