大智慧多空对比(大智慧)
短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),colorwhite;
中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),coloryellow;
中长期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),colorff00ff;
长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),colorred,LINETHICK3;
强势线:80,POINTDOT,COLORWHITE,LINETHICK1;
弱势线:20,POINTDOT,COLORFF0000,LINETHICK1;
分水岭:50,POINTDOT,COLORRED,LINETHICK1;
机构做空能量线:=SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),COLORGREEN,LINETHICK3;
机构做多能量线:=SMA((CLOSE- LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,COLORRED,LINETHICK3;
VAR1:=REF(LOW,1);
VAR2:=SMA(Abs(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);
VAR4:=LLV(LOW,38);
VAR5:=HHV(VAR3,38);
VAR6:=IF(LLV(LOW,90),1,0);
VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
单边二十:DRAWTEXT(机构做空能量线<50 AND 短期<20 AND 长期>50,(70),'32'),COLORFFFF00;
四线小六:DRAWTEXT(短期<6 AND 中期<6 AND 中长期<6 AND 长期<6,(20),'46'),COLORFFFF00;
双线为零:DRAWTEXT(短期=0 AND 中期=0,(40),'20'),COLORFFFF00;
三线为零:DRAWTEXT(短期=0 AND 中期=0 AND 中长期=0,(30),'30'),COLORFFFF00;
逃顶:DRAWICON(短期>90 AND 长期<50,(90),2),COLORFFFF00;
DRAWICON((短期>90 AND REF(中期<80 AND 长期<80,3)),(90),2),COLORFFFF00;
DRAWICON((短期=100 AND 长期<100 AND 长期>95),90,2),COLORFFFF00;
金元宝:DRAWICON(VAR7>10 AND 短期<6 AND 中期<6 AND 中长期<6 AND 长期<6,(10),1),COLORYELLOW;
VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
VAR2F:=SMA(VAR1F,3,1);
趋势:=SMA(VAR2F,3,1);
人气:=SMA(趋势,3,1);
五星追涨:crOSS(趋势,人气) AND (趋势<30),POINTDOT,coloryellow;
DRAWTEXT(五星追涨=1,10,''),coloryellow;