Hello , thanks for the script. I have question related to 1 hour buy/sell
My requirement is that the alert should be generated on based on 1 hour candle , as soon as the last traded price is same as my buy/sell price AND RSI should be between mentioned levels for buy/sell at that moment( the moment when the last traded price reaches buy/sell level) .Keeping this as the requirement for 1 hour candle alert ; shall I replace CLOSE WITH LAST IN RSI AND SLOPE FORMULA ?
OR the present code is sufficient to generate instantaneous alerts and not wait for close of 1 hour candle. I am using 1 hour candle as confirmation candle. When I receive alert based on 5 min candle I want to confirm whether conditions on 1 hour candle are favourable or not. I don’t want to wait for close of that 1 hour candle