风雨如晦 发表于 2023-11-9 12:40:36

高抛低吸分时指标源码

<p data-first-child > {M:1,30,5}<br/>开A:=REF(V,BARSSINCE(TIME<=092945)),NODRAW;<br/>开B:=REF(V,FROMOPEN+1),NODRAW;<br/>开C:=REF(V,BARSSINCE(V>REF(V,1)));<br/>LT:=CAPITAL/1000000;{亿股}<br/>TIMEE:=IF(FROMOPEN<6,1,0);<br/>第一单:IF(LT<0.3 AND 开B>600,开B,IF(LT<0.6 AND LT>0.3 AND 开B>800,开B,<br/>IF(LT>0.6 AND LT<1 AND 开B>1000,开B,IF(LT>1 AND LT<2 AND 开B>1500,开B,<br/>IF(LT>2 AND LT<4 AND 开B>2000,开B,IF(LT>4 AND LT<6 AND 开B>2500,开B,<br/>IF(LT>6 AND LT<10 AND 开B>3000,开B,IF(LT>10 AND 开B>6000,开B,0)))))))) ,NODRAW;</p><p >A1:=(DVOL/C)/2;<br/>A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);<br/>A3:=SUM(IF(A1>100 AND CLOSE<REF(CLOSE,1),A1,0),0);<br/>A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);<br/>A5:=SUM(IF(A1<100 AND CLOSE<REF(CLOSE,1),A1,0),0);<br/>A6:=A2+A3+A4+A5;<br/>机构买盘:=(A2);<br/>机构卖盘:=(A3);<br/>DD1:=1;<br/>AAA1:=STRCAT(STRCAT('买= ',CON2STR((100*A2)/A6,0)),'%');<br/>AAA2:=STRCAT(STRCAT('卖= ',CON2STR((100*A3)/A6,0)),'%');<br/>AAA3:=STRCAT(STRCAT('差= ',CON2STR((100*(A2-A3))/A6,0)),'%');<br/>DRAWTEXT_FIX(DD1=1,0,0.04,0,AAA1),COLORRED;<br/>DRAWTEXT_FIX(DD1=1,0,0.12,0,AAA2),COLORGREEN;<br/>DRAWTEXT_FIX(DD1=1,0,0.20,0,AAA3),COLOR00FFFF;<br/>DRAWTEXT_FIX(DD1=1,0,0.80,0,'蓝线后出抛再分批卖,黄线后出吸再分批买,均线柱代表多空能量,红标代表转强'),COLORYELLOW;<br/>均价:=SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1;<br/>H1:=MAX(DYNAINFO(3),DYNAINFO(5));<br/>L1:=MIN(DYNAINFO(3),DYNAINFO(6));<br/>P1:=H1-L1;<br/>阻力:=L1+P1*7/8;<br/>支撑:=L1+P1*0.5/8;<br/>V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);<br/>趋势线:=EMA(V11,3);<br/>V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;<br/>NOTEXT001:IF(趋势线<=13,C,DRAWNULL),LINETHICK2 COLORYELLOW;<br/>NOTEXT002:IF(趋势线>=90 AND V12,C,DRAWNULL),LINETHICK2 COLORBLUE;<br/>NOTEXT003:IF(趋势线<=13 AND V12>13,C,DRAWNULL),LINETHICK2 COLORRED;<br/>DRAWTEXT(LONGCROSS(支撑,C,2),C,'吸'),COLORRED;<br/>DRAWTEXT(趋势线<=13 AND V12>13 AND LONGCROSS(支撑,C,2),C,' 快吸'),COLORRED;<br/>DRAWTEXT(LONGCROSS(C,阻力,2),C,'抛'),COLORGREEN;</p><p >TT:=BARSCOUNT(C);<br/>均:=MA(C,TT);<br/>上均线:=均+2*STD(C,3);<br/>下均线:=均-2*STD(C,3);<br/>时长:=TIME>93000;<br/>涨幅:=C/REF(C,1)>1.02;<br/>跌幅:=C/REF(C,1)<0.98;<br/>横盘:=((HHV(C,TT)-LLV(C,TT))/C)<0.05;<br/>YY:=SMA(VOL,30,1);<br/>放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.95;<br/>涨跌幅:=涨幅 OR 跌幅;<br/>横涨1:=涨跌幅=0 AND 横盘 AND 放量 AND CROSS(均价,均);<br/>DRAWTEXT(FILTER(横涨1,10),C*0.999,'--突破'),COLORCYAN;<br/>DRAWICON(FILTER(横涨1,10),C*0.999,1);</p><p >虎:= (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100;<br/>主力:=EXPMA( (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100,120)-0.0004;<br/>散户:=EXPMA( (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100,200);<br/>GANSI:CROSS(EXPMA(虎,120)-0.0004,EXPMA(虎,200)),NODRAW;<br/>DRAWICON(CROSS(EXPMA(虎,120)-0.0004,EXPMA(虎,200)),C,13);<br/>DRAWTEXT(CROSS(EXPMA(虎,120)-0.0004,EXPMA(虎,200)),C*0.999,'-敢死'),COLORCYAN; <br/>DRAWICON(CROSS(EXPMA(虎,200),EXPMA(虎,120)-0.0004),C,6);<br/>DRAWTEXT(CROSS(EXPMA(虎,200),EXPMA(虎,120)-0.0004),C*0.999,'-哭'),COLORCYAN; <br/>STICKLINE(虎>0,均价,均价+虎*10,0.01,0),COLORRED;<br/>STICKLINE(虎<0,均价,均价+虎*10,0.01,0),COLORGREEN;</p><p >WD:=BARSLAST(MINUTE=5),NODRAW;<br/>ZF:=(C/DYNAINFO(3)-1)*100,NODRAW;<br/>B:=ZF/MINUTE;<br/>五分钟涨速:REF(B,WD),NODRAW;<br/>DRAWICON(五分钟涨速>0.214,C*0.99,23);<br/>{字体大小控制}<br/>KB_X:=0.004;<br/>KB_Y:=0.05;<br/>ZT_X:=0.01;<br/>ZT_Y:=0.05;</p><p >DRAWTEXT_FIX(ISLASTBAR,KB_X+ZT_X*80,KB_Y+ZT_Y*7,0,'五分钟涨速   :'),COLORYELLOW,LINETHICK2;</p><p >DRAWNUMBER_FIX(ISLASTBAR,KB_X+ZT_X*85,KB_Y+ZT_Y*7,0,五分钟涨速),COLORWHITE,LINETHICK2;</p><p >DRAWTEXT_FIX(ISLASTBAR,KB_X+ZT_X*80,KB_Y+ZT_Y*8,0,'开A   :'),COLORYELLOW,LINETHICK2;</p><p >DRAWNUMBER_FIX(ISLASTBAR,KB_X+ZT_X*85,KB_Y+ZT_Y*8,0,开A),COLORWHITE,LINETHICK2;</p><p >DRAWTEXT_FIX(ISLASTBAR,KB_X+ZT_X*80,KB_Y+ZT_Y*9,0,'开B   :'),COLORYELLOW,LINETHICK2;</p><p >DRAWNUMBER_FIX(ISLASTBAR,KB_X+ZT_X*85,KB_Y+ZT_Y*9,0,开B),COLORWHITE,LINETHICK2;</p><p >DRAWTEXT_FIX(ISLASTBAR,KB_X+ZT_X*80,KB_Y+ZT_Y*10,0,'开C   :'),COLORYELLOW,LINETHICK2;</p><p >DRAWNUMBER_FIX(ISLASTBAR,KB_X+ZT_X*85,KB_Y+ZT_Y*10,0,开C),COLORWHITE,LINETHICK2;</p><p >DRAWTEXT_FIX(ISLASTBAR,KB_X+ZT_X*80,KB_Y+ZT_Y*11,0,'第一单   :'),COLORYELLOW,LINETHICK2;</p><p >DRAWNUMBER_FIX(ISLASTBAR,KB_X+ZT_X*85,KB_Y+ZT_Y*11,0,第一单),COLORWHITE,LINETHICK2;</p>

担船群烈情 发表于 2023-11-30 19:03:32

功德无量!

金光2017 发表于 2024-1-21 03:44:07

路过,支持一下啦

wxf2017 发表于 2024-1-25 07:22:03

找了很久了,多谢!

他都是赌 发表于 2024-2-19 02:48:22

my god!好东西!

耕读世家 发表于 2024-3-27 13:34:30

谢谢,谢谢!找了很久了!
页: [1]
查看完整版本: 高抛低吸分时指标源码