警报一次脚本? (交易视图)

时间:2019-11-28 11:46:53

标签: javascript

我有资格获得很多警报

//Body Filter
dai = ema (close,2000)
body = ema (close,9)
abody = ema(close, 90)
lower=input(50)
mac = sma(close, 10)
len = abs(close - mac)
sma = sma(len, 100)
max = max(open, close)
min = min(open, close)
up = close < open and len > sma * 1 and min < min[1] and fastrsi < lower and body > abody 
down = crossover(body,dai)
alertcondition(up, title="up", message = "LONG")
alertcondition(down, title="short", message = "sell")

我只希望收到1条警报,并在发出销售警报时重复。

我应该怎么做?

0 个答案:

没有答案