通达信买卖关注点副图公式源码

中:5,COLORYELLOW;

AA1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100+50;

AA2:=EMA(AA1,9);

AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;

AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;

AA5:=SMA(AA4,13,8);

走势:=CEILING(SMA(AA5,13,8));

AA6:=SMA(AA3,21,8);

STICKLINE(走势-AA6<-65,0,5,15,0),COLORRED;

买进:=LONGCROSS(AA1,AA2*1.05,15) AND AA1<40;

STICKLINE(走势-AA6>85,10,5,15,1),COLORGREEN;

STICKLINE(LONGCROSS(AA2,AA1*0.95,7) AND AA1>0,10,3,6,0),COLOR00FF00;