// Signal Conditions newBuySignal = not inBuy and not inShort and haClose > haClose[1] newSellSignal = not inShort and inBuy and haHigh < haHigh[1] and haLow > haLow[1] // Inside Candle newShortSignal = not inShort and not inBuy and haOpen == haHigh newCoverSignal = inShort and haClose > haHigh[1]