通达信《异动回调》主图指标公式源码:
MA5:MA(CLOSE,5); MA10:MA(CLOSE,10); MA20:MA(CLOSE,20); MA60:MA(CLOSE,60); MA120:MA(CLOSE,120); MA250:MA(CLOSE,250); CM:=IF(WINNER(CLOSE),WINNER(CLOSE)*100,20)<10 AND C<O; STICKLINE(CM,O,C,1,0),COLORLICYAN; CM1:=IF(WINNER(CLOSE),WINNER(CLOSE)*100,20)<0.2 AND C<O; STICKLINE(CM1,O,C,1,0),COLORGREEN; DK:=O>REF(H,1) AND C>REF(H,1) AND L>REF(H,1); ZTQ:=C<REF(C,1)*1.07 AND NOT(REF(C>REF(C,1)*1.09 AND C=H,1)); SYX:=(H-MAX(C,O))/MAX(C,O)*100>4 AND H>HHV(REF(H,1),20); 换手:=VOL/CAPITAL*100; T5:=换手>2 AND 换手<35; 跳空上阴:=(DK OR SYX) AND ZTQ AND C<45 AND T5; DRAWTEXT(跳空上阴,H+0.05,'异动'); TH:=O>REF(C,1) AND L>REF(C,1) AND C/REF(C,1)>=1.03; QSJ:=BETWEEN(C>MA(C,20),1,65); QK:=QSJ AND TH; DRAWTEXT(QK AND NOT(C=O),L-0.1,'缺'); 平量:=ABS(V-HHV(REF(V,1),5))/HHV(REF(V,1),5)<=0.03 OR ABS(V-REF(V,1))/REF(V,1)<=0.03 AND C>O; STICKLINE(平量,OPEN,CLOSE,1,0),COLORWHITE; 倍量:=(V/REF(V,1)>=1.90 AND COUNT(C>O,1)) OR (L>REF(H,1) AND COUNT(O>C,1) AND V/REF(V,1)>=1.90); 高量:=(V/REF(V,1)>3 AND COUNT(C>O,1)) OR (L>REF(H,1) AND COUNT(O>C,1) AND V/REF(V,1)>3); STICKLINE(高量,C,(C+O)/2,1,0),COLORYELLOW; STICKLINE(倍量 AND NOT(高量),O,(C+O)/2,0.5,0),COLORYELLOW; ★早晨之星:=REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1) < REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2); ★黄昏之星:=REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND REF(OPEN,1) > REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2); ★长十字:=CLOSE=OPEN AND HIGH/LOW >1.03; ★垂死十字:=CLOSE=OPEN AND CLOSE=LOW AND CLOSE!=HIGH; ★早晨十字星:=REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1) < REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);{WWW.ZHIBIAO123.CN} ★黄昏十字星:=REF(CLOSE,2)/REF(OPEN,2) > 1.05 AND REF(OPEN,1) > REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2); ★射击之星:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >2.3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE>MA(CLOSE,5); ★倒转锤头:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >2.5*(MAX(OPEN,CLOSE)-LOW) AND CLOSE<MA(CLOSE,5); ★锤头:=HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5); STICKLINE(★倒转锤头,O,C,2,0),COLORMAGENTA; 锤头:=(((HIGH = MAX(OPEN,CLOSE)) AND ((HIGH - LOW) > (3 * (HIGH - MIN(OPEN,CLOSE))))) AND (CLOSE < MA(CLOSE,5))); STICKLINE(★锤头,O,C,2,0),COLORMAGENTA; ★吊颈:=HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5); ★穿头破脚:=(REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.96 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1)) OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1)); ★乌云盖顶:=REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97 AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1); ★曙光初现:=REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03 AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1); STICKLINE(★曙光初现,O,(C+O)/2,1,0),COLORLIMAGENTA; ★身怀六甲:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 AND ABS(CLOSE-OPEN)/CLOSE<0.005 AND MAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN) > MIN(REF(CLOSE,1),REF(OPEN,1)); ★十字胎:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 AND CLOSE=OPEN AND CLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1),REF(OPEN,1)); ★平顶:=ABS(HIGH-REF(HIGH,1))/HIGH<0.001; ★平底:=(ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001); ★大阳烛:=CLOSE/OPEN>1.05 AND HIGH/LOW < CLOSE/OPEN+0.018; ★红三兵:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE>OPEN AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1); ★双飞乌鸦:=REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND CLOSE/OPEN<0.98; ★孕育线:=REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1) AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 AND REF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPEN AND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1) AND (MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))<=1/100; ★多方炮:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;{WWW.ZHIBIAO123.CN} ★出水芙蓉:=(OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN<EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60)))) AND (V/MA(V,30)>1.2 AND C/REF(C,1)>1.049); ★上升三部曲:=REF(CLOSE,4)/REF(OPEN,4)>1.03 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,4); ★下跌三部曲:= REF(CLOSE,4)/REF(OPEN,4)<0.97 AND REF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,4); ★跳空缺口:=HIGH<REF(LOW,1) OR LOW>REF(HIGH,1); ★三只乌鸦:=REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE<REF(CLOSE,1); ★光脚阴线:=LOW=CLOSE AND HIGH!=LOW; ★光头阳线:=HIGH=CLOSE AND HIGH!=LOW; ★分离:=OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0; ★长下影:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667; ★长上影:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667; ★十字星:=CLOSE=OPEN AND HIGH!=LOW; ★大阴烛:=OPEN/CLOSE > 1.05 AND HIGH/LOW < OPEN/CLOSE+0.018; STICKLINE(C/REF(C,1)>1.099,C,O,2.3,0),COLORYELLOW; V1:=IF(NAMELIKE('S') OR NAMELIKE('*'), 5, 10); C3:=REF(C,1); BBB:=IF((C-C3)*100/C3>=(V1-0.01*100/C3) AND C=H,1,0); ZT:=BARSLAST(BBB)+1; STICKLINE(ZT AND ZT<15, REF(C,ZT-1),REF(C,ZT-1),2,0),COLORYELLOW; STICKLINE(ZT AND ZT<15, REF(O,ZT-1),REF(O,ZT-1),2,0),COLORYELLOW; BB:=CLOSE>REF(CLOSE,1)*1.095; A1:=BARSLAST(BB); A2:=BETWEEN(C,REF(C,A1)*1.03,REF(C,A1)*0.97) AND A1<=30; A3:=REF(O,3)>REF(O,2); A4:=REF(O,2)>REF(O,1); A5:=CLOSE>REF(CLOSE,1)*1.03 AND C>O; A6:=BETWEEN(C,REF(O,A1)*1.03,REF(O,A1)*0.97) AND A1<=30; B1:=A2 AND A3 AND A4 AND A5; B2:=A6 AND A3 AND A4 AND A5; B:=FILTER(B1 OR B2,5); DRAWICON(B,(L/1.03),1),LINETHICK2,COLORMAGENTA; DRAWTEXT_FIX(1,0.0,0.05,0,'强势回调'),COLORMAGENTA,LINETHICK4; DRAWTEXT_FIX(1,0.00,0.1,0,'注意形态规律的结合'),COLORWHITE,LINETHICK1; DRAWTEXT_FIX(1,0.00,0,0,'所属行业:')COLOR00FFFF; DRAWTEXT_FIX(1,0.06,0,0,HYBLOCK)COLOR00FFFF; DRAWTEXT_FIX(1,0.14,0,0,'所属地区:')COLOR00FFFF; DRAWTEXT_FIX(1,0.20,0,0,DYBLOCK)COLOR00FFFF;
负责声明:
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/159370.html,转载请注明出处。
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/159370.html,转载请注明出处。