以下是通达信精准起点公式源码和截图
通达信精准起点公式源码:
G:=IF(HIGH=HHV(HIGH,3),1,0);
D:=IF(LOW=LLV(LOW,3),1,0);
S:=IF(REF(G,2)=1ANDREF(G,1)=0ANDG=0,REF(HIGH,2),REF(HIGH,2+(BArslAst(REF(G,2)=1ANDREF(G,1)=0ANDG=0))));
X:=IF(REF(D,2)=1ANDREF(D,1)=0ANDD=0,REF(LOW,2),REF(LOW,2+(BARSLAST(REF(D,2)=1ANDREF(D,1)=0ANDD=0))));
K1:=IF(HIGH =ma(CLOSE,1),S,REF(S,BARSLAST(HIGH MA(CLOSE,1))));
K2:=IF(LOW =MA(CLOSE,5),X,REF(X,BARSLAST(LOW =MA(CLOSE,5))));
C1:=REF(CLOSE,1) =K1ANDCLOSE
C2:=REF(CLOSE,1) =K2ANDCLOSE
K3:=BARSLAST(C1);
K4:=BARSLAST(C2);
起点:crOSS(K4,K3);
明价:CLOSE * 1.1,NODRAW;
ST涨停价:CLOSE * 1.05,NODRAW;
获利1个点:REF(C,1)*1.01,COLORRED,NODRAW;
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
短期底部:=LLV(OPEN,30);
AA10:=MA(CLOSE,10);
AA12:=MA(CLOSE,12);
BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);
BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);
MA13:=MA(CLOSE,13);
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);
VAR7:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));
VAR8:=(((CLOSE - VAR7) / VAR7) * 100);
VAR9:=((((REF(VAR8,1) (0 - 40)) AND (VAR8 REF(VAR8,1))) AND (REF(VAR8,1) REF(VAR8,2))) AND ((VAR8 - REF(VAR8,1))
2.5));
VARA:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VARB:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VARC:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VARD:=REF(CLOSE,1);
VARE:=((SMA(MAX((CLOSE - VARD),0),5,1) / SMA(ABS((CLOSE - VARD)),5,1)) * 100);
VARF:=(((HIGH + LOW) + CLOSE) / 3);
VAR10:=((VARF - MA(VARF,14)) / (0.015 * AVEDEV(VARF,14)));
VAR11:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) (0 - 0.273));
VAR12:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) (0 - 0.125));
VAR13:=(VAR11 AND VAR12);
VAR14:=((((VARA = (0 - 45)) AND (VARA = (0 - 10))) AND (VARB = (0 - 15))) AND (VARC = (0 - 20)));
VAR15:=(COUNT(VAR14,1) = 1);
VAR16:=(VAR13 AND VAR15);
VAR17:=1;
VAB0:=531;VAB1:=1510000;VAB2:=VAB0 + VAB1; VAB3:=IF(DATE VAB2,0,1);
VARA12:=SMA(H,10,9)*VAB3; VARA13:=SMA(L,10,9)*VAB3; VAR18:=(CLOSE * VOL);
VAR19:=EMA((((((MA(VAR18,4) / MA(VOL,4)) + (MA(VAR18,6) / MA(VOL,6))) + (MA(VAR18,13) / MA(VOL,13))) + (MA(VAR18,24) / MA
(VOL,24))) / 4),1);
VAR1A:=(1 * VAR19);
VAR1B:=(VAR19 * 0.92);
VAR1C:=EMA(CLOSE,34);
VAR1D:=MA((VAR1C * 1.12),5);
VAR1E:=MA((VAR1C * 0.82),5);
VAR1F:=(CLOSE VAR1E);
VAR20:=((((((MA(AMOUNT,5) * VAR17) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA
(VOL,5)) / 100)) ((0 - 0.4) * VAR17));
VAR21:=HHV(HIGH,500);
VAR22:=LLV(LOW,500);
VAR23:=HHV(HIGH,250);
VAR24:=LLV(LOW,250);
VAR25:=HHV(HIGH,125);
VAR26:=LLV(LOW,125);
VAR27:=MA(((((((VAR21 * 0.45) + (VAR23 * 0.5)) + VAR22) + VAR24) + VAR26) / 5),35);
VAR28:=MA((((VAR23 * 0.62) + VAR26) / 2),35);
VAR29:=MA((((VAR23 * 0.75) + VAR26) / 2),18);
VAR2A:=MA((((((VAR23 * 0.93) + (VAR27 * 2)) + (VAR28 * 1.8)) + (VAR29 * 1.5)) / 4),18);
VAR2B:=MA(((((VAR21 * 0.95) + (VAR27 * 3)) + (VAR28 * 2)) / 3),35);
VAR2C:=VAR27;
VAR2D:=VAR28;
VAR2E:=VAR29;
VAR2F:=VAR2A;
VAR30:=VAR2B;
VAR31:=((CLOSE - REF(MA(CLOSE,20),11)) (0 - 2));
VAR32:=(INDEXA / 100000000);
VAR33:=INDEXADV;
VAR34:=INDEXDEC;
VAR35:=((VAR18 / (VAR18 + VAR19)) * VAR17);
VAR36:=((VAR19 / (VAR18 + VAR19)) * VAR17);
VAR37:=EMA(VAR35,10);
VAR38:=EMA(VAR36,10);
VAR39:=EMA(VAR37,10);
VAR3A:=EMA(VAR38,20);
VAR3B:=EMA(VAR37,3);
VAR3C:=EMA(VAR39,6);
VAR3D:=EMA(VAR3A,2);
VAR3E:=(VAR3C - VAR3D);
VAR3F:=(((VAR3C - REF(VAR3C,1)) 0) AND ((REF(VAR3C,1) - REF(VAR3C,2)) 0));
VAR40:=IF((CROSS(VAR3B,VAR3C) AND (VAR3C = 20)),30,0);
VAR41:=VAR40;
VAR42:=(SMA(((AMOUNT / VOL) / 100),13,1) * 1.15);
VAR43:=(SMA(((AMOUNT / VOL) / 100),13,1) * 0.85);
VAR44:=(CLOSE - REF(MA(CLOSE,20),11));
VAR45:=(((((((((((((CLOSE VAR1E) AND VAR20) AND (CLOSE VAR43)) OR (((CLOSE VAR1E) AND VAR31) AND VAR20)) OR ((CLOSE
VAR1E) AND (CLOSE VAR43))) OR (((CLOSE VAR1E) AND VAR20) AND (CLOSE VAR43))) OR (VAR20 AND (CLOSE VAR2C))) OR ((VAR20
AND VAR31) AND (VAR44 (0 - 1.5)))) OR (VAR20 AND (CLOSE VAR1E))) OR (VAR20 AND (VAR44 (0 - 1.5)))) OR (VAR31 AND (CLOSE
VAR43))) OR ((CLOSE VAR2C) AND (VAR44 (0 - 1.5)))) OR ((CLOSE VAR1E) AND VAR31));
VAR46:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR47:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR48:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR49:=REF(CLOSE,1);
VAR4A:=((SMA(MAX((CLOSE - VAR49),0),5,1) / SMA(ABS((CLOSE - VAR49)),5,1)) * 100);
VAR4B:=(((HIGH + LOW) + CLOSE) / 3);
VAR4C:=((VAR4B - MA(VAR4B,14)) / (0.015 * AVEDEV(VAR4B,14)));
VAR4D:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100))
(0 - 0.273));
VAR4E:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) (0 - 0.125));
VAR4F:=(VAR11 AND VAR12);
VAR50:=((((VAR2 = (0 - 45)) AND (VAR2 = (0 - 7))) AND (VAR3 = (0 - 11))) AND (VAR4 = (0 - 14)));
VAR51:=(COUNT(VAR50,1) = 1);
VAR52:=(VAR4F AND VAR51);
VAR53:=(((((VAR20 AND (CLOSE VAR1E)) AND VAR31) AND (CLOSE VAR2C)) AND VAR45) AND VAR52);
VAR54:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR55:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR56:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR57:=REF(CLOSE,1);
VAR58:=((SMA(MAX((CLOSE - VAR57),0),5,1) / SMA(ABS((CLOSE - VAR57)),5,1)) * 100);
VAR59:=(((HIGH + LOW) + CLOSE) / 3);
VAR5A:=((VAR59 - MA(VAR59,14)) / (0.015 * AVEDEV(VAR59,14)));
VAR5B:=((((((VAR54 = (0 - 15.8)) AND (VAR54 = (0 - 12.2))) AND (VAR55 = (0 - 20.8))) AND (VAR56 = (0 - 27.5))) AND (VAR58
= 11.7)) AND (VAR5A = (0 - 145)));
VAR5C:=9.999999884842+026;
VAR5D:=(COST(10) * 0)*VAB3;
VAR5E:=((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100));
VAR5F:=MA((((LLV(LOW,45) - CLOSE) / (HHV(HIGH,45) - LLV(LOW,45))) * 100),5);
VAR60:=((CROSS((0 - 5),VAR5F) AND (VAR5E (0 - 0.4))) AND (((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) (0 - 0.19)));
VAR61:=MA(CLOSE,3);
VAR62:=(REF(CLOSE,2) * 0.865);
VAR63:=(REF(CLOSE,13) * 0.772);
VAR64:=MIN(VAR62,VAR63);
VAR65:=((100 * VOL) / CAPITAL);
VAR66:=MA(CLOSE,13);
VAR67:=IF(((((CLOSE - VAR64) / CLOSE) 0.03) AND ((SUM(VAR65,5) / 5) 1.8)),1,0);
开始控盘:=STICKLINE((VAR6 = (0 - 10)),0,(0 - 20),5,0)*VAB3,COLORBROWN;
出击:=IF(((((VAR9 OR VAR16) OR VAR53) OR VAR5B) OR ((((CLOSE - VAR64) / CLOSE) 0.03) AND ((SUM(VAR65,5) / 5)
1.8))),120,0),LINETHICK2,COLOR0000FF;
VAR68:=0;
VARQ:=MA(CLOSE,152);
VARW:=MA(CLOSE,194.16);
VAREE:=(VARW + (2 * STD(CLOSE,170)));
VARR:=(VARQ + (2 * STD(CLOSE,170)));
VART:=IF((DATE 1080822),0,1);
VAR611:=EMA(HHV(HIGH,500),21);
VAR71:=EMA(HHV(HIGH,250),21);
VAR81:=EMA(HHV(HIGH,90),21);
VAR91:=EMA(LLV(LOW,500),21);
VARA1:=EMA(LLV(LOW,250),21);
VARB1:=EMA(LLV(LOW,90),21);
VARC1:=EMA((((((((VAR91 * 0.96) + (VARA1 * 0.96)) + (VARB1 * 0.96)) + (VAR611 * 0.558)) + (VAR71 * 0.558)) + (VAR81 * 0.558))
/ 6),21);
VARD1:=EMA((((((((VAR91 * 1.25) + (VARA1 * 1.23)) + (VARB1 * 1.2)) + (VAR611 * 0.55)) + (VAR71 * 0.55)) + (VAR81 * 0.65)) /
6),21);
VARE1:=EMA((((((((VAR91 * 1.3) + (VARA1 * 1.3)) + (VARB1 * 1.3)) + (VAR611 * 0.68)) + (VAR71 * 0.68)) + (VAR81 * 0.68)) /
6),21);
VARF1:=EMA((((((VARC1 * 3) + (VARD1 * 2)) + VARE1) / 6) * 1.738),21)*VAB3;
VAR101:=REF(LOW,1);
VAR111:=((SMA(ABS((LOW - VAR101)),3,1) / SMA(MAX((LOW - VAR101),0),3,1)) * 100);
VAR121:=EMA(IF(((CLOSE * 1.35) = VARF1),(VAR111 * 10),(VAR111 / 10)),3)*VAB3;
VAR131:=LLV(LOW,30);
VAR141:=HHV(VAR121,30)*VAB3;
VAR151:=IF(MA(CLOSE,58),1,0);
VAR161:=((EMA(IF((LOW = VAR131),((VAR121 + (VAR141 * 2)) / 2),0),3) / 618) * VAR151);
VAR171:=(((IF((VAR161 50),50,VAR161) / 20) * 15) * VART)*VAB3;
SG:=EMA(HHV(HIGH,1),8);
X1:=EMA(CLOSE,8);
X30:=((X1 REF(X1,1)) AND (CLOSE X1));
X31:=IF(((SG REF(SG,1)) OR X30),1,0);
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORRED,LINETHICK2;
线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,COLORGRAY;
震仓线:=45,COLORMAGENTA;
震仓线2:=50,COLORGRAY;
逃命线:=80,COLORRED;
线:=20,COLORGREEN;
绝底线:=5,COLORBLUE;
PP2:=操作线 震仓线2 AND REF(操作线,1) 震仓线2 ;
PP:=操作线 震仓线 AND REF(操作线,1) 震仓线 ;
PP3:=操作线 抄底线 AND REF(操作线,1) 抄底线*VAB3;
卖出价参考:VARA12,COLORRED,NODRAW;
补仓价参考:VARA13,COLORGREEN,NODRAW;
财主抓涨停:(((((COUNT((X31 = 1),4) = 3) AND (X31 = 0))AND O C AND (((C-REF(C,1))/REF(C,1)) 0.085))*89) =89)OR((C-REF(C,1))/REF(C,1) 0.085 AND (REF(PP3,1) OR REF(PP,1))) AND VAB3=1,NODRAW;
STICKLINE(财主抓涨停,0.1,0,2,0),COLORRED;
STICKLINE(财主抓涨停,0.1,1,2,0),COLORBLUE;
STICKLINE(财主抓涨停,0.2,1,2,0),COLORRED;
STICKLINE(财主抓涨停,0.3,1,2,0),COLORBLUE;
STICKLINE(财主抓涨停,0.4,1,2,0),COLORMAGENTA;
STICKLINE(财主抓涨停,0.5,1,2,0),COLORBROWN;
STICKLINE(财主抓涨停,0.6,1,2,0),COLORMAGENTA;
STICKLINE(财主抓涨停,0.7,1,2,0),COLORYELLOW;
STICKLINE(财主抓涨停,0.8,1,2,0),COLORLIRED;
STICKLINE(财主抓涨停,0.9,1,2,0),COLORYELLOW;
ZT:=REF(C,1)*1.1-C 0.01 AND H=C;{涨停}
YM:EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48),COLORRED,LINETHICK1;
YM1:=EMA(YM,5),COLORRED,LINETHICK1;
YM2:=EMA(YM1,5),COLORRED,LINETHICK1;
IF(YM =YM2,YM,DRAWNULL),LINETHICK1,COLORRED;
IF(YM =YM2,YM1,DRAWNULL),LINETHICK1,COLORRED;
IF(YM =YM2,YM,DRAWNULL),LINETHICK1,COLORGREEN;
IF(YM =YM2,YM1,DRAWNULL),LINETHICK1,COLORGREEN;
IF(YM =YM2,YM,DRAWNULL),LINETHICK1,COLORRED;
YM3:EMA((CLOSE+HIGH+LOW)/3,3),COLORGREEN;
STICKLINE(EMA((CLOSE+HIGH+LOW)/3,3) =YM,LOW,HIGH,0,0),COLORRED;
STICKLINE(EMA((CLOSE+HIGH+LOW)/3,3) =YM,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(EMA((CLOSE+HIGH+LOW)/3,3) =YM,LOW,HIGH,0,0),COLORGREEN;
STICKLINE(EMA((CLOSE+HIGH+LOW)/3,3) =YM,CLOSE,OPEN,3,1),COLORGREEN;
STICKLINE(YM =YM2 AND YM3 =YM,LOW,HIGH,0,0),COLORBLUE;
STICKLINE(YM =YM2 AND YM3 =YM,O,C,3,0),COLORBLUE;
STICKLINE(YM =YM2 AND YM3 =YM ,HIGH,LOW,0,1 ),COLORWHITE;
STICKLINE(YM =YM2 AND YM3 =YM,OPEN,CLOSE,3.1,0 ),COLOR555555;
STICKLINE(YM =YM2 AND YM3 =YM ,OPEN,CLOSE,2.7,0 ),COLOR777777;
STICKLINE(YM =YM2 AND YM3 =YM ,OPEN,CLOSE,2.1,0 ),COLOR999999;
STICKLINE(YM =YM2 AND YM3 =YM ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;
STICKLINE(YM =YM2 AND YM3 =YM ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;
STICKLINE(YM =YM2 AND YM3 =YM ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;
DRAWTEXT(YM =YM2 AND YM3 =YM AND ZT,L,'【精准导弹】'),COLORYELLOW;
STICKLINE(YM =YM2 AND YM3 =YM AND ZT,CLOSE,OPEN,3.2,0),COLOR0077FF;
STICKLINE(YM =YM2 AND YM3 =YM AND ZT,CLOSE,OPEN,2.5,0),COLOR0099FF;
STICKLINE(YM =YM2 AND YM3 =YM AND ZT,CLOSE,OPEN,1.9,0),COLOR00BBFF;
STICKLINE(YM =YM2 AND YM3 =YM AND ZT,CLOSE,OPEN,1.2,0),COLOR00DDFF;
STICKLINE(YM =YM2 AND YM3 =YM AND ZT,CLOSE,OPEN,0.3,0),COLOR00FFFF;
STICKLINE(YM =YM2 AND YM3 =YM AND ZT AND C O,O,C,0.1,0),COLORFFFFFF;
VAR21:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
VAR22:=8;
QQ:=CROSS(VAR21,VAR22);
STICKLINE(QQ AND YM =YM2 AND YM3 =YM,C,O,5,2),COLORYELLOW{98FD};
STICKLINE(QQ AND YM =YM2 AND YM3 =YM,C,O,3,0),COLOR00C8FF;
STICKLINE(QQ AND YM =YM2 AND YM3 =YM,C,O,2,0),COLOR10ECFF;
STICKLINE(QQ AND YM =YM2 AND YM3 =YM,C,O,2,0),COLOR10FFFF;
DRAWTEXT(QQ AND YM =YM2 AND YM3 =YM,L*0.98,'短入'),COLOR0099FF;
大单动向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
涨跌动因:=IF(TRADENUM 0,(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,0);
超B:=L2_AMO(0,2)/10000.0;
大B:=L2_AMO(1,2)/10000.0;
中B:=L2_AMO(2,2)/10000.0;
小B:=L2_AMO(3,2)/10000.0;
超S:=L2_AMO(0,3)/10000.0;
大S:=L2_AMO(1,3)/10000.0;
中S:=L2_AMO(2,3)/10000.0;
小S:=L2_AMO(3,3)/10000.0;
大单比:=(超B+大B+中B)/(超S+大S+中S);
定位:=大单动向 0.02 AND 涨跌动因 5 AND 大单比
MACD价格1:=EMA(CLOSE,3) - EMA(CLOSE,9);
DEA1021:=EMA((EMA(MACD价格1,102) - EMA(MACD价格1,204)),9);
DEA511:=EMA((EMA(MACD价格1,51) - EMA(MACD价格1,102)),9);
DEA36361:=EMA((EMA(MACD价格1,36) - EMA(MACD价格1,72)),9);
DEA24241:=EMA((EMA(MACD价格1,24) - EMA(MACD价格1,48)),9);
DEA18181:=EMA((EMA(MACD价格1,18) - EMA(MACD价格1,36)),9);
DEA661:=EMA((EMA(MACD价格1,6) - EMA(MACD价格1,12)),9);
DEA331:=EMA((EMA(MACD价格1,3) - EMA(MACD价格1,9)),9);
DEA12121:=EMA((EMA(MACD价格1,12) - EMA(MACD价格1,24)),9);
MACD24241:=2*((EMA(MACD价格1,24) - EMA(MACD价格1,48))-DEA24241);
HH1:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
REF(H,20))/210,COLORBLUE,LINETHICK1;
LL1:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)
+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)
+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+
REF(L,20))/210,COLORBLUE,LINETHICK1;
D90H1:=EMA(HH1,90),COLORRED,LINETHICK1;
D90L1:=EMA(LL1,90),COLORRED,LINETHICK1;
D901:=(D90H1+D90L1)/2;
Y1M:=EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48);
CCI151:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,15))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,15));
CCI101:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,10))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,10));
CCI51:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,5))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,5));
CCI31:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,3))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,3));
CCI买点定位1:=CROSS(CCI51,0) AND CROSS(CCI31,0) AND REF(CCI151,1) 0 AND REF(CCI101,1) -30 AND REF(CCI151,1) REF(CCI101,1) AND REF(CCI101,1) REF(CCI51,1);
CCI买点定位2:=CROSS(CCI31,0) AND CCI51 REF(CCI51,1) AND REF(CCI51,1) -100 AND REF(CCI151,1) 0 AND REF(CCI101,1) -30 AND REF(CCI151,1) REF(CCI101,1) AND REF(CCI101,1) REF(CCI51,1);
CCI买点定位3:=CROSS(CCI51,0) AND CROSS(CCI31,0) AND REF(CCI101,1) 0 AND REF(CCI101,1) REF(CCI151,1);
CCI买点定位:=CCI买点定位1=1 OR CCI买点定位2=1 OR CCI买点定位3=1;
起爆金股1:=CCI买点定位=1 AND DEA12121 DEA18181 AND DEA18181 DEA24241 AND DEA24241 DEA36361 AND DEA36361 DEA511 AND DEA511 =DEA1021 AND DEA18181 REF(DEA18181,1) AND DEA24241 REF(DEA24241,1) AND DEA36361 REF(DEA36361,1) AND DEA511 REF(DEA511,1) AND DEA1021 REF(DEA1021,1) AND DEA36361 0 AND DEA331
起爆金股2:=CCI买点定位=1 AND DEA12121 DEA18181 AND DEA18181 DEA24241 AND DEA24241 DEA36361 AND DEA18181 DEA1021 AND DEA18181 REF(DEA18181,1) AND DEA24241 REF(DEA24241,1) AND DEA36361 REF(DEA36361,1) AND DEA511 REF(DEA511,1) AND DEA1021 REF(DEA1021,1) AND DEA18181 0 AND DEA331
起爆金股:=起爆金股1=1 OR 起爆金股2=1;
VOL比:=VOL/REF(VOL,1);
高度1:=(D90H1-D90L1)*4+D90H1;
PBX11:=(EXPMA((CLOSE+HIGH+LOW)/3,4)+EMA((CLOSE+HIGH+LOW)/3,4*2)+EMA((CLOSE+HIGH+LOW)/3,4*4))/3;
PBX22:=(EXPMA((CLOSE+HIGH+LOW)/3,5)+EMA((CLOSE+HIGH+LOW)/3,5*2)+EMA((CLOSE+HIGH+LOW)/3,5*4))/3;
PBXHH:=(EXPMA(H,2)+EMA(H,2*2)+EMA(H,2*4))/3,COLORGREEN,LINETHICK1;
PBXLL:=(EXPMA(L,2)+EMA(L,2*2)+EMA(L,2*4))/3,COLORRED,LINETHICK1;
PBX高:=REF(PBXHH,1),COLORGREEN,LINETHICK1;
PBX低:=REF(PBXLL,1),COLORRED,LINETHICK1;
PMX差:=PBX高-PBX低;
起爆止盈价:=PBX高+PMX差*2,COLORWHITE,LINETHICK1;
起爆获利率:=(起爆止盈价-PBX高)/PBX高*100;
起爆止损价:=PBX低-PMX差*0.7,COLORWHITE,LINETHICK1;
起爆止损率:=(起爆止损价-PBX高)/PBX高*100;
海底蛟龙:=(CLOSE+HIGH+LOW)/3 D901 AND (CLOSE+HIGH+LOW)/3 Y1M AND 起爆金股=1 AND C 高度1 AND PBX11 PBX22 AND L PBX高 AND O PBX高 AND 资金定位=1 AND VOL比
云上天龙:=(CLOSE+HIGH+LOW)/3 D901 AND (CLOSE+HIGH+LOW)/3 Y1M AND 起爆金股=1 AND C 高度1 AND PBX11 PBX22 AND L PBX高 AND O PBX高 AND 资金定位=1 AND VOL比
起爆点:=海底蛟龙=1 OR 云上天龙=1;
STICKLINE(起爆点=1 AND C PBX高,LOW,HIGH,0,0),COLORYELLOW;
STICKLINE(起爆点=1 AND C PBX高,CLOSE,OPEN,3,0),COLORYELLOW;
STICKLINE(起爆点=1 AND C PBX高,LOW,PBX高,0,0),COLORYELLOW;
STICKLINE(起爆点=1 AND C PBX高,PBX高,OPEN,3,0),COLORYELLOW;
DRAWICON(起爆点=1,L,1);
通达信精准起点公式截图