效果图展示 2023.8.27 周日 使用说明 无 源码分享 DRAWGBK(C>0, RGB(0,6,5),RGB(00,0,0),0,0,1); DRAWKLINE(H,O,L,C); 上买下卖:MA(CLOSE,75)LINETHICK3,COLOR0080FF; DRAWTEXT(ISLASTBAR,上买下卖,'◆上买下卖')LINETHICK9,COLOR0080FF; CC0:=IF(CURRBARSCOUNT<18,CONST(REF(C,1)),DRAWNULL); 止损:0.977*CC0,LINETHICK3,COLORGREEN; DRAWTEXT(ISLASTBAR,止损,'止损')LINETHICK3,COLORGREEN; VAR1:=1; VAR02:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55); VAR03:=EMA(CLOSE,3); VAR04:=(2*CLOSE+LOW+HIGH)/4*VAR1; VAR05:=VAR02-VAR03; JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3)); DDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01); JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01) && JJJ>(DYNAINFO(6)-0.01))); 一:=IF(JJJT,0.01*EXPMA(AMOUNT,7)/EXPMA(V,7),EMA((H+L+C)/3,7)); 二:=IF(JJJT,0.01*EXPMA(AMOUNT,14)/EXPMA(V,14),EMA((H+L+C)/3,14)); 三:=IF(JJJT,0.01*EXPMA(AMOUNT,21)/EXPMA(V,21),EMA((H+L+C)/3,21)); 四:=IF(JJJT,0.01*EXPMA(AMOUNT,28)/EXPMA(V,28),EMA((H+L+C)/3,28)); 五:=IF(JJJT,0.01*EXPMA(AMOUNT,35)/EXPMA(V,35),EMA((H+L+C)/3,35)); 六:=IF(JJJT,0.01*EXPMA(AMOUNT,42)/EXPMA(V,42),EMA((H+L+C)/3,42)); 七:=IF(JJJT,0.01*EXPMA(AMOUNT,49)/EXPMA(V,49),EMA((H+L+C)/3,49)); 八:=IF(JJJT,0.01*EXPMA(AMOUNT,98)/EXPMA(V,98),EMA((H+L+C)/3,98)); 九:=IF(JJJT,0.01*EXPMA(AMOUNT,147)/EXPMA(V,147),EMA((H+L+C)/3,147)); 均:=IF(JJJT,0.01*EXPMA(AMOUNT,1)/EXPMA(VOL,1),EMA((HIGH+LOW+CLOSE)/3,1))COLORWHITE,NODRAW; 虚高:=HHV(H,52),COLORFF5BAD,NODRAW; 上轨:HHV(均,49),COLOR009700,NODRAW; 下轨:LLV(均,14),COLOR9E51CC,NODRAW; 虚低:=LLV(L,27),COLORFF5BAD,NODRAW; 压:=HHV(均,147)POINTDOT,LINETHICK3,COLORFFBC79; STICKLINE(上轨<虚高,上轨,虚高,5,0),COLOR213A1D; STICKLINE(下轨>虚低,下轨,虚低,5,0),COLOR282242; STICKLINE(下轨<REF(下轨,1),下轨,虚低,1,0),COLOR00FF80; STICKLINE(压>REF(压,1),压,虚高,5,0),COLOR27004F; A00:=(L+H+C*2)/4; A01:=EMA(A00,14),COLORBLUE,LINETHICK2; A002:=EMA(A00,25); A1X0:=(A01-REF(A01,1))/REF(A01,1)*100; A2X0:=(A002-REF(A002,1))/REF(A002,1)*100; 出击:IF(A1X0>=0 AND BARSLAST(CROSS(A1X0,0))>0,REF((C+O)/2,BARSLAST(CROSS(A1X0,0))),DRAWNULL),COLORMAGENTA,LINETHICK2; 逃遁:IF(A1X0<0 AND BARSLAST(CROSS(0,A1X0))>0,REF((C+O)/2,BARSLAST(CROSS(0,A1X0))),DRAWNULL),COLORGREEN,LINETHICK2; X1:=(C+L+H)/3; X2:=EMA(X1,6); X3:=EMA(X2,5); DRAWICON(CROSS(X2,X3),L*0.97,7); DRAWICON(CROSS(X3,X2),H*1.02,8); A:EMA(C,21)COLORBLUE,LINETHICK3; B:=A<REF(A,1); IF(B-1,A,DRAWNULL)COLORRED,LINETHICK3; AA:=EMA(C,3) > EMA(C,21); BB:=EMA(C,3) < EMA(C,21); CC:= EMA(C,3) > EMA(C,8); CC1:=EMA(C,3) < EMA(C,8); DD:=CLOSE<OPEN; STICKLINE(AA,H,L,0,0),COLOR007FFF; STICKLINE(AA,O,C,3,1),COLOR007FFF; STICKLINE(AA AND DD,O,C,3,0),COLOR007FFF; STICKLINE(BB,H,L,0,0),COLORGREEN; STICKLINE(BB,O,C,3,1),COLORGREEN; STICKLINE(BB AND DD,O,C,3,0),COLORGREEN; STICKLINE(BB AND CC,H,L,0,1),COLORF00FF0; STICKLINE(BB AND CC,O,C,3,1),COLORF00FF0; STICKLINE(BB AND CC AND DD,O,C,3,0),COLORF00FF0; STICKLINE(AA AND CC1,H,L,0,0),COLORBLUE; STICKLINE(AA AND CC1,O,C,3,1),COLORBLUE; STICKLINE(AA AND CC1 AND DD,O,C,3,0),COLORBLUE; 买线:=MA(CLOSE,9),LINETHICK2; 卖线:=MA(CLOSE,20); BU:=CROSS(买线,卖线); SEL:=CROSS(卖线,买线); DRAWTEXT(BU,L-0.1,'建仓')COLORYELLOW; DRAWTEXT(SEL,H+0.1,'空仓'); A2:=(C-REF(C,1))/REF(C,1)*100<1.02; A3:=H>MA(C,5)*1.12; AAA:= A2 AND A3; DRAWTEXT(AAA,H*1.05,'卖点'),COLORWHITE; EMA13:=EMA(C,13),COLOR0000FF,LINETHICK2; EMA34:=EMA(C,34),COLORYELLOW; EMA55:=EMA(C,55),COLORFF00FF; EMA120:=EMA(C,120),COLORFFCC66; AR1:=EMA55>EMA34 AND EMA34>EMA13; AR2:=BARSLAST((C-EMA13)/EMA13*100<-6); AR3:=EMA13>=REF(EMA13,2); AR4:=COUNT(CROSS(C,EMA13),AR2)=1; AR5:=AR1 AND AR2 AND AR3 AND AR4; AR6:=AR5 AND FILTER(AR5,10); DRAWTEXT(AR6,L-0.09,'启动'),COLORYELLOW; STICKLINE(AR6,H,L,3,0),LINETHICK2,COLORYELLOW; BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5; BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2; BR3:=C>EMA55 AND (REF(C,1)<REF(EMA55,1) OR REF(C,2)<REF(EMA55,2) OR REF(C,3)<REF(EMA55,3) OR REF(C,4)<REF(EMA55,4) OR REF(C,5)<REF(EMA55,5)); BR4:=BR1 AND BR2 AND BR3; DRAWTEXT(BR4 AND FILTER(BR4,10),L-0.09,'上升'),COLOR00C5FF; STICKLINE(BR4 AND FILTER(BR4,10),O,C,3,1),LINETHICK2,COLOR00C5FF; CR1:=(C-REF(C,1))/REF(C,1)*100>0.5; CR2:=V>MA(V,5)*0.6; CR3:=COUNT(CROSS(EMA13,EMA55),3)=1; CR4:=ABS(EMA34-EMA55)/EMA55<0.03; CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1); CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2); STICKLINE(CR6,O,C,3,1),LINETHICK2,COLORF00FF0; DRAWTEXT(CR6,L-0.09,'涨升'),COLORF00FF0; DR1:=EMA13>EMA34 AND EMA34<EMA55; DR2:=BARSLAST(CROSS(C,EMA55) ); DR3:=H=HHV(H,DR2); DR4:=BARSLAST(DR3); DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1; DR6:=C>REF(C,1) ; DR7:= DR1 AND DR5 AND DR6 ; DR8:=DR7 AND FILTER(DR7 ,10); DRAWTEXT(DR8,L-0.09,'出击'),COLORD6BA63; ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55); DRAWTEXT(ER,L-0.09,'金叉'),COLOR0099FF; FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34); DRAWTEXT(FR,L-0.09,'加仓'),COLORWHITE; GR1:=BARSLAST(BETWEEN('BIAS.BIAS2'(6,13,24),0,5) ); GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1); GR3:=COUNT('BIAS.BIAS2'(6,13,24)>10 AND H=HHV(H,GR1),GR1); GR4:=H=HHV(H,GR1); GR5:='MACD.MACD'(12,26,9)<REF('MACD.MACD'(12,26,9),1); GR6:=GR2 AND GR3 AND GR4; GR7:=GR2 AND GR3 AND GR4 AND GR5; DRAWTEXT(GR6 AND GR7,H+0.13,'了结'),COLOR00FF00; HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55); DRAWTEXT_FIX(1,0.980,0,1,'章鱼哥★QQ号:2280279789'),COLOR666666; DRAWTEXT(HR2 AND FILTER(HR2,10),L-0.3,'推进'),COLORFFC8FF; STICKLINE(HR2 AND FILTER(HR2,10),O,C,3,1),LINETHICK2,COLORFFC8FF; EMA3:=EMA(C,3),COLORWHITE; EMA8:=EMA(C,8),COLORYELLOW; EMA21:=EMA(C,21),COLORFF00FF; EMA43:=MA(C,43),COLORFFCC66; VAR2:=(2*CLOSE+HIGH+LOW)/4; VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1); VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4); 散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3; 庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3; DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.08,'←提示低吸'),COLORLIRED; DRAWTEXT(CROSS(庄家,散户) AND 散户>70,H+0.08,'←提示高抛'),COLORGREEN; DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1); DRAWICON(CROSS(庄家,散户) AND 散户>70,H+0.05,2); VAR9:=CLOSE-REF(CLOSE,5); VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5); VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20); 卖出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100); DRAWICON(卖出<0,H+0.05,2); 买线0:=EMA(CLOSE,2); 卖线0:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42); B1:IF(CROSS(买线0,卖线0),L-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA; S1:IF(CROSS(80,RSI)*30,H+0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW; VC:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3; DRAWTEXT_FIX(C>O,0.01,0.41,0,'更多精彩指标公式,请关注微信公众号:K线指标小帮手'),COLORYELLOW; S2:=IF(VC>20 AND FILTER(VC< REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORGREEN; A0:=(L+H+C*2)/4; A1:EMA(A0,14)COLORBLUE,LINETHICK2; A02:=EMA(A0,25)COLORLIBLUE,LINETHICK2; A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW; A2X:=(A02-REF(A02,1))/REF(A02,1)*100,NODRAW; 看多:IF(A1X>=0 AND BARSLAST(CROSS(A1X,0))>0,REF((C+O)/2,BARSLAST(CROSS(A1X,0))),DRAWNULL),COLORMAGENTA{,LINETHICK2}; 逃顶:IF(A1X<0 AND BARSLAST(CROSS(0,A1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,A1X))),DRAWNULL),COLORCYAN,{LINETHICK2}; 买入持股:IF(A1X>=0,A1,DRAWNULL)COLORRED,LINETHICK3; 卖出空仓:IF(A1X<0 AND A2X<0,A1,DRAWNULL)COLORGREEN,LINETHICK3; STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLOR9933FF; STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC; STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLOR0033FF; STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66CC33; 选股公式: 无 |
|
来自: 常熟老李jlr5mr > 《★股市》