通达信CCI抓主升浪副图指标通达信指标公式源码
通达信-【主升启动】副图指标源码
通达信-【主升启动】副图指标源码通达信-【主升启动】副图指标源码副图指标源码X_1:=DYNAINFO(4)=0;X_2:=REF(CLOSE,17)<REF(HHV(HIGH,250),18);X_3:=REF(CLOSE,18)<REF(HHV(HIGH,250),19);X_4:=REF(CLOSE,19)<REF(HHV(HIGH,250),20);X_5:=REF(CLOSE,20)<REF(HHV(HIGH,250),21);CLOSE>=REF(HHV(HIGH,250),1) AND REF(CLOSE,1)<REF(HHV(HIGH,250),2) AND REF(CLOSE,2)<REF(HHV(HIGH,250),3) AND REF(CLOSE,3)<REF(HHV(HIGH,250),4) AND REF(CLOSE,4)<REF(HHV(HIGH,250),5) AND REF(CLOSE,5)<REF(HHV(HIGH,250),6) AND REF(CLOSE,6)<REF(HHV(HIGH,250),7) AND REF(CLOSE,7)<REF(HHV(HIGH,250),8) AND REF(CLOSE,8)<REF(HHV(HIGH,250),9) AND REF(CLOSE,9)<REF(HHV(HIGH,250),10) AND REF(CLOSE,10)<REF(HHV(HIGH,250),11) AND REF(CLOSE,12)<REF(HHV(HIGH,250),13) AND REF(CLOSE,13)<REF(HHV(HIGH,250),14) AND REF(CLOSE,14)<REF(HHV(HIGH,250),15) AND REF(CLOSE,16)<REF(HHV(HIGH,250),17) AND X_2 AND X_3 AND X_4 AND X_5;公:DRAWNULL,COLORCCCCCC;众:DRAWNULL,COLORCCCCCC;号:DRAWNULL,COLORCCCCCC;股市客栈:DRAWNULL,COLORCCCCCC;选股指标源码X_1:=DYNAINFO(4)=0;X_2:=REF(CLOSE,17)<REF(HHV(HIGH,250),18);X_3:=REF(CLOSE,18)<REF(HHV(HIGH,250),19);X_4:=REF(CLOSE,19)<REF(HHV(HIGH,250),20);X_5:=REF(CLOSE,20)<REF(HHV(HIGH,250),21);CLOSE>=REF(HHV(HIGH,250),1) AND REF(CLOSE,1)<REF(HHV(HIGH,250),2) AND REF(CLOSE,2)<REF(HHV(HIGH,250),3) AND REF(CLOSE,3)<REF(HHV(HIGH,250),4) AND REF(CLOSE,4)<REF(HHV(HIGH,250),5) AND REF(CLOSE,5)<REF(HHV(HIGH,250),6) AND REF(CLOSE,6)<REF(HHV(HIGH,250),7) AND REF(CLOSE,7)<REF(HHV(HIGH,250),8) AND REF(CLOSE,8)<REF(HHV(HIGH,250),9) AND REF(CLOSE,9)<REF(HHV(HIGH,250),10) AND REF(CLOSE,10)<REF(HHV(HIGH,250),11) AND REF(CLOSE,12)<REF(HHV(HIGH,250),13) AND REF(CLOSE,13)<REF(HHV(HIGH,250),14) AND REF(CLOSE,14)<REF(HHV(HIGH,250),15) AND REF(CLOSE,16)<REF(HHV(HIGH,250),17) AND X_2 AND X_3 AND X_4 AND X_5;。
通达信CCI自编副图指标公式源码 附图
以下是通达信CCI自编副图指标公式源码 附图(无源码的请下载附件导入)(1)当周MACD确定为上升、向好趋势,周CCI上穿-100时为中期行情启动信号。
(前后伴有周KDJ指标20附近金叉,周MACD金叉)(2)周CCI上穿0轴时为中期行情确认信号。
(同时也伴有周KDJ回头或死叉,但前提是周MACD没有明显变坏,否则无行情)(3)周CCI上穿+100为行情第一次拉升阶段。
此后,CCI每次回调至+100一下再次反身向上突破,都是波段行情的开始,只要周MACD在上升,就可以大胆做多。
但是,如果在下降趋势中,CCI每次靠近0轴都是离场的最好时机!(4) 牛股洗到-220回头就买1. MACD背离+CCI买入信号(注意区分背离的级别)2. MACD双线上0轴后的回抽的2买+CCI买入信号(4)当CCI84上穿100中线买入,下穿100,中线卖出,在这之间CCI14每次跌破100都是买点.DRAWGBK(C>0,RGB(20,10,80),RGB(10,1,5),1,0,1);{CCI}TYP:=(HIGH+LOW+CLOSE)/3;CCI84:(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84)),COLORLICYAN;DRAWBAND(100,RGB(0,50,50),CCI84,RGB(100,10,0));CCI14:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORLIRED;{短线精灵}主力资金线:=((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;VAR2LL:=HHV(主力资金线>20,10);STICKLINE(VAR2LL AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+ 2*STD(CLOSE,20)),CCI14,100,1,0),COLORBROWN; {危险:};VAR1T:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VAR2T:=2*ABS(VAR1T);VAR5T:=(HIGH+LOW+CLOSE)/3;VAR6T:=(VAR5T-MA(VAR5T,14))/(0.015*AVEDEV(VAR5T,14));VAR7T:=(VAR5T-MA(VAR5T,70))/(0.015*AVEDEV(VAR5T,70));VAR8T:=IF(VAR6T>=150 AND VAR6T<200 AND VAR7T>=150 ANDVAR7T<200,10,0);VAR9T:=IF(VAR6T<=-150 AND VAR6T>-200 AND VAR7T<=-150 ANDVAR7T>-200,-10,VAR8T);VARAT:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VARBT:=100-ABS(VARAT);预警系统:=IF(VAR7T>=200 AND VAR6T>=150,100,IF(VAR7T<=-200 ANDVAR6T<=-150,-100,VAR9T))+0;DRAWBAND(预警系统,RGB(10,100,10),0,RGB(100,10,0));天线:=IF(VARBT<90,VARBT,60);红军:=IF(VAR1T>0,VAR1T,0),COLORRED, LINESTICK;VAR24:=红军>48 AND 预警系统>60 AND 天线<100;DRAWTEXT(VAR24 AND COUNT(VAR24,30)=1,60,'出货') COLOR009900;DRAWICON(COUNT(CROSS(2,预警系统),15)>=1 AND CROSS(100,CCI14),100,2); DRAWICON(COUNT(CROSS(预警系统,-2),15)>=1 AND CROSS(CCI14,0),-100,1); {理财专家}VAR1P:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VAR2P:=2*ABS(VAR1P);VAR3P:=100-3*SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,2 0,1)+2*SMA(SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,20,1),15,1);VAR4P:=100-3*SMA((OPEN-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,20, 1)+2*SMA(SMA((OPEN-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,20,1),15,1);VAR5P:=(HIGH+LOW+CLOSE)/3;VAR6P:=(VAR5P-MA(VAR5P,14))/(0.015*AVEDEV(VAR5P,14));VAR7P:=(VAR5P-MA(VAR5P,89))/(0.015*AVEDEV(VAR5P,89));VAR8P:=IF(VAR6P>=150 AND VAR6P<200 AND VAR7P>=150 ANDVAR7P<200,10,0);VAR9P:=IF(VAR6P<=-150 AND VAR6P>-200 AND VAR7P<=-150 ANDVAR7P>-200,-10,VAR8P);VARAP:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VARBP:=100-ABS(VARAP);OXP:=IF(VARBP<90,VARBP,100),COLORFFCC66;VAR21P:=IF(VAR1P>0,VAR1P,0);预警1:=IF(VAR7P>=200 AND VAR6P>=150,10,IF(VAR7P<=-200 ANDVAR6P<=-150,-15,VAR9P))+10,COLOR007700;VAR29P:=VAR21P>50 AND 预警1>10 AND OXP=100;DRAWTEXT(VAR29P ANDCOUNT(VAR29P,30)=1,-150,'上涨过急'),COLOR009900;{捕捉大牛股之预警准确率98%}TR2:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),7);HD2:=HIGH-REF(HIGH,1);LD2:=REF(LOW,1)-LOW;DMP2:=SUM(IF(HD2>0 AND HD2>LD2,HD2,0),7);DMM2:=SUM(IF(LD2>0 AND LD2>HD2,LD2,0),7);PDI2:=DMP2*100/TR2;MDI2:=DMM2*100/TR2;ADX2:=MA(ABS(MDI2-PDI2)/(MDI2+PDI2)*100,3);ADXR2:=(ADX2+REF(ADX2,3))/2;神偷线:=((DMP2*100)/TR2);辅助线:=((DMM2*100)/TR2);趋势线:=MA(((ABS((辅助线 - 神偷线))/(辅助线 + 神偷线))*100),3);预警:IF(((趋势线 > 88) AND (神偷线 < 5.8)),-100,-220),COLORRED;大牛股:IF(ADX2>90 AND PDI2=0,-50,-100),COLORYELLOW,LINETHICK1; 350,COLOR004400,POINTDOT;220,COLORMAGENTA,POINTDOT;水面:100,COLORGRAY;0,COLORLICYAN,POINTDOT;-100,COLORYELLOW;-220,COLORBLUE,POINTDOT;。
通达信指标公式源码专抓主升副图指标
VAR3:=LLV(HIGH,240);VAR4:=((100 * (CLOSE - VAR3)) / VAR3);VAR5:=REF(LLV(CLOSE,480),1);VAR6:=REF(HHV(CLOSE,480),1);VAR7:=(100 * (CLOSE - VAR5))/(VAR6 - VAR5);VAR8:=((CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)- LLV(CLOSE,981))) * 100; VAR9:=((CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)- LLV(CLOSE,393))) * 100; VARA:=((CLOSE-LLV(LOW,981))/(HHV(HIGH,981)- LLV(LOW,981))) * 100; VARB:=((CLOSE-LLV(LOW,393))/(HHV(HIGH,393)- LLV(LOW,393))) * 100; VARC:=EMA(((100*(CLOSE-LLV(LOW,100)))/(HHV(HIGH,100)-LLV(LOW,100))),5)/4; VARE:=VARC<1;VAR10:=((VAR4<0) AND (VAR7 < 0));VAR12:=((((HIGH + LOW) + (CLOSE * 2)) / 4));VAR13:=EMA(VAR12,21);VAR14:=STD(VAR12,21);VAR15:=((((((VAR12 - VAR13) / VAR14) * 100) + 200) / 4));VAR16:=(EMA(VAR15,89) - 25) * 1.56;VAR17:=EMA(VAR16,5) * 1.22;VAR18:=EMA(VAR17,3);VAR19:=3*VAR17 - 2*VAR18;VAR1A:=IF(((CROSS(VAR19,VAR17) AND CROSS(VAR19,VAR18)) AND CROSS(VAR17,VAR18)),1,0);VAR1B:=IF(((CROSS(VAR17,VAR19) AND CROSS(VAR18,VAR19)) AND CROSS(VAR18,VAR17)),1,0);买点:IF((FILTER(((((VAR8=0) AND VARE) AND VAR10) AND VAR1A),5) = 1),10,0),COLOR0000FF;卖点:IF(FILTER(VAR8=100 AND VAR1B,5)=1,10,0),COLOR00FF00;VAR1C:=(EMA(((100*(CLOSE-LLV(LOW,100)))/(HHV(HIGH,100)-LLV(LOW,100))),13) / 4); VAR1D:=(EMA(CLOSE,2) - EMA(CLOSE,89));VAR1E:=EMA(VAR1D,30);VAR1F:=((2 * (VAR1D - VAR1E)) * 10);VAR20:=((POW(VAR1F,3) * 0.1) + POW(VAR1F,2));VAR21:=SQRT(SQRT((((LOW * HIGH) * OPEN) * CLOSE)));VAR22:=EMA((VAR21 * 0.97),3);VAR23:=(((HIGH + LOW) + CLOSE) / 3);VAR24:=((VAR23 - MA(VAR23,14)) / (0.015 * AVEDEV(VAR23,14)));VAR25:=(IF(((YEAR < 2008) AND (VAR1F > 0.015)),VAR20,0) / 45);庄拉线:VAR25,COLOR00FFFF;VAR26:=(EMA(CLOSE,2) - EMA(CLOSE,150));VAR27:=EMA(VAR26,100);VAR28:=(2 * (VAR26 - VAR27));VAR29:=((POW(VAR28,3) * 0.1) + POW(VAR28,1));VAR2A:=SQRT(SQRT((LOW * HIGH * OPEN * CLOSE)));VAR2B:=EMA(VAR2A * 0.97,3);VAR2C:=(HIGH + LOW + CLOSE) / 3;VAR2D:=(VAR2C - MA(VAR2C,14)) / (0.015 * AVEDEV(VAR2C,14));黑马线:IF((VAR28 > 0.1),VAR29,0) * 5,COLOR0000FF;量价线:((CLOSE-MA(CLOSE,21))/MA(CLOSE,21))*100,COLORFFFFFF;VAR2E:=IF(FILTER(量价线>0 AND 量价线<3,5)=1,12,0);涨幅前兆:IF(FILTER(庄拉线>0 AND 庄拉线<0.5 AND VAR2E AND VAR1C<3,10)=1,10,0),COLORFFFFFF;选股利器:IF(FILTER(VAR2E>0 AND VAR1C<2 AND 庄拉线>0 AND 庄拉线<1 AND 黑马线>0 AND 黑马线<1.5 AND VAR2E>0,5)=1,10,0),COLORFF00FF;量价先行:7*CROSS(量价线,0),COLOR00FF00;拉升开始:12*(庄拉线>0.1 AND COUNT(庄拉线>0.1,2)=1 AND CLOSE>=OPEN AND VOL>REF(VOL,1) AND VOL/CAPITAL>0.003 AND 量价线>1 AND 量价线>黑马线),LINETHICK2,COLOR00FFFF;量价主升浪:18*FILTER(CROSS(量价线,黑马线) AND 庄拉线>0.5,7),LINETHICK3,COLOR00FF00;庄拉主升浪:20*(CROSS(庄拉线,黑马线) AND 黑马线>0 AND 量价线>0),LINETHICK3,COLOR0000FF;DRAWICON((买点> 0),10,1); DRAWICON((卖点> 0),10,2);{ DRAWICON((涨幅前兆> 0),10,1); DRAWICON((选股利器> 0),10,1); DRAWICON(量价先行> 0,10,10);} DRAWICON(拉升开始> 0,15,10); DRAWICON(量价主升浪> 0,20,9); DRAWICON(庄拉主升浪> 0,30,9);。
通达信阶段主升浪指标公式
通达信阶段主升浪指标公式VAR0:=1251230;VAR1:=IF((DATE < VAR0),1,1);st ICKLINE((CLOSE > 0),10,80,10,0),COLORBL ac K;VAR3:=((((2 * CLOSE) + HIGH) + LOW) / 4);VAR4:=LLV(LOW,5);VAR5:=HHV(HIGH,5);VAR6:=E ma((((VAR3 - VAR4) / (VAR5 - VAR4)) * 100),5);参考线:(MA(VAR6,2) * VAR1),LINETHICK2,COLORWHITE;阶段卖出:70,COLORCYAN;底部关注:20,COLORRED;强弱分界:50,DOTLINE,COLORYELLOW;VAR11:=((((CLOSE > OPEN) AND (参考线 > 70)) AND (参考线< REF(参考线,1))) AND VAR1);DRAWICON(VAR11,80,2);VAR13:=0;VAR14:=REF(LOW,1);VAR15:=((SMA(A bs((LOW - VAR14)),3,1) / SMA(MAX((LOW - VAR14),0),3,1)) * 100);VAR16:=EMA(IF((CLOSE * 1.2),(VAR15 * 10),(VAR15 / 10)),3);VAR17:=LLV(LOW,38);VAR18:=HHV(VAR16,38);VAR19:=IF(LLV(LOW,90),1,0);VAR20:=((EMA(IF((LOW <= VAR17),((VAR16 + (VAR18 * 2)) / 2),0),3) / 618) * VAR19);VAR21:=(((CLOSE - LLV(LOW,21)) / (HHV(HIGH,21) - LLV(LOW,21))) * 100);VAR22:=SMA(VAR21,13,8);VAR23:=CEILING(SMA(VAR22,13,8));VAR24:=MA(((((2 * CLOSE) + HIGH) + LOW) / 4),5);VAR25:=(VAR24 * 1.02);VAR26:=((((VAR25 - REF(VAR25,5)) / REF(VAR25,5)) * 1000) * VAR1);VAR27:=((((MA(CLOSE,3) + MA(CLOSE,6)) + MA(CLOSE,12)) + MA(CLOSE,24)) / 4);VAR28:=EMA((((LOW + HIGH) + (CLOSE * 2)) / 4),14);VAR29:=EMA(EMA(CLOSE,8),13);VAR30:=(((OPEN + HIGH) + LOW) / 3);VAR31:=(EMA(VAR30,60) * VAR1);VAR32:=(EMA(VAR30,5) * VAR1);VAR33:=(DYNAINFO(4) > 0);VAR34:=EXIST((VAR23 < 12),30);VAR35:=(EXIST((VAR23 >= 40),10) AND (VAR23 >= 30));VAR36:=((COUNT(cr OSS(VAR26,0),BA rsl AST((VAR23 < 12))) = 1) OR LAST((VAR26 > 0),8,5));VAR37:=EVERY((VAR26 < REF(VAR26,1)),3);VAR38:=(VAR26 <= 20);VAR39:=(CLOSE > OPEN);VAR40:=((HHV(CLOSE,BARSLAST((VAR23 < 12))) / LLV(CLOSE,BARSLAST((VAR23 < 12)))) < 1.4);VAR41:=((VAR32 / VAR31) < 1.07);VAR42:=(((((((VAR34 AND VAR35) AND VAR36) AND VAR37) AND VAR38) AND VAR39) AND VAR40) AND VAR41);VAR43:=EXIST(VAR42,5);VAR44:=(((VAR28 >= VAR29) AND (VAR28 >= REF(VAR28,1))) AND (VAR29 >= REF(VAR29,1)));VAR45:=(CROSS(CLOSE,MAX(VAR27,VAR29)) AND CROSS(CLOSE,VAR28));VAR46:=(VAR32 >= VAR31);VAR47:=(((VAR43 AND (VAR44 OR VAR45)) AND VAR46) AND VAR33);抄底:((((VAR23 < 12) AND (参考线< 26)) * 100) * VAR1),COLORRED;主升关注:(IF(FILTER(VAR42,3),50,0) * VAR1),STICK,LINETHICK5,COLORYELLOW;主升介入:(IF(FILTER(VAR47,8),100,0) * VAR1),STICK,LINETHICK3,COLORRED;。
主升浪快了 副图 选股指标通达信指标公式源码
主升浪快了副图选股指标{主升浪快了}HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);主升浪:COUNT(HDY<10,2) AND CROSS(CCI(84),-100) ANDHHV(H,14)/LLV(L,6)>1.21 AND COUNT(C/REF(C,1)<0.95,6),COLORRED;多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LO W)/4,30)*100,3),COLORWHITE;0,COLORRED;STICKLINE(多空<-10,0,多空,0,0),COLORGREEN;STICKLINE(多空>10,0,多空,0,0),COLORYELLOW;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=((3 * K) - (2 * D));VARA1:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VARA2:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VARA3:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VARA4:=(((VARA1 + (2 * VARA2)) + (3 * VARA3)) / 6);VARA5:MA(VARA4,3);STICKLINE((CROSS(J,0) AND (VARA5 <= (0 - 7))),0,15,2,0),COLOR7AB500; DRAWTEXT((CROSS(J,0) AND (VARA5 <= (0 - 7))),15,'←抄底'),COLOR0000FF; 抄底:CROSS(J,0) AND (VARA5 <= (0 - 7));LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;顶部:CROSS(80,RSI)*35,LINETHICK2 ,COLORGREEN;DRAWTEXT(CROSS(80,RSI),1.2,'顶'),COLORGREEN;逃顶:顶部,COLORGREEN;顶:IF(逃顶>REF(逃顶,1),35,0),COLOR7AB500;DRAWTEXT(顶=35,35,'←逃顶'),COLORFF0000;主升:=COUNT(HDY<10,2) AND CROSS(CCI(84),-100) ANDHHV(H,14)/LLV(L,6)>1.21 AND COUNT(C/REF(C,1)<0.95,6),COLORRED; STICKLINE(主升,0,35,3,0),COLORRED;DRAWTEXT(主升,28,'★主升浪')COLORRED;{主升浪快了选股}HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);主升浪:COUNT(HDY<10,2) AND CROSS(CCI(84),-100) ANDHHV(H,14)/LLV(L,6)>1.21 AND COUNT(C/REF(C,1)<0.95,6),COLORRED;。
通达信指标公式源码 抓主升浪预警选股源码
选股思路:盘中扑捉一浪拉升后,二浪强势调整结束走三浪主升的买点,预警信号出现后要观察MACD指标在零轴上方最好是第一次或第二次金叉,如果是第三次以上出线金叉股价在高位放量、可以选择放弃;最好是结合大盘及强势板块的走势选择强势品种介入;需要注意的是:任何指标都有其局限性,不可能把所有的条件全部设置进去;对那些不懂的判断形态、不会进一步筛选的新股民不要盲目的买入,一免错买遭受损失。
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
NL:=COUNT(MACD<-0.01 AND DIF>0.01,15)>=3;
AA:=CROSS(DIF,DEA) AND DEA>0.01 AND DIF/C<0.064;
CC:=REF(BARSLAST(CROSS(DIF,0))<20,BARSLAST(CROSS(DEA,DIF))+1);
前高:=REF(HHV(H,10),2);
突破前高:=CROSS(C,前高) AND C>O;
放量:=V>MA(V,60)*1.5;
主升浪买点:AA AND CC AND NL AND 突破前高AND 放量;。
【炒股必看】通达信抓住主升浪主图指标公式
通达信抓住主升浪主图指标公式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(HR2 AND FILTER(HR2,10),L-0.3,'推进'),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),O,C,3,1),LINETHICK2,COLORFFC8FF;VAR1:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);VAR2:=CROSS(VAR1,0.9);VAR3:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);VAR4:=CROSS(VAR3,0.9);压力:= REF(HIGH,BARSLAST(VAR2)), POINTDOT,COLOREA91B5;STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2)),REF(HIGH,BARSLAST(VAR2)),2,1), COLOREA91B5,LINETHICK3;支撑:= REF(LOW,BARSLAST(VAR4)), POINTDOT,COLOR00B4FF;STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4)),REF(LOW,BARSLAST(VAR4)),2,1), COLOR00B4FF,LINETHICK3;下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);ARSV:=SMA(下档线,3,1);AK:=SMA(ARSV,3,1);AD:=((3 * ARSV) - (2 * AK));AJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);ARSV24:=SMA(AJ12,3,1);AK24:=SMA(ARSV24,3,1);AD24:=((3 * ARSV24) - (2 * AK24));撑:=IF(CROSS(AD24,AD),HIGH,REF(HIGH,BARSLAST(CROSS(AD24,AD))));撑压位:=IF(ISLASTBAR ,撑,DRAWNULL);底底:=LLV(HIGH,30);底:=IF(ISLASTBAR ,底底,DRAWNULL);STICKLINE(ISLASTBAR ,撑压位,撑压位,100,1),LINETHICK1,COLORFFFFFF;STICKLINE(ISLASTBAR ,底,底,80,1),COLOR00FF00,LINETHICK1;。
通达信主升浪狙击100%准确通达信指标公式源码
通达信主升浪狙击100%准确副图源码如下:MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);A1:=IF(C>=MA5,1,-1);A2:=IF(C>=MA10,1,-1);A3:=IF(C>=MA20,1,-1);A4:=IF(MA5>=REF(MA5,1),1,-1);A5:=IF(MA10>=REF(MA10,1),1,-1);A6:=IF(MA20>=REF(MA20,1),1,-1);趋势:(A1+A2+A3+A4+A5+A6)/6*100,COLOR00FF00;主升浪:趋势>=50,COLOR0000FF,POINTDOT,NODRAW;↓:趋势<50,COLORFFFFFF,POINTDOT,NODRAW;周期:IF(主升浪,BARSLAST(CROSS(主升浪,0.1))+1,0),COLORFF00FF,POINTDOT,NODRAW;临界:IF(CROSS(98,趋势),1,0),COLOR00FF00,POINTDOT,NODRAW; WKQY:=BARSLAST(CROSS(50,趋势))<MIN(BARSLAST(CROSS(趋势,1)),BARSLAST(CROSS(趋势,-1)));挖坑:BETWEEN(趋势,-1,50) AND WKQY,COLOR00FFFF,POINTDOT,NODRAW; {以下设置副图显示方式}DRAWBAND(趋势,RGB(250,0,0),50,RGB(0,0,0));AA:=IF(挖坑,趋势,50);DRAWBAND(50,RGB(250,250,0),AA,RGB(0,0,0));STICKLINE(主升浪,周期*0.8,周期*0.95,3,0),COLOR0000FF;STICKLINE(主升浪,周期*1.05,周期*1.2,3,0),COLOR0000FF;STICKLINE(主升浪AND C<REF(C,1),周期*0.9,周期*1.1,3,1),COLORFFFFFF; STICKLINE(CROSS(主升浪,0.1),0,100,0,-1),COLOR0000FF;DRAWTEXT(临界,90,'☆'),COLOR00FF00;平:0,COLORFFFFFF;STICKLINE(C>0,50,50,1,0),COLOR000000;%:趋势,COLOR00FF00;{以下设置文字提示部分}DRAWTEXT(CURRBARSCOUNT=60,20,'====★趋势为王.顺势而为!★===='),COLOR0000FF;DRAWTEXT(CURRBARSCOUNT=58,-30,'■只做主升, 挖坑低吸!'),COLORFFFFFF; DRAWTEXT(CURRBARSCOUNT=58,-60,'●临界不涨, 逢高离场!'),COLOR00FFFF;。
CCI优化副图指标 源码 通达信
CCI优化副图指标源码通达信STICKLINE(C,320,-320,5,0),COLOR80A16F;M:=14;Q:=6;N:=20;MM:=IF(PERIOD=1,M,IF(PERIOD=2,M,IF(PERIOD=3,M,IF(PERIOD=4,M,IF(P ERIOD=5,M,IF(PERIOD=6,Q,IF(PERIOD=7,Q,IF(PERIOD=8,Q,0)))))))); AVG:=(HIGH+LOW+CLOSE)/3;CCI:=(AVG-MA(AVG,MM))/(0.015*AVEDEV(AVG,MM));DIF:CCI-REF(CCI,1),LINETHICK0,COLOR00FF00;前差值:ABS(REF(CCI,1)-REF(CCI,2)),NODRAW;差值20:IF(DIF>15 AND DIF<120,DIF,0),NODRAW,COLOR0000FF;PI:=ATAN(1)*4;PERIODS:=30;HIGHHIGH:=HHV(HIGH,PERIODS);LOWLOW:=LLV(LOW,PERIODS);RANGEV:=25/(HIGHHIGH-LOWLOW)*LOWLOW;EMA34:=EMA(CLOSE,34);X1_EMA34:=0;X2_EMA34:=1;Y1_EMA34:=0;Y2_EMA34:=(REF(EMA34,1)-EMA34)/AVG*RANGEV;C_EMA34:=SQRT((X2_EMA34-X1_EMA34)*(X2_EMA34-X1_EMA34)+(Y2_EMA 34-Y1_EMA34)*(Y2_EMA34-Y1_EMA34));ANGLE_EMA34V:=ROUND(ABS(180*ACOS((X2_EMA34-X1_EMA34)/C_EMA34) /PI));ANGLE_EMA34:=IF(Y2_EMA34>0,-ANGLE_EMA34V,ANGLE_EMA34V); LSMA25:=FORCAST(CLOSE,25);X1_LSMA25:=0;X2_LSMA25:=1;Y1_LSMA25:=0;Y2_LSMA25:=(REF(LSMA25,1)-LSMA25)/AVG*RANGEV;C_LSMA25:=SQRT((X2_LSMA25-X1_LSMA25)*(X2_LSMA25-X1_LSMA25)+(Y2 _LSMA25-Y1_LSMA25)*(Y2_LSMA25-Y1_LSMA25));ANGLE_LSMA25V:=ROUND(ABS(180*ACOS((X2_LSMA25-X1_LSMA25)/C_LSM A25)/PI));ANGLE_LSMA25:=IF(Y2_LSMA25>0,-ANGLE_LSMA25V,ANGLE_LSMA25V); ARRAY:=CCI;HIGHBARS:=BARSLAST(NOT(ARRAY>0));LOWBARS:=BARSLAST(NOT(ARRAY<0));UPCONDITION:=BARSLAST(HIGHBARS>=6 AND SUM(ARRAY>100,5)>0); DNCONDITION:=BARSLAST(LOWBARS>=6 AND SUM(ARRAY<-100,5)>0); UPTREND:=ARRAY>0 AND UPCONDITION<DNCONDITION; DNTREND:=ARRAY<0 AND UPCONDITION>DNCONDITION; TRTREND:=HIGHBARS>=5 AND NOT(UPTREND) OR LOWBARS>=5 AND NOT(DNTREND);STICKLINE(UPTREND,0,CCI,1,0),COLORFF0000;STICKLINE(DNTREND,0,CCI,1,0),COLOR0000FF;STICKLINE(TRTREND,0,CCI,1,0),COLOR00FFFF;STICKLINE(NOT(UPTREND OR DNTREND ORTRTREND),0,CCI,1,0),COLOR808080;WCCI:CCI,LINETHICK2,COLORBLACK;TCCI:(AVG-MA(AVG,N))/(0.015*AVEDEV(AVG,N)),COLOR7A56B7,LINETHICK1; STICKLINE(ANGLE_EMA34>=5,-301,-321,2,0),COLORD0E040;STICKLINE(ANGLE_EMA34<5 ANDANGLE_EMA34>=3.57,-301,-321,2,0),COLOR006400;STICKLINE(ANGLE_EMA34<3.57 ANDANGLE_EMA34>=2.14,-301,-321,2,0),COLOR98FB98;STICKLINE(ANGLE_EMA34<2.14 ANDANGLE_EMA34>=0.71,-301,-321,2,0),COLOR00FF00;STICKLINE(ANGLE_EMA34<0.71 ANDANGLE_EMA34>-0.71,-301,-321,2,0),COLOR00FFFF;STICKLINE(ANGLE_EMA34<=-0.71 ANDANGLE_EMA34>-2.14,-301,-321,2,0),COLORE0FFFF;STICKLINE(ANGLE_EMA34<=-2.14 ANDANGLE_EMA34>-3.57,-301,-321,2,0),COLOR00A5FF;STICKLINE(ANGLE_EMA34<=-3.57 ANDANGLE_EMA34>-5,-301,-321,2,0),COLOR0000FF;STICKLINE(ANGLE_EMA34<=-5,-301,-321,2,0),COLOR00008B;SW:=IF(ABS(ANGLE_EMA34)>=15 ANDABS(ANGLE_EMA34+ANGLE_LSMA25)>=50,IF(ANGLE_LSMA25>0,2,-2),IF(AB S(ANGLE_EMA34)>=0 AND (ANGLE_EMA34>=0 AND ANGLE_LSMA25>=0 OR ANGLE_EMA34<=0 AND ANGLE_LSMA25<=0) ANDABS(ANGLE_EMA34+ANGLE_LSMA25)>=5,IF(ANGLE_LSMA25>0,1,-1),0)); STICKLINE(ABS(SW)=2,301,321,2,0),COLOR00FF00;STICKLINE(ABS(SW)=1,301,321,2,0),COLOR00FFFF;STICKLINE(ABS(SW)=0,301,321,2,0),COLOR0000FF;IF(CLOSE>LSMA25,0,DRAWNULL),LINETHICK3,COLOR00FF00;IF(CLOSE<LSMA25,0,DRAWNULL),LINETHICK3,COLOR0000FF;IF(CLOSE=LSMA25,0,DRAWNULL),LINETHICK3,COLOR00FFFF; DRAWICON(ABS(CCI)>=200,CCI,12);STICKLINE(C,200,200,1.5,0),COLORFFFF00;STICKLINE(C,-200,-200,1.5,0),COLORFFFF00;STICKLINE(C,100,100,1.5,0),COLORFFFF00;STICKLINE(C,-100,-100,1.5,0),COLORFFFF00;。
通达信指标公式源码 CCI控盘 副图源码
操作说明;CCI指标又叫顺势指标,是指导股市投资的一种中短线指标,CCI是一个在实战中相当重要的技术指标,偶的思路是把主力控盘指标和CCI结合这样效果会更直观一点,目前大多数个股均出现了CCI指标跌破-100的现象,这个本身就是一个即将爆发大规模反弹的前兆。
日线CCI跌至-100以下位置,要割要逃,一切等反弹之后再说。
牛市急跌中如此,熊市暴跌中亦适用。
VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);VAR6:=MA(VAR5,3);开始控盘:STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF; STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF; STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF; STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3,0),COLOR00AAFF;VAR1:=EMA(EMA(CLOSE,3),1);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,3.5,0),COLORFFAA00;STICKLINE(控盘<0,控盘,0,3.5.2,0),COLORFF4400;STICKLINE(控盘<0,控盘,0,2.5,0),COLORFF8800;STICKLINE(控盘<0,控盘,0,0,0),COLORFFAA00;无控盘:0,COLORFFAA00;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR000088; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR0000AA; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR0000CC; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR0000EE;高度控盘:0,COLOR0000FF;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR008800; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR00AA00; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR00CC00; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR00EE00; STICKLINE(DDX<0,0,DDX,3.5,0),COLOR008800;STICKLINE(DDX<0,0,DDX,2.5,0),COLOR00AA00;STICKLINE(DDX<0,0,DDX,1.5,0),COLOR00CC00;STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;对倒出货:0,COLOR00FF00;TYP:=(HIGH+LOW+CLOSE)/3;CCI:(TYP-MA(TYP,5))/(0.015*AVEDEV(TYP,5))COLORLIGRAY;DIF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIF,9);MACD:(DIF-DEA)*2,COLORSTICK;STICKLINE(CCI<-100,CCI,-100,1,0),COLORMAGENTA;-100 COLORYELLOW;150 COLORRED;个股:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLORBROWN, NODRAW;短线反弹:IF(CROSS(个股,9),50,0),STICK,LINETHICK3,COLORBROWN; DRAWTEXT(CROSS(个股,9),40,'●反弹'),COLORBROWN;。
通达信真正的主升浪主图指标公式
通达信真正的主升浪主图指标公式A:=MAX(MA(C,60),MA(C,120));E:=MAX(MA(C,45),MA(C,90));J:=MAX(MA(C,30),MA(C,60));A1:=DATE <= 13181231;生命线:(MA(C,25)) * A1,LINETHICK2,COLORMAGENTA;牛线1:(MA(C,40)) * A1,COLORCYAN;FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1); 趋势:IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17)),COLORWHITE,LI NETHICK2;年线:=EMA(C,250);LA:=趋势-(EMA(C,3)-趋势);反线:EMA((年线-(EMA(C,3)-年线)),5),LINETHICK2,COLORBLUE;IF(趋势=FS,趋势,趋势),COLORWHITE,LINETHICK3;追涨:EMA(COST(81),10),COLORRED,LINETHICK2;牛熊线:EMA(COST(27),120),DOTLINE;做空68: HHV((HIGH+LOW+OPEN+2*CLOSE)/5*2-L,5),COLORRED,DOTLINE;平衡点:LLV((HIGH+LOW+OPEN+2*CLOSE)/5,3),COLORGRAY,DOTLI NE;XG:=CROSS(做空68,牛熊线);DRAWTEXT(XG,L*0.99,'主'),COLOR00FF00;DRAWTEXT(XG,L*0.96,'升'),COLOR00FF00;DRAWTEXT(XG,L*0.93,'浪'),COLOR00FF00;M2:=EMA(C,2);M18:=EMA(C,18);买:=IF(CROSS(M18,M2),5,0*10000),COLORFF00FF,LINETHICK2;RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;VARB2:=(RSVV/2+22)*1;Q:=EMA(VOL,13);Y:=EMA(AMOUNT,13);S:=((Y /Q) / 100);X:=(((CLOSE -S) / S) * 100);F:=((X < (0)) AND ZXNH);XQ:=F AND RSVV<VARB2-2;收阴买:=买AND XQ ,STICK,COLORYELLOW,LINETHICK3;DRAWTEXT(收阴买,L*0.950,'收'),COLORYELLOW; DRAWTEXT(收阴买,L*0.920,'阴'),COLORYELLOW; DRAWTEXT(收阴买,L*0.890,'买'),COLORYELLOW;。
CCI副图选股通达信指标公式源码
通达信CCI指标的改良版,个人觉得有点用处,特分享一下!CCI中文译名为:随顺市势指标。
它属于超买超卖指标中较特殊的一种。
波动于广向正值无限大和微向负值无限小之间。
本指标专门用以测量股价是否已超出常态分布范围。
日线CCI反应敏感,适合短线强势股!好了如你不满意任你修改,希望幸运的有缘人能发现下一个翻倍的牛股600149廊坊发展000935四川双马!{副图}TYP:=IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L<C AND C<O) OR(L<O AND O<=C),CLOSE,LOW)/3;游侠CCI:EMA((TYP-MA(TYP,36.0270012))/(0.015*AVEDEV(TYP,36.0270012)),2.0332),COLOR WHITE;粉低吸:EVERY(游侠CCI<-150 AND 游侠CCI<REF(游侠CCI,1),3),NODRAW; STICKLINE(游侠CCI<-150,游侠CCI,-150,2,0),COLORFF80FF;STICKLINE(C>0,-150,-151,2,0),COLORBLUE;分界:100;DRAWICON(CROSS(游侠CCI,100),100,1);{红箭头选股}TYP:=IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L<C AND C<O) OR(L<O ANDO<=C),CLOSE,LOW)/3;游侠CCI:=EMA((TYP-MA(TYP,36.0270012))/(0.015*AVEDEV(TYP,36.0270012)),2.0332); 选股:CROSS(游侠CCI,100);。
通达信——主升浪启动点信号指标公式源码完...
通达信——主升浪启动点信号指标公式源码完...通达信——主升浪启动点信号指标公式源码完整,复制就可以直接使用:YYHH22:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;主升浪信号: WINNER(CLOSE)*100;YYHH33:=SMA(YYHH22,3,1);YYHH44:=SMA(YYHH33,9,1);YYHH55:=3*YYHH33-2*YYHH44;YYHH66:=VOL;主升浪启动点: VOL/MA(VOL,5);主升浪: (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;主升浪公式: (CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;通达信公式: VOL/CAPITAL*100;YYHH77:=SUM(通达信公式,30);YYHH88:=LLV(INDEXL,5);YYHH99:=HHV(INDEXH,5);YYHHAA:=EMA((INDEXC-YYHH88)/(YYHH99-YYHH88)*100,4);YYHHBB:=MA(EMA(0.667*REF(YYHHAA,1)0.333*YYHHAA,2),9);YYHHCC:=MA(YYHHBB,30);YYHHDD:=EMA(主升浪信号,4);CCDS1: CAPITAL/1000000,;V5: MA(VOL,5)*2;YYHHE:=MA(V5,3);CCDS2: MA(VOL,34)*2;YYHHF:=(主升浪>YYHHDD AND 主升浪公式<-30 AND 主升浪>3);CROSS(YYHHBB,YYHHCC) AND YYHHCC<29;CROSS(YYHHCC,YYHHBB) AND YYHHCC>58;STICKLINE(VOL AND YYHH33>YYHH44,0,VOL,3,1),COLORRED;STICKLINE(VOL AND YYHH33<=YYHH44,0,VOL,3,1),COLORCYAN;DRAWTEXT(CROSS(YYHHBB,YYHHCC) AND 主升浪公式<-18 AND YYHHCC<29,VOL*1.2,''),COLORYELLOW;W:DRAWTEXT(CROSS(YYHHCC,YYHHBB) AND YYHHCC>58,VOL*1.2,''),COLORWHITE;DRAWTEXT(CROSS(YYHHE,V5) AND 主升浪公式>22,V5,'');YYHH2:=CLOSE-REF(CLOSE,1);YYHH3:=IF(CLOSE-REF(CLOSE,1)>=0,YYHH2,0);YYHH4:=REF(CLOSE,1)-CLOSE;YYHH5:=IF(CLOSE-REF(CLOSE,1)<=0,YYHH4,0);YYHH6:=SUM(YYHH3,16)/SUM(YYHH5,16);YYHH7:=100-100/(1 YYHH6);YYHH8:=EMA(YYHH7,16);YYHH9:=EMA(YYHH8,8);YYHHA:=EMA(YYHH8,45);CCDS3:=(YYHH8-YYHHA);ML:=(YYHH9-YYHHA);YYHH1A:=EMA(CLOSE,32);YYHH2A:=MA(OPEN,32);CCDS7:=(YYHH1A-YYHH2A);STICKLINE(CCDS3>ML AND CCDS7<0 AND CCDS3>REF(CCDS3,3) AND CCDS7>REF(CCDS7,3),VOL,0,3,0) COLORYELLOW;。