是一个很好用的买卖公式 买线:EMA(C,7),color000000; 卖线:EMA(SLOPE(C,21)*20+C,60),pointdot,color000000; BUY:=cross(买线,卖线); SEL:=cross(卖线,买线); stickline(买线>=卖线,low,high,0.1,0),colorred; stickline(买线>=卖线,close,open,4,0),color0000ff; stickline(买线<卖线,close,open,4,0),colorffff00; stickline(买线<卖线,low,high,0.1,0),colorffff00; stickline(cross(买线,卖线) or cross(卖线,买线),open,close,3.5,0),coloryellow; |
