A:=EMA(C,7); B:=EMA(C,19); Q:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(A,B))+1),HHV(H,BARSLAST(CROSS(A,B))+1),L=LLV(L,BARSLAST(CROSS(B,A))+1),LLV(L,BARSLAST(CROSS(B,A))+1),0); 涨区:IF((EVERY(Q>=REF(Q,1),1)),3.8,1.6),COLORGREEN; 低买:IF(((CROSS(涨区,2.1))),6,0),STICK,LINETHICK2,COLORRED; 日K线盘中发出红柱时预警
爱约股解答:
A:=EMA(C,7);
B:=EMA(C,19);
Q:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(A,B))+1),HHV(H,BARSLAST(CROSS(A,B))+1),L=LLV(L,BARSLAST(CROSS(B,A))+1),LLV(L,BARSLAST(CROSS(B,A))+1),0);
涨区:=IF((EVERY(Q>=REF(Q,1),1)),3.8,1.6);
低买:CROSS(涨区,2.1);