攀登圖
{N=1,100,27} 盤:=CAPITAL/1000000; 益:=FINANCE(33); 資:=FINANCE(34); 換手:=VOL/CAPITAL; 長陽:=(WINNER(C)-WINNER(O))>=0.15 AND 換手<=0.04; {縮量長陽:IF(長陽,(WINNER(C)-WINNER(O))*100,0),STICK,COLOR6EA4FF,LINETHICK2;} VAR1:=(C-REF(C,1))/REF(C,1); VAR2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1); 個股:=EMA(SUM(VAR1,20),5); 大盤:=EMA(SUM(VAR2,20),5); 領(lǐng)漲:=(個股-大盤)>=0; VAR3:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100; VAR4:=SMA(VAR3,72,1); VAR5:=SMA(VAR4,34,1); 中線趨勢:=3*VAR4-2*VAR5; 中線趨勢升:=(中線趨勢-REF(中線趨勢,1))>=0; 均五升:=(MA(C,5)-REF(MA(C,5),1))>=0; 均十升:=(MA(C,10)-REF(MA(C,10),1))>=0; STICKLINE(均五升 AND 均十升 AND 中線趨勢升,0+0.5,0-0.5,6,1),COLORFFFF00,LINETHICK4; 領(lǐng)漲大盤:IF(均五升 AND 均十升 AND 中線趨勢升 AND 領(lǐng)漲,4,0),COLORFF99FF; VAR6:=(2*C+H+L)/4; VAR7:=LLV(L,N); VAR8:=HHV(H,N); 攀登:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13)-50; 金山:=EMA(0.618*REF(攀登,1)+0.382*攀登,3); STICKLINE(攀登>金山 AND 攀登>=REF(攀登,1),攀登+5,金山-1,1.5,0),COLORRED,LINETHICK2; STICKLINE(攀登>金山 AND 攀登<REF(攀登,1),攀登,攀登,1.5,0),COLORWHITE,LINETHICK2; STICKLINE(攀登>=金山,金山,金山,1.5,0),COLORYELLOW,LINETHICK2; STICKLINE(攀登<金山,金山+0.5,金山-0.5,1.5,0),COLORFFFF00,LINETHICK2; {STICKLINE(領(lǐng)漲大盤=4,攀登+6,金山-1,1.5,0),COLORFF99FF;} 強弱界:0,COLORFFFF00; STICKLINE(攀登>=金山 AND 均五升 AND 均十升 AND 中線趨勢升 ,金山-3,金山-7,2,0),COLOR64A0E6 ; 運動員:=IF(攀登>=金山 AND 均五升 AND 均十升 AND 中線趨勢升 AND 金山<0,1,0); 起攀:IF(運動員=1 AND COUNT(運動員=1,5)=1,8,0),COLORFF9999,LINETHICK1; {DRAWTEXT(起攀=8,金山,'起攀'),COLORWHITE;} BIAS1:=(C-MA(C,6))/MA(C,6)*100; BIAS2:=(C-MA(C,12))/MA(C,12)*100; BIAS3:=(C-MA(C,24))/MA(C,24)*100; BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6; 乖離:=MA(BIAS,3); 準(zhǔn)備:STICKLINE(乖離<-6 AND 乖離>=-12,-6,0,6,1 ),{COLOR33FFCC}COLORYELLOW; 抄底一:IF(乖離<-12 AND 乖離>=-18,-12,0),{COLOR33CCCC}COLORMAGENTA,STICK; STICKLINE(乖離<-12 AND 乖離>=-18,-12,0,2,0) ,{COLOR33CCCC}COLORMAGENTA; 抄底二:IF(乖離<-18,-18,0),{COLOR3399CC}COLORYELLOW,STICK; STICKLINE(乖離<-18,-18,0,2,0) ,{COLOR3399CC}COLORYELLOW; 必抄底:IF(起攀=8 AND COUNT(乖離<-12,10)>=1,10,0),LINETHICK0,COLORRED; STICKLINE(必抄底=10,10,0,10,1),COLORRED; {DRAWTEXT(必抄底=10,10,'←必抄底'),COLORRED;};本文來自:創(chuàng)幻論壇 http://www. |
|