带买卖点的安全带公式(大智慧)

VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;

A1: (EMA(VAR1,3)+EMA(VAR1,6)+EMA(VAR1,12)+EMA(VAR1,24))/4;

A2: EMA(A1,2);

A3: EMA(A2,2);

A4: EMA(A3,2);

A5: EMA(A4,2);

A6: EMA(A5,2);

A7: EMA(A6,2);

A8: EMA(VAR1,2.78)*1.028;

A9: MA(OPEN,3.2)*1.028;

安全线: EMA(CLOSE,55), CIRCLEDOT;

DRAWTEXT(crOSS(A8,A9),(LOW-0.1),'买入'),colorBDB76B;

DRAWTEXT(CROSS(A9,A8),(HIGH * 1.02),'卖出'),colorBDB76B;