以下是同花顺小牛简明走势副图源码
简明走势,见图即可。
A1:=(((2 * CLOSE) + HIGH) + LOW) / 4;
A2:=LLV(LOW,34);
A3:=HHV(HIGH,34);
A4:=EMA((((A1 – A2) / (A3 – A2)) * 100),13);
A5:=EMA(((0.667 * (REF(A4,1))) + (0.333 * A4)),2);
A6:=(HHV(HIGH,9)) – (LLV(LOW,9));
A7:=(HHV(HIGH,9)) – CLOSE;
A8:=CLOSE – (LLV(LOW,9));
A9:=((A7 / A6) * 100) – 70;
A10:=((CLOSE – (LLV(LOW,60))) / ((HHV(HIGH,60)) – (LLV(LOW,60)))) * 100;
A11:=SMA(((A8 / A6) * 100),3,1);
A12:=(SMA(A11,3,1)) – (SMA(A9,9,1));
A13:=IF((A12 > 100),(A12 – 100),0);
快线:EMA((((A1 – A2) / (A3 – A2)) * 100),5),colorwhite,LINETHICK1;
慢线:EMA(快线,13),colorgreen,LINETHICK1;
STICKLINE(((快线 – 慢线) > 0),快线,慢线,0.05,-1),colorred;
STICKLINE(((快线 – 慢线) < 0),快线,慢线,0.05,-1),COLORFFCC00;
DRAWTEXT(CROSS(快线,慢线),快线,’始’);
DRAWTEXT(CROSS(慢线,快线),慢线,’终’);
评论(0)