在瞬息万变的股市中,每一个分时的波动都可能蕴含着巨大的机遇。通达信《分时突破预警》指标宛如一位敏锐的侦探,为投资者精准捕捉分时图中的关键突破时刻。
它通过对股价走势、成交量等多维度数据的深度分析,实时监测个股的动态。一旦出现具备潜力的突破信号,便迅速发出预警,告知投资者及时把握机会。无论是盘中的强势突破,还是主力资金异动引发的异动突破,都能被该指标敏锐察觉。
拥有《分时突破预警》指标,如同在迷雾中点亮一盏明灯,让您在股市的惊涛骇浪中航行得更加稳健,抢占投资先机,实现财富增值。
分时突破预警指标源码:
{涨停预警} AA:=C/DYNAINFO(3); 单笔换手:=V/CAPITAL*100; XX:=BARSSINCE(V>0)+1; 均价线:=SUM(C*V,XX)/SUM(V,XX); 限制:=AA>1.01 AND AA<1.04; X1:=单笔换手>0.08 AND CROSS(C,均价线) AND 限制; LT:=(CAPITAL/100)/10000<=10; JD:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*57.3; VV:=V>1999; PX:=JD>30; ZZ:=EMA(CLOSE,5)+EMA(CLOSE,60); ZQ:=EMA(ZZ,30); Z2:=REF(AA,1)<1.025 AND AA>1.025 AND AA<1.04; TJ:=ZZ/ZQ>0.99 AND ZZ/ZQ<1.015; X3:=LT AND (Z2 AND VV AND PX AND TJ); 预警:=X1 OR X3; DRAWICON(预警,L*1.008,25); DRAWTEXT(预警,L*0.988,'涨停预警'),COLORFF00FF; STICKLINE(X1 OR X3,C*0.96,C,3,0),COLORFF00FF; {分时突破} {MACD} 现价:C,COLORWHITE,LINETHICK2; 均价11:=SUM(C*V,240)/SUM(V,240),COLORRED,LINETHICK2; TT:=BARSCOUNT(C); 前高:=REF(HHV(H,TT),1); HJ_2:=DYNAINFO(4)>0 AND HHV(HIGH,2)/LLV(LOW,2)<1.25 AND REF(CLOSE,1)<LLV(LOW,3)+(HHV(HIGH,3)-LLV(LOW,3))*0.85; HJ_9:=EMA(CLOSE,2); HJ_10:=EMA(CLOSE,3); HJ_11:=MAX(HJ_9,HJ_10); X2:=CLOSE>HJ_11 AND HJ_2 AND (CLOSE>REF(HHV(HIGH,2),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.015) AND (V/CAPITAL<=0.2) AND C/REF(C,1)<1.07; {牛熊线} NX:=MA(((SLOPE(C,20)*5)+C),10); {中枢} B1:=HOUR=09 AND MINUTE=45; B20:=LLV(L,15); B30:=BARSLAST(B1); B4:=REF(B20,B30); B5:CONST(B4),COLORFF80FF,DOTLINE,LINETHICK1; C1:=HOUR=09 AND MINUTE=45; C2:=HHV(H,15); C3:=BARSLAST(C1); C4:=REF(C2,C3); C5:CONST(C4),COLORFF80FF,DOTLINE,LINETHICK1; {DRAWBAND(C5,RGB(204,204,204),B5,RGB(204,204,204));} {MACD} DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD10:=(DIF-DEA)*2; AA0:=MACD10>00 AND DIF>0 AND DEA>0; {捉牛信号} A100:=HOUR=10 AND MINUTE=0; A20:=HHV(H,30); A30:=BARSLAST(A100); A40:=REF(A20,A30); A50:=CONST(A40); A80:=CLOSE>A50 AND REF(C<=A50,1) AND CLOSE>NX; AB:=FILTER(A80,100); A90:=DYNAINFO(3); AC:=CLOSE<=A90*1.04 AND CLOSE>A90; 量比:=V/REF(MA(V,5),1); XG:=AA0 AND AB AND AC AND A40>A90 AND 量比>=1; DRAWICON(XG,A50,23); DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10) AND C>REF(XG,1),C*0.995,'突'),COLORYELLOW; HJ_4:=CLOSE; HJ_5:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5); BAB1:=STICKLINE(HJ_5>0,DYNAINFO(3),DYNAINFO(3)*(1+HJ_5),0.1,0); BAB2:=STICKLINE(HJ_5<0,DYNAINFO(3),DYNAINFO(3)*(1+HJ_5),0.1,0); HJ_6:=CLOSE/DYNAINFO(3); HJ_7:=FILTER(HJ_5>0.015 AND HJ_5>REF(HJ_5,1)*2 AND VOL>REF(VOL,1)*2 AND CLOSE>REF(CLOSE,1) OR HJ_5>0.025,240); DRAWICON(HJ_7 AND HJ_6<1.06 AND CLOSE>DYNAINFO(3),C,23);{东风小图标} DRAWICON(HJ_7 AND HJ_6<1.06 AND CLOSE>DYNAINFO(3),C,1); DRAWTEXT(HJ_7 AND HJ_6<1.06 AND CLOSE>DYNAINFO(3),C,' 启动')COLORGREEN; H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 阻力:L1+P1*8/9,COLORLIRED,DOTLINE; 支撑:L1+P1*0.5/9,COLORGREEN,DOTLINE; DRAWTEXT(LONGCROSS(支撑,C,2),C-0.01,' 买入'),COLOR0000FF; WA1:=V*C/100; WA2:=SUM((IF(((WA1/8>20) AND (CLOSE>(REF(CLOSE,1)))),WA1,0)),0); WA3:=SUM((IF(((WA1/8>20) AND (CLOSE<(REF(CLOSE,1)))),WA1,0)),0); WA4:=SUM((IF(((WA1/8<20) AND (CLOSE>(REF(CLOSE,1)))),WA1,0)),0); WA5:=SUM((IF(((WA1/8<20) AND (CLOSE<(REF(CLOSE,1)))),WA1,0)),0); 机构买盘:=(WA2); 机构卖盘:=(WA3); 散户买盘:=(WA4); 散户卖盘:=(WA5); DRAWTEXT_FIX(1,0.5,1-0.10,0,STRCAT(STRCAT('【机买】',CON2STR(机构买盘,2)),' 万')),COLORRED; DRAWTEXT_FIX(1,0.5,1-0.05,0,STRCAT(STRCAT('【机卖】',CON2STR(机构卖盘,2)),' 万')),COLORGREEN; 攻击量:=((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; 攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1; 资金攻击度:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50))); DRAWTEXT_FIX(1,0.855,0.9,0,STRCAT(STRCAT('【资金】',CON2STR(资金攻击度,2)),' %买')),COLORCYAN; X_1:=HIGH-REF(HIGH,1); X_2:=REF(LOW,1)-LOW; X_3:=EMA(IF(X_1>0 AND X_1>X_2,X_1,0),28); X_4:=EMA(IF(X_2>0 AND X_2>X_1,X_2,0),28); X_5:=EMA(X_3/TR,28); X_6:=EMA(X_4/TR,28); X_7:=EMA((CLOSE+HIGH+LOW)/3,2); X_8:=MAX(DYNAINFO(3),EMA(DYNAINFO(5),5)); X_9:=MIN(DYNAINFO(3),EMA(DYNAINFO(6),5)); X_10:=(COST(95)+DYNAINFO(11))/2; X_11:=(COST(5)+DYNAINFO(11))/2; X_12:=CONST((X_8+X_10)/2); X_13:=CONST((X_9+X_11)/2); X_14:=(X_12+X_13)/2; X_15:=X_13+X_14-X_12; X_16:=(X_13+X_15)/2; X_17:=(X_15+X_16)/2; X_18:=(EMA(CLOSE,24)-EMA(CLOSE,52))*4+X_14; X_19:=EMA(X_18,18); MCD:=(X_18-X_19)*2+X_14,NODRAW,COLORYELLOW; X_20:=3*SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54)),3,1)-2*SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54)),3,1),3,1); X_21:=MEMA(X_20,10); X_22:=EMA(X_21,10); X_23:=IF(EXIST(CROSS(X_12,X_7),5) AND EXIST(CLOSE>X_12,10) AND X_21<HHV(X_21,10) AND X_22<REF(X_22,1),1,0); X_24:=IF(EXIST(CROSS(X_7,X_13),5) AND EXIST(CLOSE<X_13,10) AND X_21>LLV(X_21,10) AND X_22>REF(X_22,1),1,0); 卖出:=X_23=1 AND REF(X_23,1)=0; DRAWICON(X_23=1 AND REF(X_23,1)=0,X_12,8); DRAWICON(X_24=1 AND REF(X_24,1)=0,X_13,7); STICKLINE(X_23=1 AND REF(X_23,1)=0,X_12,X_13,0,0),COLORGREEN; STICKLINE(X_24=1 AND REF(X_24,1)=0,X_12,X_13,0,0),COLORRED; PA2:=BARSSINCE(卖出)+1; 首次卖出价:=REF(C,PA2-1),NODRAW; 卖出收益:(DYNAINFO(7)-首次卖出价)/首次卖出价*100,NODRAW,COLORGREEN; DRAWTEXT_FIX(1,0.0,1-0.0,0,STRCAT(STRCAT('【卖出收益】',CON2STR(卖出收益,2)),'%')),COLORGREEN; 买入:=X_24=1 AND REF(X_24,1)=0; PA3:=BARSSINCE(买入)+1; 首次买入价:=REF(C,PA3-1),NODRAW; 买入收益:(DYNAINFO(7)-首次买入价)/首次买入价*100,NODRAW,COLORRED; DRAWTEXT_FIX(1,0.0,1-0.098,0,STRCAT(STRCAT('【买入收益】',CON2STR(买入收益,2)),'%')),COLORRED; 买卖收益:(首次卖出价-首次买入价)/首次买入价*100,NODRAW,COLORRED; 虎:= (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100; DRAWICON(CROSS(EXPMA(虎,120)-0.0004,EXPMA(虎,200)),均价11,13); Q:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.05,0.95); Q2:=IF(Q=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C)))); DRAWICON(CROSS((C/Q2),1.03),均价11,5); YD:=DYNAINFO(3); MM:=IF(C=DYNAINFO(4)*1.1 AND L=DYNAINFO(4)*1.1,H-YD,H-REF(C,1)); M:=IF(MM>0,MM,0.0); SS:=IF(C=DYNAINFO(4)*0.9 AND H=DYNAINFO(4)*0.9,YD-H,REF(C,1)-L); S:=IF(SS>0,SS,0.0); HJ:=M+S; 买入力度:=M/HJ*AMOUNT/CAPITAL; 卖出力度:=S/HJ*AMOUNT/CAPITAL; {分时买卖追涨} N:=7.5; MMA30:=EMA(CLOSE,30); 强弱界定:=IF(PERIOD=0,EMA(CLOSE,900),DRAWNULL),COLORWHITE,LINETHICK2; 分时价量线:=SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1; 实时涨幅限制:=(C/DYNAINFO(3)-1)*100; {买卖力度} 买卖力度:=SUM((买入力度-卖出力度),0),COLORAAAA00,NODRAW; 买卖力度比:=买卖力度/SUM((买入力度+卖出力度),0)*50,NODRAW,COLORFFFFFF,LINETHICK2; 买卖力度比设置:=买卖力度比+50; 买卖力度比限制:=IF(买卖力度比设置>80,80,IF(买卖力度比设置<20,20,买卖力度比设置)); 分时力度线:=SUM(C*买卖力度比限制,240)/SUM(买卖力度比限制,240); 买卖力度参考线0:=MA(买卖力度比限制,8)*1.062; 买卖力度参考线:=MA(买卖力度比限制,8)*1.091; 买卖力度参考线2:=MA(买卖力度比限制,5)*1.191; 平安分时关注:=买卖力度参考线<50 AND CROSS(买卖力度比限制,50); 平安分时追涨:=(CROSS(买卖力度比限制,买卖力度参考线) OR (CROSS(买卖力度比限制,买卖力度参考线0) AND 买卖力度比限制>70)) AND (买卖力度比限制>50) AND (MMA30>强弱界定 OR 分时价量线>强弱界定 OR C>MAX(MMA30,强弱界定)) AND C>分时价量线 AND V>MA(V,20) AND DYNAINFO(17)>=1.2 AND 实时涨幅限制<N; DRAWTEXT(FILTER(平安分时关注,20),现价,'←关注'),COLOR00FFFF; STICKLINE(FILTER(平安分时关注,20),X_12,X_13,0,0),COLOR00FFFF; DRAWTEXT(FILTER(平安分时追涨,20),现价,'←追涨'),COLORMAGENTA; STICKLINE(FILTER(平安分时追涨,20),X_12,X_13,0,0),COLORMAGENTA; PA4:=BARSSINCE(平安分时追涨)+1; 首次追涨价:=REF(C,PA4-1),NODRAW; 追涨收益:(DYNAINFO(7)-首次追涨价)/首次追涨价*100,NODRAW; DRAWTEXT_FIX(1,0.120,1-0.0,0,STRCAT(STRCAT('【追涨收益】',CON2STR(追涨收益,2)),'%')),COLORMAGENTA; PA5:=BARSSINCE(平安分时关注)+1; 首次关注价:=REF(C,PA5-1),NODRAW; 关注收益:(DYNAINFO(7)-首次关注价)/首次关注价*100,NODRAW,COLORRED; DRAWTEXT_FIX(1,0.120,1-0.098,0,STRCAT(STRCAT('【关注收益】',CON2STR(关注收益,2)),'%')),COLOR00FFFF; 量价:=(VOL/CLOSE)/3; B2:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0); B3:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0); B6:=B2+B3;DD1:=1;比:=B2/B3; BBB1:=STRCAT(STRCAT('买入 ',CON2STR((100*B2)/B6,0)),'%'); BBB2:=STRCAT(STRCAT('卖出 ',CON2STR((100*B3)/B6,0)),'%'); BBB3:=STRCAT(STRCAT('差 ',CON2STR((100*(B2-B3))/B6,0)),'%'); DRAWTEXT_FIX(DD1=1,0.240,0.84,0,BBB1),COLORRED; DRAWTEXT_FIX(DD1=1,0.240,0.90,0,BBB2),COLORGREEN; DRAWTEXT_FIX(DD1=1,0.240,0.999,0,BBB3),COLOR00FFFF; XA__1:=LLV(LOW,50); XA__2:=HHV(HIGH,50); XA__3:=EMA((CLOSE-XA__1)/(XA__2-XA__1)*100,3); XA__4:=EMA(XA__3,8); XA__5:=MA(XA__4,8); XA__6:=EMA(CLOSE,20)-EMA(CLOSE,120); XA__7:=EMA(XA__6,13); XA__8:=(XA__6-XA__7)*2; XA__9:=XA__8>0 AND CROSS(XA__6,XA__7) AND XA__6<0; XA__10:=CROSS(XA__4,XA__5) AND XA__4<=20; XA__11:=EXIST(XA__10,15) AND XA__4<=50; XA__12:=XA__4>XA__5; 分时深V:=FILTER(XA__9 AND XA__11 AND XA__12,15); DRAWTEXT(分时深V,C*0.99,'V反'),COLOR0080FF; STICKLINE(分时深V,C*0.988,C,8,0),COLOR0080FF; 量:=VOL,VOLSTICK; TT2:=BARSCOUNT(C);{取得有效收盘价} 均价黄:=SUM(C*V,TT2)/SUM(V,TT2);{分时均线的取值} 量两步:=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)*2 ; 价创新高:=C>=HHV(C,0); 量创新高:=V>=HHV(V,0); 对昨日涨幅:=C/DYNAINFO(3)<=1.02;{涨幅控制2个点以内} 每日一点:=量两步 AND 价两步 AND 价上岗量破5 AND 量起爆 AND 价创新高 AND 量创新高 AND 对昨日涨幅; DRAWTEXT(每日一点 ,前高, '起爆'),COLORCYAN; STICKLINE(每日一点,C*0.96,C,3,0),COLORCYAN; {计算收益、已爆分钟} VV1:=BARSSINCE(每日一点)+1; 首次起爆价:REF(C,VV1-1),NODRAW; 今天收益:(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW; DRAWTEXT_FIX(1,0.0,0.85,0,STRCAT(STRCAT('【起爆收益】',CON2STR(今天收益,2)),'%')),COLORCYAN; {DRAWNUMBER(VV>=1,V*0.8,今天收益);待续。。。。低调} 起爆时间:REF(TIME/10000,VV1),NODRAW; 已爆分钟:VV1-1,NODRAW; {画出底线和红球} 首次起爆量:=REF(VOL,VV1-1); DRAWTEXT((已爆分钟>=2),B5,'●'),COLORCYAN;{出现●,至少已经确认2分钟了}; QZL:="TD1.强阻力#DAY",DOTLINE,COLORGREEN,LINETHICK2; MQZL:="TD1.明强阻力#DAY",NODRAW; ZL:="TD1.阻力位#DAY",DOTLINE,COLORFFFF00,LINETHICK1; MZL:="TD1.明阻力位#DAY",NODRAW; ZH1:="TD1.支撑位#DAY",DOTLINE,COLORYELLOW,LINETHICK1; MZH1:="TD1.明支撑位#DAY",NODRAW; ZH:="TD1.强支撑#DAY",DOTLINE,COLORRED,LINETHICK2; MZH:="TD1.明强支撑#DAY",NODRAW; C,COLORFFFFFF,LINETHICK2; DRAWTEXT_FIX(1,0.7,1-0.15,0,STRCAT('支撑位:',CON2STR(ZH1,2))),COLORYELLOW; DRAWTEXT_FIX(1,0.7,1-0.10,0,STRCAT('强支撑:',CON2STR(ZH,2))),COLORRED; DRAWTEXT_FIX(1,0.7,1-0.05,0,STRCAT('强阻力:',CON2STR(QZL,2))),COLORGREEN; FD2:=HHV(V,480); T2:=V>=REF(FD2,1); FD1:=HHV(C,480),COLOR8000FF,LINETHICK2; DRAWICON(CROSS(C,REF(FD1,1)) AND T ,C,9); DRAWICON(CROSS(C,REF(FD1,1)) AND T2 ,C*0.99,13); LG:="配置文件131.主力正在拉高#DAY"; DRAWTEXT_FIX(ISLASTBAR AND LG=1,0.13,0.775,0,'正在拉高'),COLOR00FFFF; CH:="配置文件131.主力在出货#DAY"; DRAWTEXT_FIX(ISLASTBAR AND CH=1,0.13,0.775,0,'警告!正在出货'),COLOR00FFFF; XP:="配置文件131.主力在找底振荡#DAY"; DRAWTEXT_FIX(ISLASTBAR AND XP=1,0.13,0.775,0,'有在洗盘特征'),COLOR00FFFF; GPDX:="配置文件131.主力在高抛底吸#DAY"; DRAWTEXT_FIX(ISLASTBAR AND GPDX=1 AND XP!=1,0.13,0.775,0,'动荡阶段'),COLOR00FFFF; STT:="配置文件131.ST#DAY"; DRAWTEXT_FIX(ISLASTBAR AND STT=1,0.05,0.775,0,'主力在上探'),COLORLIRED; XTT:="配置文件131.XT#DAY"; DRAWTEXT_FIX(ISLASTBAR AND XTT=1,0.05,0.775,0,'主力在下探'),COLORLIBLUE; ZLCC:="配置文件131.个股"; MZ0:=(BARSLAST(((HOUR=9) AND (MINUTE=31)))+1); 上穿分时:=IF(((SETCODE<2) AND (CONST(MZ0)<241)),CONST(IF((TIME<1000),HHV(CLOSE,0),SUM((IF((TIME=1000),1,0)*HHV(CLOSE,0)),0))),DRAWNULL),LINETHICK2,NODRAW,COLORMAGENTA; 底支:=IF(((SETCODE<2) AND (CONST(MZ0)<241)),CONST(IF((TIME<1000),HHV(CLOSE,0),SUM((IF((TIME=1000),1,0)*LLV(CLOSE,0)),0))),DRAWNULL),LINETHICK2,NODRAW,COLORLIRED; 分时上突:=CROSS(C,上穿分时); 上突:=C<上穿分时 AND 上穿分时>底支; DRAWICON(分时上突,C*0.9991,25); DRAWTEXT_FIX(1,0.700,0.00,0,STRCAT(STRCAT('【顶部得到有效压力】',CON2STR(上穿分时,2)),'元突破可持仓')),COLORYELLOW; DRAWTEXT_FIX(1,0.400,0.00,0,STRCAT(STRCAT('【底部得到有效支撑】',CON2STR(底支,2)),'可以参考买')),COLORYELLOW; RQ:=DATETODAY(DATE)-DATETODAY(REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT))+1; JY:=BARSLAST((RQ-REF(RQ,1))!=WEEKDAY-REF(WEEKDAY,1) OR TOTALBARSCOUNT-CURRBARSCOUNT=0)+1; MA1:=REF(C,JY); MA2:=REF(MA1,JY); MA3:=REF(MA2,JY); MA4:=REF(MA3,JY); MA5:=REF(MA4,JY); MA6:=REF(MA5,JY); MA7:=REF(MA6,JY); MA8:=REF(MA7,JY); MA9:=REF(MA8,JY); 均线:IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW,DOTLINE; MACD1:=10*(DIF-DEA); MACD2:=EMA(MACD1,2); 主力:=EXPMA(CLOSE/XX,20);大户:=EXPMA(CLOSE/XX,60);散户:=EXPMA(CLOSE/XX,120); 底:=1;1.022,NODRAW;高:=1.033; DRAWTEXT(CROSS(主力,1.02),C*0.999,' 拉'),COLORMAGENTA; DRAWICON(CROSS(主力,1.04),C,45); DRAWTEXT(CROSS(主力,1.04),C*0.999,' 冲'),COLORRED; A1:=(VOL/CLOSE)/3; A2:=SUM((IF(((A1>40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0); A3:=SUM((IF(((A1>40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0); A4:=SUM((IF(((A1<40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0); A5:=SUM((IF(((A1<40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0); A6:=((A2+A3)+A4)+A5; A7:=IF((BARSTATUS=2),((100*A2)/A6),0); A8:=((IF((BARSTATUS=2),((100*A3)/A6),0))); A9:=((IF((BARSTATUS=2),((100*A4)/A6),0))); A10:=((IF((BARSTATUS=2),((100*A5)/A6),0))); DRAWTEXT(LONGCROSS(支撑,C,2),C-0.01,'买入'),COLOR0000FF; DRAWICON(LONGCROSS(支撑,C,2),C-0.01,1);{WWW.ZHIBIAO123.CN} STICKLINE(LONGCROSS(支撑,C,2),C,阻力,0,-1),COLORCYAN; DRAWTEXT(LONGCROSS(C,阻力,2),C+0.01,'卖出'),COLORGREEN; DRAWICON(LONGCROSS(C,阻力,2),C+0.01,45); STICKLINE(LONGCROSS(C,阻力,2),C,支撑,0,-1),COLORRED; D1:=YEAR AND MONTH AND DAY; BA1:=STRCAT(CON2STR(YEAR,0),'年'); BA2:=STRCAT(CON2STR(MONTH,0),'月'); BA3:=STRCAT(CON2STR(DAY,0),'日'); BA4:=STRCAT('星期',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF(WEEKDAY=5,'五',IF(WEEKDAY=6,'六','日'))))))); DRAWTEXT_FIX(D1,0.905,0,0,AA),COLORGRAY; WA6:=((A2+A3)+A4)+A5; WA7:=IF((ISLASTBAR),((100*WA2)/WA6),0); WA8:=IF((ISLASTBAR),((100*WA3)/WA6),0); WA9:=IF((ISLASTBAR),((100*WA4)/WA6),0); WA10:=IF((ISLASTBAR),((100*WA5)/WA6),0);
负责声明:
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/158375.html,转载请注明出处。
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/158375.html,转载请注明出处。