葫芦: MA200:=EMA(CLOSE,20); MA400:=EMA(CLOSE,40); MA600:=EMA(C,60); AA:=BARSLAST(MA400>MA600 AND (MA200=MA400 OR MA200>MA400)); BB:=REF(COUNT(C<MA600,AA)=AA,1); CC:=CROSS(C,MA600) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3; 芙蓉出水:=BB AND CC; STICKLINE(芙蓉出水,C,O,2,0),COLORYELLOW; DRAWTEXT(芙蓉出水,L-L*0.0005,'芙蓉出水'),COLORYELLOW; N1:=10; TK:=CONST(HHVBARS(V,10)),COLOR0000FF,LINETHICK1; 量能平台:IF(CURRBARSCOUNT<=N1+3,CONST(IF(TK=0,C,REF(C,TK))),DRAWNULL),COLORGRAY,LINETHICK1; NOTEXT_新量能点:IF(CURRBARSCOUNT=TK+1,量能平台,DRAWNULL),CIRCLEDOT,COLORFFFFFF,LINETHICK9; DRAWTEXT(ISLASTBAR,量能平台,'量能平台'),COLORGRAY; M5:MA(C,5),COLORWHITE; M20:MA(C,20),COLORMAGENTA; M5对称:IF(M5>=M20,M20*2-M5,M20*2-M5),COLORYELLOW; (M5+M20)/2,COLORGRAY; (M5对称+M20)/2,COLORGRAY; DRAWKLINE(H,O,L,C); DRAWTEXT_FIX(1,0.9,0.9,1,'温馨提示:股价在葫芦尾之上要涨,在下要跌'),COLORYELLOW; 筹码分布主图: {宝塔线} VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),8,0),COLOR0000AA;{红1} STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),6,0),COLOR0000CC;{红1} STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),4,0),COLOR0000DD;{红1} STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),2,0),COLOR0000FF;{红1} STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),0,0),COLORYELLOW;{红1} VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2); VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),8,0),COLOR998855; STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),6,0),COLORBBAA77; STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),4,0),COLORDDCC99; STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),2,0),COLORFFEEBB; STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),0,0),COLORCYAN; VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),8,0),COLOR00FFFF; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),6,0),COLOR00C8FF; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR10ECFF; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10FFFF; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR10F0FF; VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),8,0),COLOR00D900; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),6,0),COLOR93FFD1; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR93FF22; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR24FF22; {● 筹码分布主图指标} 底线:COST(30),COLOR00FF00, LINETHICK2; 拉升线:COST(70),COLORFF00FF,LINETHICK2; 逃顶线:=COST(90); 风险线:=HHV(COST(90),20); VV:=HHV(COST(90),10); XX:=LLV(COST(70),20); 市场重心:(HHV(H,0)+LLV(L,0))/2,COLORYELLOW,LINETHICK2; 套牢筹码:STICKLINE(逃顶线<VV,逃顶线,VV,8,0),COLORFFFF00; 分时主图(顶尖财经 股票学院: http://58188.com): DRAWGBK(1,RGB(0,0,0),RGB(0,0,0),0,'019',0); 资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED; 资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00; 资金出入:=资金流入+资金流出,COLORSTICK; 资金流量:=资金出入,COLORFFFFFF,LINETHICK1; 资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1; 资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2)); 增强流量比:=IF(资金流量比>50,资金流量比,50); 攻击量:=((HSL*0.50+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN; 攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0; 攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0; 攻击流量:=攻击量A+攻击量B,COLORSTICK; NOTEXT攻击线:=攻击流量,COLORYELLOW,LINETHICK1; 攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1; 资金攻击度:=IF(攻击比>0,(攻击比+50),100-ABS((攻击比-50))); 攻击度限制:=IF(资金攻击度>100,100,IF(资金攻击度<0,0,资金攻击度)); 增强攻击度:=IF(资金攻击度>50,资金攻击度,50); 开始攻击:=CROSS(攻击流量,0) AND (C>REF(C,2) OR (资金流量>0 AND 资金流量>攻击流量)); 开始攻击量:=CROSS(攻击流量,0) AND C>REF(C,2) AND V>LLV(V,3)*3; Q:=250; 高点:=HHV(C,Q); 低点:=LLV(C,Q); 最高:=CONST(高点),NODRAW; 最低:=CONST(低点),NODRAW; 轴差:=最高-最低; 中价轴:=(最高+最低)/2; HL3:=(100-0)/2*1.3; HL4:=(100-0)/1*1.3; 中间价轴:=(50-HL3)*轴差/HL4+中价轴; 平安轴:=(中价轴+中间价轴)/2; BGTYU:=IF(DATE<=1150530,1,0); GHYJKU:=BETWEEN((CLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))),1.05,0.95); VBNH:=IF(GHYJKU=0,MA((CLOSE*BGTYU),BARSCOUNT((CLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU))))); 起动线:=EXPMA((CLOSE/VBNH),20)*1,COLORYELLOW,POINTDOT; 主力线:=EXPMA((CLOSE/VBNH),60)*1,COLORMAGENTA,LINETHICK2; 散户线:=EXPMA((CLOSE/VBNH),120)*1,COLORGREEN,LINETHICK2; 限制起动线:=起动线*中间价轴; 限制主力线:=主力线*中间价轴; 限制散户线:=散户线*中间价轴; 主散MIN:=MIN(限制主力线,限制散户线); {分时转强:=主散MIN>金龙线 AND ((LONGCROSS(限制主力线,金龙线,2) OR CROSS(限制主力线,限制散户线)) OR (限制主力线>限制散户线 AND LONGCROSS(牵引线,金龙线,2)));} DRAWBAND(限制主力线,RGB(250,125,0),限制散户线,RGB(0,100,250)); STICKLINE(起动线<主力线,限制起动线,限制主力线,1.0,0),COLOR00FF00; STICKLINE(起动线>主力线,限制起动线,限制主力线,1.0,0),COLORFFFFFF; STICKLINE(VOL>EMA(VOL,60) AND 起动线>主力线,限制起动线,限制主力线,1,0),COLORFF00FF; STICKLINE(VOL>EMA(VOL,30) AND 起动线>主力线 AND 起动线>1.01 AND 起动线>REF(起动线,1),限制起动线,限制主力线,1,0),COLOR00FFFF; 主力:限制主力线,COLORFFFFFF,LINETHICK1; 分时均价线:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK2; 追击涨停:=限制散户线>分时均价线 AND CROSS(C,限制散户线); 拉升量:=IF(C>REF(C,1),VOL,0); 昨拉升最高值:=CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA; 今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0)),COLORYELLOW,NODRAW; 攻击力度:=今拉升最高值/昨拉升最高值,NODRAW; TT:=BARSCOUNT(C);{取得有效收盘价} 均价黄:=SUM(C*V,TT)/SUM(V,TT);{分时均线的取值} 量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2); 价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2); 价上岗量破5:=C>均价黄 AND V>MA(V,5); 量起爆:=V>=REF(V,1)*1 ; 价创新高:=C>=HHV(C,0); 量创新高:=V>=HHV(V,0); 对昨日涨幅:=(C/DYNAINFO(3)-1)*100<=2.50;{涨幅控制2个点以内} 每日一点:=量两步 AND 价两步 AND 价上岗量破5 AND 量起爆 AND 价创新高 AND 量创新高 AND 对昨日涨幅; {计算收益、已爆分钟} VV:=BARSSINCE(每日一点)+1; 首次起爆价:=REF(C,VV-1),NODRAW; 今天收益:=(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW; 流通盘:=CAPITAL*100/100000000,NODRAW; 起爆时间:=REF(TIME/10000,VV),NODRAW; 已爆分钟:=VV-1,NODRAW; {画出底线和红球} 首次起爆量:=REF(VOL,VV-1); STICKLINE(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.83,最低,1,0),COLORCYAN; DRAWICON(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.83,27); DRAWTEXT(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.83,'∠量突破'),COLORCYAN; STICKLINE(FILTER(每日一点,30),最低+轴差*0.75,最低,1,0),COLORGREEN; DRAWICON(FILTER(每日一点,30),最低+轴差*0.75,13); DRAWTEXT(FILTER(每日一点,30),最低+轴差*0.75,'∠起爆'),COLORGREEN; DRAWNUMBER(FILTER(每日一点,30),最低+(C-最低)/2,首次起爆价),COLORWHITE; {DRAWTEXT_FIX(每日一点=1,0.00,0.10,0,'当起爆突破时:20线上行+日价K线突破+日K线量起爆更好+估换手小于10%更有效'),COLORMAGENTA;} TA:=BARSLAST(TIME=100000); TC:=REF(HHV(C,0),TA+1); TV:=REF(HHV(V,0),TA+1); ZF:=C/DYNAINFO(3)<1.05; XG1:=CROSS(C,TC) AND V>TV AND ZF,COLORWHITE; TA1:=BARSLAST(TIME=110000); CC1:=REF(HHV(C,0),TA1+1); VV1:=REF(HHV(V,0),TA1+1); ZF1:=CC1/DYNAINFO(3)<1.05; XG2:=CROSS(C,CC1) AND V>VV1 AND ZF1,COLORYELLOW; 突破:=XG1 OR XG2,COLORRED; STICKLINE(FILTER(突破=1,15),最低+轴差*0.60,最低,1,0),COLORWHITE; DRAWICON(FILTER(突破=1,15),最低+轴差*0.60,17); DRAWTEXT(FILTER(突破=1,15),最低+轴差*0.60,'∠分时突破'),COLORWHITE; STICKLINE(FILTER(开始攻击量=1,15),最低+轴差*0.45,最低,1,0),COLORMAGENTA; STICKLINE(FILTER(开始攻击=1,30),最低+轴差*0.30,最低,1,0),COLORYELLOW; STICKLINE(CROSS(EXPMA((CLOSE/VBNH),60),EXPMA((CLOSE/VBNH),120)),最低+轴差*0.15,最低,1,0),COLORCYAN; DRAWICON(FILTER(开始攻击量=1,15),最低+轴差*0.45,24); DRAWICON(FILTER(开始攻击,30),最低+轴差*0.30,23); DRAWTEXT(FILTER(开始攻击量=1,15),最低+轴差*0.45,'∠攻击量'),COLORMAGENTA; DRAWTEXT(FILTER(开始攻击,30),最低+轴差*0.30,'开始攻'),COLORYELLOW; DRAWTEXT(FILTER(CROSS(EXPMA((CLOSE/VBNH),60),EXPMA((CLOSE/VBNH),120)),30),最低+轴差*0.15,'★迹'),COLORCYAN; DRAWICON(FILTER(CROSS(起动线,1.01),30),限制散户线,17); DRAWTEXT(FILTER(CROSS(起动线,1.01),30),最低,'可能涨停'),COLORMAGENTA; DRAWTEXT(FILTER(追击涨停,30),分时均价线+(限制散户线-分时均价线)/2,'追击'),COLORRED; 时间:=TIME=100000; N:=BARSLAST(时间),COLOR808080; 常数:CONST(IF(N=0,C,REF(C,N))),COLOR004848,DOTLINE; CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N))),COLOR808080; CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N))),COLOR808080; STICKLINE(时间=1,CS1,CS2,-1,0),COLOR808080; H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 阻力:L1+P1*7/8,COLOR00FFFF,DOTLINE; DRAWTEXT(CURRBARSCOUNT=1,阻力,'阻力'),COLOR00FFFF; 支撑:L1+P1*0.5/8,COLORRED,DOTLINE; DRAWTEXT(CURRBARSCOUNT=1,支撑,'支撑'),COLORA2A2FF; 中:(支撑+阻力)/2,COLORC0C0C0,DOTLINE; 现价:CLOSE,COLORWHITE,LINETHICK1; QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2; VAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2; VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2; VAR3:=(VAR1+VAR2)/2; VAR4:=EMA(VAR3,30); VAR5:=EMA(VAR3,60); VAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5); DRAWBAND(VAR1,RGB(150,30,30),EMA(VAR1,60),RGB(0,110,30)); 牵引线:VAR1,COLORYELLOW; 趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED; 量价关注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE; 冲击量:IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORYELLOW; STICKLINE(QZS>VAR1,QZS,VAR1,1,0),COLORFF00FF; STICKLINE(冲击量=1,QZS,VAR1,1,0),COLORYELLOW; DRAWICON(趋势关注=1,EMA(VAR1,60),13); DRAWTEXT(量价关注=1,EMA(VAR1,60),'L0V'),COLORWHITE; MR:=C<支撑 AND CROSS(C,REF(C,2)); STICKLINE(CROSS(现价,支撑),C,中,2,0),COLOR00F0F0; STICKLINE(MR=1,支撑,中,2,0),COLOR00F0F0; DRAWICON(MR=1 OR CROSS(现价,支撑),中,34); STICKLINE(CROSS(支撑,现价),支撑,(支撑-中)/5+支撑,2,0),COLOR00F0F0; MC:=C>阻力 AND CROSS(REF(C,2),C); STICKLINE(CROSS(阻力,现价),C,中,2,0),COLORFFFF00; STICKLINE(MC=1,阻力,中,2,0),COLORFFFF00; DRAWICON(MC=1 OR CROSS(阻力,现价),中,35); STICKLINE(CROSS(现价,阻力),阻力,阻力-(支撑-中)/5,2,0),COLORFFFF00; DRAWTEXT(ISLASTBAR,(支撑+阻力)/2,'中'),COLORWHITE; 均价:SUM(V*C,0)/SUM(V,0),COLOR004080,DOTLINE; DRAWTEXT(CURRBARSCOUNT=4,均价,'均'),COLORFFFFFF,LINETHICK2; 最新:C,LINETHICK9,COLORFFFF00; IF(C>=REF(C,1),C,DRAWNULL),LINETHICK9,COLORRED; AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C)); BB:=BETWEEN(C/AA,C+H,C-H); DRAWICON(ISLASTBAR AND C>REF(C,1),C,1); DRAWICON(ISLASTBAR AND C<REF(C,1),C,2); {分时均线} W:=BARSLAST(DAY-REF(DAY,1))+1; FSJX:SUM(CLOSE*VOL,W)/SUM(VOL,W),LINETHICK2,COLORYELLOW; IF(FSJX<REF(FSJX,1),FSJX,DRAWNULL),LINETHICK2,COLORGREEN; |