I have an indicator that waits for a signal when the line is not going up and not going down. It then waits for 1 bar in the future to determine to make a buy or sell. However what I want is that the indicator look 1 bar back to determine if it needs to make a sell or buy, instead to wait for the future to determine to make a sell or a buy.
thanks in advance
thanks in advance