学习“雪狐白狐”之“主力入货”体会 将“主力入货”分时和日线设为预警指标,选中一个涨停板股票。过程如下: 1、设立条件 2、选中股票 3、证据在此 指标 主力入货+ 突破90日 源码
VAR2:=REF(LOW,1); VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100; VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3); VAR5:=LLV(LOW,38); VAR6:=HHV(VAR4,38); VAR7:=IF(LLV(LOW,90),1,0); VAR8:EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7; STICKLINE(VAR8,0,VAR8,9,3),colorred; Var9:=EMA(CLOSE,5); Var10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10); Var11:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7*(-1); Var12:=EMA(CLOSE,5)*(-1); 增减力度:Var10*5,colorWHITE; DRAWTEXT(cross(0,增减力度),-0.5,'涨'),Color006EFF; DRAWTEXT(cross(0,增减力度),-1.8,'啦'),Color006EFF; drawicon(cross(0,增减力度),1.5,1),COLORWHITE; XL1:=MA(LOW,2)*0.96; XL2:=MA(LOW,26)*0.85; XL3:=REF(XL1,1)STICKLINE(XL3,0,Var8*3,4,0),Color006EFF; DRAWTEXT(XL3,Var8*2,'买'),Color006EFF; MA90:=MA(C,90); AS:=REF(C,1)上90日:IF((AS AND C>MA90),30,0);
感谢“雪狐白狐”!
|