1、光芒四射 TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3; 短1:(TYP-MA(TYP,13))/(0.015*AVEDEV(TYP,21)); 短2:(TYP-MA(TYP,13))/(0.015*AVEDEV(TYP,33)); 中1:(TYP-MA(TYP,13))/(0.015*AVEDEV(TYP,55)); 中2:(TYP-MA(TYP,33))/(0.015*AVEDEV(TYP,89)); 长:(TYP-MA(TYP,33))/(0.015*AVEDEV(TYP,122)); A:100; B:20; C:-100; 下2:100*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20)); 下3:100*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,30)-LLV(LOW,30)); 下4:100*(HHV(HIGH,33)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)); 下5:100*(HHV(HIGH,33)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120)); 下6:100*(HHV(HIGH,33)-CLOSE)/(HHV(HIGH,160)-LLV(LOW,160)); 下7:100*(HHV(HIGH,33)-CLOSE)/(HHV(HIGH,234)-LLV(LOW,234)); 2、主力洗盘建仓 //主力洗盘建仓 n1:=6;n2:=12; q1:=(CLOSE*VOL)/SUM(VOL,100); A1:=MA(q1,n1); zm1:=SMA(A1,n1,1); zm2:=SMA(A1,n2,1); zmf:(zm1-zm2)*10000,COLORSTICK,linethick2; fm:SMA(zmf,3,1); t1:=IF(C>MA(CLOSE,13),1,0); t2:=IF(C<MA(CLOSE,13),1,0); t3:=COUNT(IF(zmf>0 AND zmf>REF(zmf,1),1,0),4)>=4; t4:=COUNT(IF(zmf<0,1,0),5)>=5; t5:=FILTER(t1 AND t4,20); t6:=FILTER(t2 AND t3,20); DRAWTEXT(t5,zmf-3,'洗盘谷'),colorgreen; DRAWTEXT(t6,zmf+3,'建仓峰'),coloryellow 3、多空趋势副图( 股 民 学 院 : http://www.58188.net ) 多:=IF(C>REF(C,1),V,0)/100; 空:=IF(C<REF(C,1),V,0)/100; 多方:EMA(MA(多,3),3),colormagenta,LINETHICK2; 空方:EMA(MA(空,3),10),colorgreen,LINETHICK2; DRAWTEXT(ISLASTBAR AND 多方 ,多方,'↖多方'),colormagenta; DRAWTEXT(ISLASTBAR AND 空方,空方,'↖空方'),colorgreen; STICKLINE(多方,多方,0,8,0),colorred; STICKLINE(多方>0 AND 多方>REF(多方,1),多方*4/5,0,8,0),COLOR10D3FF; STICKLINE(多方>0 AND 多方>REF(多方,1),多方*2/5,0,8,0),COLOR10FFFF; STICKLINE(多方>0 AND 多方<REF(多方,1),多方,0,8,0),colorbrown; STICKLINE(多方>0 AND 多方<REF(多方,1),多方*4/5,0,8,0),COLORCA3DB5; STICKLINE(多方>0 AND 多方<REF(多方,1),多方*2/5,0,8,0),COLORFF99CC; PARTLINE(IF(C,0,0),2,colorred),LINETHICK3; |