同花順源碼:
Var1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
Var2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Var3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
Var4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var5:=(Var2+2*Var3+3*Var4)/6;
Var6:=MA(Var5,3);
MACD: Var6*5,COLORSTICK ,LINETHICK2 ;
提醒: STICKLINE(Var6<=-6,0,-25,5,0), COLOR88B7EA ;
關(guān)注: STICKLINE(Var6<=-8,5,25,7,0), ;
出擊: STICKLINE(Var6<=-10,80,100,5,0), coloryellow;
警戒雷達: IF(Var6<-6,20,0),LINETHICK3 , COLORFF0000;
引導(dǎo)雷達: STICKLINE(Var6<=-10,65,35,4,0),;
制導(dǎo)雷達: STICKLINE(Var6<=-10,40,0,4,0), colorred;
發(fā)射: STICKLINE(Var6<=-10,80,30,3,0), colorgreen;
導(dǎo)彈: STICKLINE(Var6<=-10,80,60,3,0), colorwhite;
K: SMA(Var1,3,1), colorgreen;
D: SMA(K,3,1), coloryellow;
J: 3*K-2*D, colorwhite;
底: 20,LINETHICK2 ,POINTDOT, COLOR77AA1A;
入頂: 80,LINETHICK2 ,POINTDOT , COLOR9966ff;
大頂: 100,LINETHICK2 ,POINTDOT ,COLOR22A6E6;
(南方財富網(wǎng)SOUTHMONEY.COM)