1、支撑上穿压力,黄穿红就可以关注买入 支撑上穿压力公式用法简单: 黄穿红就可以关注买入 买线:=EMA(C,1); 卖线:=EMA(SLOPE(C,10)*10+C,20); STICKLINE(买线>=卖线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR000000; STICKLINE(买线<卖线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR232323; DRAWKLINE(H,O,L,C);{波段淡红青K线} STICKLINE(买线>=卖线,C,O,3,0),COLOR000045; STICKLINE(买线>=卖线,C,O,2,0),COLOR000085; STICKLINE(买线>=卖线,C,O,1,0),COLOR0000C5; STICKLINE(买线>=卖线,C,O,0.3,0),COLOR0000E5; STICKLINE(买线>=卖线,L,H,0,0),COLOR0000FF; STICKLINE(买线<卖线,L,H,0,0 ),COLORFFFF00; STICKLINE(买线<卖线,C,O,3.1,0 ),COLOR000000; STICKLINE(买线<卖线,C,O,2.1,0 ),COLOR6A6A00; STICKLINE(买线<卖线,C,O,1.5,0 ),COLORDDDD00; STICKLINE(买线<卖线,C,O,0.3,0),COLORFFFF00; DRAWICON(CROSS(买线,卖线),L,42); DRAWICON(CROSS(卖线,买线),H,43); XG1:=C/REF(C,1)>1.05; STICKLINE(XG1,L,H,0,0),COLOR0088EE; STICKLINE(XG1,CLOSE,OPEN,3,0),COLOR000000; STICKLINE(XG1,CLOSE,OPEN,2.2,0),COLOR0088DD; STICKLINE(XG1,CLOSE,OPEN,1.2,0),COLOR00AAFF; STICKLINE(XG1,CLOSE,OPEN,0.3,0),COLOR00FFFF; 均价:=(3*C+H+L+O)/6; VAR1:=(8*均价+7*REF(均价,1)+6*REF(均价,2)+5*REF(均价,3)+ 4*REF(均价,4)+3*REF(均价,5)+2*REF(均价,6)+REF(均价,8))/36; VAR2:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3; SZ1:=REF(VAR1,1)=REF(VAR2,1) AND VAR1>VAR2 AND CLOSE>VAR1; SZ2:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1) AND H/VAR1<1.1 AND L>VAR2 AND CLOSE>VAR1; SZ3:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>=REF(VAR2,1) AND H/VAR1>1.1; SZ4:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1) AND CLOSE>VAR2 AND CLOSE<VAR1; SZ5:=(VAR1>VAR2 AND VAR2>REF(VAR2,1) AND VAR1<>REF(VAR1,1) AND CLOSE<VAR2) OR (VAR1>VAR2 AND VAR1<REF(VAR1,1) AND VAR2<REF(VAR2,1) AND CLOSE<VAR2); SZ6:=REF(VAR1,1)>REF(VAR2,1) AND VAR1=VAR2 AND CLOSE<VAR2; XD1:=VAR1=VAR2 AND CLOSE<VAR2 OR (VAR1<REF(VAR1,1) AND VAR2<REF(VAR2,1) AND REF(VAR1,1)=REF(VAR2,1) AND CLOSE<VAR2); XD2:=VAR1=VAR2 AND CLOSE>VAR1; SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)); 量能饱和度:=IF(SAT>1,1,SAT)*100; DRAWTEXT_FIX(BARSTATUS=2 AND SZ1,0.8,0.05,0,'调整结束短线介入'),COLORFFFFFF; DRAWTEXT_FIX(BARSTATUS=2 AND SZ2,0.8,0.05,0,'上升通道走势良好'),COLORFFFFFF; DRAWTEXT_FIX(BARSTATUS=2 AND SZ3,0.8,0.05,0,'股价偏离注意调整'),COLORFFFFFF; DRAWTEXT_FIX(BARSTATUS=2 AND SZ4,0.8,0.05,0,'上升通道调整洗盘'),COLORFFFFFF; DRAWTEXT_FIX(BARSTATUS=2 AND SZ5,0.8,0.05,0,'转向特征注意离场'),COLOR00FFFF; DRAWTEXT_FIX(BARSTATUS=2 AND SZ6,0.8,0.05,0,'通道改变坚决离场'),COLORFFFF00; DRAWTEXT_FIX(BARSTATUS=2 AND XD1,0.8,0.05,0,'下跌通道只宜观望'),COLORFFFF00; DRAWTEXT_FIX(BARSTATUS=2 AND XD2,0.8,0.05,0,'短期底部准备进入'),COLORYELLOW; RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; K24:=SMA(RSV24,3,1); D24:=SMA(K24,3,1); J24:=3*K24-2*D24; 压力位:IF(CROSS(J24,J),H,REF(H,BARSLAST(CROSS(J24,J)))),DOTLINE,COLORRED; 支撑位:IF(CROSS(J,J24),L,REF(L,BARSLAST(CROSS(J,J24)))),DOTLINE,COLOR77AAFF; HH:=CONST(HHV(C,0)); LL:=CONST(LLV(C,0)); HL:=HH-LL; 顶:HH,NODRAW; DRAWICON(C=HH,HH,45); DRAWICON(C=LL,LL,44); 前期机构:=STRCAT(STRCAT('前期 机构(家): ',CON2STR(FINONE(246,0,331),0)),STRCAT(' 持股数(股): ',CON2STR(FINONE(247,0,331),0))); 本期机构:=STRCAT(STRCAT('本期 机构(家): ',CON2STR(FINONE(246,0,0),0)),STRCAT(' 持股数(股): ',CON2STR(FINONE(247,0,0),0))); DRAWTEXT_FIX(ISLASTBAR,0,0,0,前期机构),COLORFFFFFF; DRAWTEXT_FIX(ISLASTBAR,0,0.05,0,本期机构),COLORFFFFFF; 前期股东:=STRCAT('前期 十大流东股东持股 合计 : ',CON2STR(FINONE(264,0,331),0)); 本期股东:=STRCAT('本期 十大流东股东持股 合计: ',CON2STR(FINONE(264,0,0),0)); DRAWTEXT_FIX(ISLASTBAR,0,0.1,0,前期股东),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0,0.15,0,本期股东),COLORYELLOW; 2、波段,这个副图公式还行 A1:=3*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1)-2*SMA((C-LLV(L,60))/ (HHV(H,60)-LLV(L,60))*100,5,1); 别傻:=EMA(A1,5),LINETHICK1,COLORFF6600; A2:=(别傻-REF(别傻,1))/REF(别傻,1)*100+10,COLORFF0099; A3:=EMA(C,5); A4:=((C-LLV(L,20))/(HHV(H,20)-LLV(L,20)))*100; K20:=SMA(A4,6,1),LINETHICK1,COLOR33FF00; 高歌猛进:MA(2*SMA(A4,6,1)-SMA(SMA(A4,6,1),6,1),3),LINETHICK2,COLOR8000FF,CROSSDOT; 每况愈下:IF(高歌猛进<REF(高歌猛进,1),高歌猛进,DRAWNULL),LINETHICK3,COLOR00FFFF,CIRCLEDOT; 郜:=IF(LLV(K20,5)<10 AND (C=LLV(C,10) OR L=LLV(L,10)) AND C>REF(C,1)*0.905,40,0), COLOR0033FF; 抓紧发财:IF((HHV(A1,10)>90 OR HHV(高歌猛进,10)>88) AND (C=HHV(C,10) OR H=HHV(H,10)),高歌猛进,DRAWNULL),CROSSDOT,LINETHICK3,COLORFFFF00; 赚钱中:IF((HHV(A1,10)>90 OR HHV(高歌猛进,10)>88) AND (C=HHV(C,10) OR H=HHV(H,10)), 80,100),LINETHICK3,COLORRED; 强悍卧底:IF((A2<-3 OR LLV(K20,5)<10) AND (C=LLV(C,10) OR L=LLV(L,10)) AND C>REF(C,1) *0.905,30,0),LINETHICK2,COLORFFFFFF; 卧底:IF(强悍卧底=30,88,DRAWNULL),CROSSDOT,LINETHICK3,COLORFFFFFF; DRAWICON(郜=40,40,9); 开始潜伏:IF(HHV((MA(C,5)-C)/C,5)>0.07 AND HHV((MA(C,10)-MA(C,5))/MA(C,5),5)>0.05 AND (C=LLV(C,10) OR L=LLV(L,10)) AND C<L*1.04 AND C>REF(C,1)*0.905,40,0), COLORF00FF0,LINETHICK3; 3、跟着主力走 明白主力和散户的关系( 顶尖财经 股票学院: http://58188.com ) {抄底庄散关系} M:=55;N:=21; VAR2:=REF(LOW,1); VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100; VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3); VAR5:=LLV(LOW,30); VAR6:=HHV(VAR4,30); VAR7:=IF(MA(CLOSE,58),1,0); VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7; VAR9:=IF(VAR8>100,100,VAR8); 庄现身:STICKLINE(VAR9>-120,0,VAR9,3,1),COLORRED; VAR1:=REF((L+O+C+H)/4,1); VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1); VAR13:=EMA(VAR12,10); VAR14:=HHV(H,30); VAR15:=EMA(IF(H>=VAR14,VAR13,0),3); 庄撤退:IF(VAR15<REF(VAR15,1),VAR15,0),COLOR00FF00,NODRAW; STICKLINE(VAR15<REF(VAR15,1),0,-VAR15,3,1 ),COLOR00FF00; 散户: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORFFFF00,LINETHICK1; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 庄家:EMA(J,5),COLORFF00FF,LINETHICK1; |