Hi Another question to you faboulous programmers ;>) I want a buy/sell signal when my SMA moves under certain conditions // Conditions to enter long positions indicator1 = Average[30](close) c1 = indicator1 moves up X % in Y minutes // Conditions to enter short positions indicator1 = Average[3](close) c2 = indicator1 moves down X % in Y minutes