均价:=(C+(C+H+L+O)/4+O)/3;

操盘线:EMA(MA(IF(MA(均价,3)>MA(均价,4),MA((均价+3*H)/4,3),REF(MA((均价+3*L)/4,3),1)),3),5),COLORWHITE,LINETHICK2;

A1:REF(操盘线,1), COLOR8A8A8A;

A2:REF(操盘线,2), COLOR898989;

A3:REF(操盘线,3), COLOR888888;

A4:REF(操盘线,4), COLOR878787;

A5:REF(操盘线,5), COLOR868686;

A6:REF(操盘线,6), COLOR858585;

A7:REF(操盘线,7), COLOR848484;

A8:REF(操盘线,8), COLOR838383;

A9:REF(操盘线,9), COLOR828282;

A10:REF(操盘线,10), COLOR818181;

A11:REF(操盘线,11), COLOR808080;

A12:REF(操盘线,12), COLOR7A7A7A;

A13:REF(操盘线,13), COLOR797979;

A14:REF(操盘线,14), COLOR787878;

A15:REF(操盘线,15), COLOR777777;

A16:REF(操盘线,16), COLOR767676;

A17:REF(操盘线,17), COLOR757575;

A18:REF(操盘线,18), COLOR747474;

A19:REF(操盘线,19), COLOR737373;

A20:REF(操盘线,20), COLOR727272;

A21:REF(操盘线,21), COLOR717171;

A22:REF(操盘线,22), COLOR707070;

A23:REF(操盘线,23), COLOR6A6A6A;

A24:REF(操盘线,24), COLOR696969;

压力:MAX(A1,MAX(A2,MAX(A3,MAX(A4,MAX(A5,MAX(A6,MAX(A7,MAX(A8,MAX(A9,MAX(A10,MAX(A11,MAX(A12,MAX(A13,MAX(A14,MAX(A15,MAX(A16,MAX(A17,

MAX(A18,MAX(A19,MAX(A20,MAX(A21,MAX(A22,MAX(A23,A24))))))))))))))))))))))),COLORYELLOW,LINETHICK2;

{ 爱约股_大智慧股票指标公式}

IF(操盘线>=压力,操盘线,DRAWNULL),COLORRED,LINETHICK2;

IF(操盘线<压力,压力,DRAWNULL),COLORAAAA00,LINETHICK2;

支撑:MIN(A1,MIN(A2,MIN(A3,MIN(A4,MIN(A5,MIN(A6,MIN(A7,MIN(A8,MIN(A9,MIN(A10,MIN(A11,MIN(A12,MIN(A13,MIN(A14,MIN(A15,MIN(A16,MIN(A17,

MIN(A18,MIN(A19,MIN(A20,MIN(A21,MIN(A22,MIN(A23,A24))))))))))))))))))))))),COLOR00AA99,LINETHICK2;

回踩线:HHV(((3*支撑+2*压力)/5),3),COLOR7F00FF,LINETHICK3;

IF(C>0,回踩线,回踩线),COLORCYAN;

金牛:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),LINETHICK2,COLORCYAN;

金钻趋势:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,COLORCYAN;

金牛2:=EMA(金钻趋势,25)COLORCYAN;

STICKLINE(金钻趋势>LOW AND 金钻趋势<HIGH,金钻趋势,MIN(MIN(OPEN,CLOSE),金钻趋势),2,0),COLORYELLOW;

STICKLINE(金钻趋势>MIN(C,O) AND 金钻趋势<MAX(C,O),金钻趋势,MIN(OPEN,CLOSE),2,0),COLORYELLOW;

STICKLINE(金钻趋势>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;

STICKLINE(金钻趋势>HIGH,HIGH,LOW,2,0),COLORYELLOW;

VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);

回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));

XG:=金钻趋势>HIGH AND 回调买 AND L<=金钻趋势;

DRAWTEXT(XG,L+0.04,'▲买入'),COLORMAGENTA;