I'm a very novice pinescript programmer, but trying to do this:
If ADX (10,10) changes direction then SellLong
SellLong = ChangeDirection(ADX(10,10))
Although ChangeDirection doesn't seem to be a function. Is ADX a built-in function? Can someone assist on this? thanks
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…