【大智慧】百團大戰(zhàn)主圖指標公式
攻城獅 2016.01.23 18:30
AA05:MA(C,5),color0099cc;
五日乖離率:=(c-AA05)/AA05*100;
BB05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;
速度5:=sma(ema((AA05-ref(AA05,1))/ref(AA05,1),3)*100,3,1);
加速度5:ema((速度5-ref(速度5,1)),3),linethick0;
STICKLINE(BB05>30 and AA05>ref(AA05,1), AA05,REF(AA05,1),8,1),colorcyan;
AA10:MA(C,10);AA20:=MA(c,20);
BB10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
STICKLINE(BB05<0 and AA05 AA30:MA(C,30);
三拾日乖離率:(c-AA30)/AA30*100,linethick0;
Var1:=(AA20-AA30)>ref((AA20-AA30),1) and AA20>ref(aa20,1) and AA30>ref(AA30,1);
Var2:=(AA30-AA20) BB30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416;
STICKLINE(BB30>15 and AA30>ref(AA30,1), AA30,REF(AA30,1),8,1),colorff00ff;
強勢狙擊:=filter(BB30>30 and BB10>45 and cross(BB05,60),10);
增兵:=filter(count(cross(BB05,30),5)>=1 and AA05>ref(aa05,1) and 三拾日乖離率>ref(三拾日乖離率,1) and AA10>ref(AA10,1)
and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10) ;
撤退:=filter(count(cross(30,BB05),5)>=1 and (c>AA30 or O>AA30) and AA05 drawtext(增兵 ,low*0.98,’←增兵’),colorred;
JC:=cross(0,五日乖離率) and 三拾日乖離率ref(AA10,1) ;
減兵:=filter(JC,10);
MR:=count(cross(五日乖離率,0),3)>=1 and 三拾日乖離率>ref(三拾日乖離率,1) and AA05>ref(AA05,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)買入:=filter(MR,10);
drawtext(減兵,high*1.02,’←減兵’),colorcyan;
drawtext(買入,low*0.98,’←偵查’),coloryellow;
drawtext(撤退 ,high*1.02,’←撤退’),colorgreen;
drawtext(強勢狙擊,LOW*0.98,’←強勢狙擊’),coloryellow;
Var21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));
Var3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);
MV:=(Var21+Var3)/AMOUNT*VOL*100*50;
DRAWTEXT(MV>6 and l<=llv(l,10),l*0.95,'←異動'),colorcyan;
WCW:=BARSLAST(WEEKDAY>REF(WEEKDAY,1));{周}
CAW:=IF(WCW>0,LLV(C,WCW),LLV(C,WEEKDAY));{周}
周漲幅:=(C/CAW-1)*100;
WCM:=BARSLAST(MONTH>REF(MONTH,1));{月}
CAM:=IF(WCM>0,LLV(C,WCM),LLV(C,MONTH));{月}
月漲幅:=(C/CAM-1)*100;
WCY:=BARSLAST(YEAR>REF(YEAR,1));{年}
CAY:=IF(WCY>0,LLV(C,WCY),LLV(C,YEAR));{年}
年漲幅:=(C/CAY-1)*100;
DRAWTEXTREL(2,380,’周漲幅:’+NUMTOSTRN(周漲幅,2)+’%’),LINETHICK1,COLOR00FFFF;
DRAWTEXTREL(2,435,’月漲幅:’+NUMTOSTRN(月漲幅,2)+’%’),LINETHICK1,COLOR00FFFF;
DRAWTEXTREL(2,490,’年最低點到現(xiàn)在漲幅:’+NUMTOSTRN(年漲幅,2)+’%’),LINETHICK1,COLOR00FFFF;
SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);
DRAWTEXTREL(0,130,’★量能飽和度★ ‘+NUMTOSTRN(SAT,2)+’%’),LINETHICK3,Color8000FF;
DRAWTEXTREL(0,68,’★遵守紀律最難!遵守紀律最重要!遵守紀律重于一切!紀律是交易獲利的保證!★’),LINETHICK3,COLORRED;
DRAWGBKLAST(c>0,STRIP(RGB(128,0,0),RGB(25,25,112),0));
DRAWTEXTABS(0,0,’★’+STKLABEL+’★’+STKNAME+’ ‘+BKNAME),linethick4,COLOR00FFFF;
每股凈資產(chǎn):=FINANCE2(4);
DRAWTEXTABS(2,82,’每股凈資產(chǎn):’+每股凈資產(chǎn)+’元’),LINETHICK1,COLOR00FFFF;
流通盤大小:=FINANCE2(37)/10000;
DRAWTEXTABS(2,64,’流通盤大小:’+流通盤大小+’億 ‘),LINETHICK1,COLOR00FFFF;
凈資產(chǎn)收益率:=FINANCE2(5);
DRAWTEXTABS(2,99,’凈資產(chǎn)收益率:’+凈資產(chǎn)收益率+’% ‘),LINETHICK1,COLOR00FFFF;
申明:本文為作者投稿或轉載,在概念股網(wǎng) http://m.guangshenggb.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責,投資決策請建立在獨立思考之上。