通达信雪峰追涨主图指标公式
通达信钱龙BOLL主图指标公式
通达信雪峰追涨主图指标公式:
MA13:=EMA(CLOSE,13);
MA21:=EMA(CLOSE,21);
stICKLINE((MA21 > REF(MA21,1)),MA21,MA13,5,7),COLOR3366FF,LINETHICK9;
TTJ:=BArslAST((vol=HHV(VOL,10)));
K0:=TTJ=0;
K1:=SUMBARS(K0,1);
K2:=SUMBARS(K0,2);
K3:=SUMBARS(K0,3);
K4:=SUMBARS(K0,4);
K5:=SUMBARS(K0,5);
K6:=SUMBARS(K0,6);
K7:=SUMBARS(K0,7);
K8:=SUMBARS(K0,8);
K9:=SUMBARS(K0,9);
K10:=SUMBARS(K0,10);
C1:=REF(C,K1-1);
AAAA:STICKLINE(K1<=30,REF(C,K1-1)*1,REF(C,K1-1),10,0),COLORYELLOW;
BA:STICKLINE(K2<=30,REF(C,K2-1)*1,REF(C,K2-1),10,0),COLORWHITE;
CA:STICKLINE(K3<=30,REF(C,K3-1)*1,REF(C,K3-1),10,0),COLORFF9900;
MA33:=MA(C,3);
MA55:=MA(C,5);
十日:=MA(C,10);
二十:=MA(C,20);
六十:=MA(C,60);
VAR2222:=(CLOSE+HIGH+LOW)/(3);
VAR3333:=(EMA(VAR2222,10));
VAR4444:=(REF(VAR3333,1));
AA:=crOSS(VAR3333,VAR4444) OR (VAR3333>VAR4444);
BB:=CROSS(VAR4444,VAR3333) OR (VAR4444>VAR3333);
AAAAA:=CROSS(VAR3333,VAR4444);
VAR01:=REF(CLOSE,1);
VAR02:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
VAR03:=(CLOSE-VAR01)*VAR02;
VAR04:=SUM(VAR03,0);
VAR05:=SMA(VAR04,5,1);
VAR06:=SMA(VAR04,8,1);
财神指路:=VAR05-VAR06,COLORYELLOW, LINETHICK2;
恭喜发财:=MA(财神指路,4),COLORWHITE, LINETHICK2;
CC:=CROSS(财神指路,恭喜发财) OR (财神指路>恭喜发财);
DD:=CROSS(恭喜发财,财神指路) OR (财神指路<恭喜发财);
CCC:=CROSS(财神指路,恭喜发财);
VAR1110:=1;
VAR2220:=((((2*CLOSE)+HIGH)+LOW) / 4);
VAR4440:=LLV(LOW,5);
VAR5550:=HHV(HIGH,4);
筹码空间:=IF(WINNER(CLOSE),WINNER(CLOSE)*100,20),VOLSTICK;
资金波动:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),POINTDOT,COLORLIRED,LINETHICK8;
VAR1000:=LLV(LOW,21);
VAR2000:=HHV(HIGH,21);
主力:=EMA((CLOSE-VAR1000)/(VAR2000-VAR1000)*100,6),COLORRED;
游资:=EMA(0.667*REF(主力,1)+0.333*主力,2),COLORGREEN;
VAR3000:=LLV(LOW,55);
VAR4000:=HHV(HIGH,34);
VAR5000:=EMA((CLOSE-VAR3000)/(VAR4000-VAR3000)*100,3);
VAR6000:=(主力+VAR5000)/2;
VAR7000:=EMA(0.667*REF(VAR5000,1)+0.333*主力,2);
VAR8000:=EMA(VAR6000,5);
散户:=EMA(0.667*REF(VAR8000,1)+0.333*VAR8000,2);
GG:=CROSS(主力,游资) OR (主力>游资);
HH:=CROSS(游资,主力) OR (主力<游资);
GGG:=CROSS(主力,游资);
DA:STICKLINE(K4<=30,REF(C,K4-1)*1,REF(C,K4-1),10,0),COLORFF9900;
EA:STICKLINE(K5<=30,REF(C,K5-1)*1,REF(C,K5-1),10,0),COLORFF9900;
FA:STICKLINE(K6<=30,REF(C,K6-1)*1,REF(C,K6-1),10,0),COLORFF9900;
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIFF,9),COLORFFFF00;
DEA0:=EMA(DIFF*100,9);
macd0:=2*(DIFF*100-DEA0);
突破黑马:=MacD0>REF(MACD0,1)*2.5 AND MACD0>15;
DRAWTEXT(MACD0>REF(MACD0,1)*2.5 AND MACD0>15,L,'▲独角马'),COLORCYAN;
Y:=((OPEN+CLOSE)/2)/REF(CLOSE,1)>1.05;
Z:=VOL>MA(VOL,5),VOL/MA(VOL,5)<2;
追:=Y AND Z AND C>MA55;
DRAWTEXT(追,(MA((OPEN+CLOSE)/2,5) AND C>MA55,L-0.06),'¥追涨持股'),COLORWHITE;
雪峰量:=4;
加强量:=2;
启爆:=C>O*(1+加强量/100) AND VOL>REF(VOL,1)*加强量;
DRAWTEXT(CURRBARSCOUNT<100 AND 启爆,L*0.98,'猎鹰杀庄'),COLOR00FFFF;
RSV:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K:=SMA(RSV,7,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
底部:=CROSS(J,7.6),LINETHICK3;
VAR010:=SMA(MAX(MAX((HIGH - LOW),Abs((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),14,1);
VAR020:=(HIGH - REF(HIGH,1));
VAR030:=(REF(LOW,1) - LOW);
VAR040:=SMA(IF(((VAR020 >0) AND (VAR020 > VAR030)),VAR020,0),12,1);
VAR050:=SMA(IF(((VAR030 >0) AND (VAR030 >VAR020)),VAR030,0),12,1);
VAR060:=((VAR040 * 100) / VAR010);
VAR070:=((VAR050 * 100) / VAR010);
VAR080:=SMA(((ABS((VAR070 - VAR060)) / (VAR070 + VAR060)) * 100),12,1);
VAR090:=((VAR080 + REF(VAR080,5)) / 2);
VARA:=((SUM((HIGH - OPEN),12) / SUM((OPEN - LOW),12)) * 100);
VARB:=((SUM(MAX(0,(HIGH - REF(CLOSE,1))),12) / SUM(MAX(0,(REF(CLOSE,1) - LOW)),12)) * 100);
VARC:=((AMOUNT / VOL) / 100);
VARD:=(((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 7);
VARE:=((SUM(AMOUNT,5) / VARC) / 100);
VARF:=((SUM(AMOUNT,13) / VARC) / 100);
VAR10:=((SUM(AMOUNT,34) / VARC) / 100);
VAR11:=((SUM(AMOUNT,209) / VARC) / 100);
VAR12:=(((REF(VOL,1) + REF(VOL,2)) + REF(VOL,3)) + REF(VOL,4));
VAR13:=(VAR12 / CAPITAL);
VAR14:=(((VOL / CAPITAL) * VARD) + (VAR13 * REF(VARC,1)));
VAR15:=DMA(VARD,(VOL / VARE));
VAR16:=DMA(VARD,(VOL / VARF));
VAR17:=DMA(VARD,(VOL / VAR10));
VAR18:=DMA(VARD,(VOL / CAPITAL));
VAR19:=MA(HHV(HIGH,488),18);
VAR1A:=MA(HHV(HIGH,220),18);
VAR1B:=MA(HHV(HIGH,98),18);
VAR1C:=MA(LLV(LOW,488),18);
VAR1D:=MA(LLV(LOW,220),18);
VAR1E:=MA(LLV(LOW,98),18);
VAR1F:=MA((((((((VAR1C * 0.96) + (VAR1D * 0.96)) + (VAR1E * 0.96)) + (VAR19 * 0.558)) + (VAR1A * 0.558)) + (VAR1B * 0.558)) / 6),18);
VAR20:=MA((((((((VAR1C * 1.25) + (VAR1D * 1.23)) + (VAR1E * 1.2)) + (VAR19 * 0.55)) + (VAR1A * 0.55)) + (VAR1B * 0.65)) / 6),18);
VAR21:=MA((((((((VAR1C * 1.3) + (VAR1D * 1.3)) + (VAR1E * 1.3)) + (VAR19 * 0.68)) + (VAR1A * 0.68)) + (VAR1B * 0.68)) / 6),18);
VAR22:=MA((((((VAR1F * 3) + (VAR20 * 2)) + VAR21) / 6) * 1.738),18);
VAR23:=IF((DATE <= 1031231),VAR22,(VAR22 * DAY));
VAR24:=LOW;
VAR25:=REF(LOW,1);
VAR26:=((SMA(ABS((VAR24 - VAR25)),3,1) / SMA(MAX((VAR24 - VAR25),0),3,1)) * 100);
VAR27:=MA(IF(((CLOSE * 1.35) <= VAR23),(VAR26 * 10),(VAR26 / 10)),3);
VAR28:=LLV(LOW,30);
VAR29:=HHV(VAR27,30);
VAR2A:=IF((LOW <= VAR28),((VAR27 + (VAR29 * 2)) / 2),0);
VAR31:=MA(HHV(HIGH,488),18);
VAR32:=MA(HHV(HIGH,220),18);
VAR33:=MA(HHV(HIGH,98),18);
VAR34:=MA(LLV(LOW,488),18);
VAR35:=MA(LLV(LOW,220),18);
VAR36:=MA(LLV(LOW,98),18);
VAR37:=MA((((((((VAR34 * 0.96) + (VAR35 * 0.96)) + (VAR36 * 0.96)) + (VAR31 * 0.558)) + (VAR32 * 0.558)) + (VAR33 * 0.558)) / 6),18);
VAR38:=MA((((((((VAR34 * 1.25) + (VAR35 * 1.23)) + (VAR36 * 1.2)) + (VAR31 * 0.55)) + (VAR32 * 0.55)) + (VAR33 * 0.65)) / 6),18);
VAR39:=MA((((((((VAR34 * 1.3) + (VAR35 * 1.3)) + (VAR36 * 1.3)) + (VAR31 * 0.68)) + (VAR32 * 0.68)) + (VAR33 * 0.68)) / 6),18);
VAR40:=MA((((((VAR37 * 3) + (VAR38 * 2)) + VAR39) / 6) * 1.738),18);
VAR41:=VAR40;
VAR42:=LOW;
VAR43:=REF(LOW,1);
VAR44:=((SMA(ABS((VAR42 - VAR43)),3,1) / SMA(MAX((VAR42 - VAR43),0),3,1)) * 100);
VAR45:=MA(IF(((CLOSE * 1.35) <= VAR41),(VAR44 * 10),(VAR44 / 10)),3);
VAR46:=LLV(LOW,30);
VAR47:=HHV(VAR45,30);
VAR49:=IF((LOW <= VAR46),((VAR45 + (VAR47 * 2)) / 2),0);
测底:=IF((((((((REF(CLOSE,13) - CLOSE) / REF(CLOSE,13)) * 100) >15) AND ((SUM((VOL / CAPITAL),13) * 100) <18)) AND (((VOL / CAPITAL) * 100) < 2.5)) AND ((((REF(CLOSE,1) - CLOSE) / REF(CLOSE,1)) * 100)<8)),0.7,0),COLORFFCC66,LINETHICK3;
底:=MA((VAR49 AND (CLOSE < COST(1))),3),COLORYELLOW, LINETHICK3;
抄底:=底>0.01;
GHYJKU:=BETWEEN((DCLOSE)/(SUM(AMOUNT,BARSCOUNT(DCLOSE))/SUM(VOL*100,BARSCOUNT(DCLOSE))),1.05,0.95);
VBNH:=IF(GHYJKU=0,MA((DCLOSE),BARSCOUNT(DCLOSE)),(SUM(AMOUNT,BARSCOUNT(DCLOSE))/SUM(VOL*100,BARSCOUNT(DCLOSE))));
资金:=expma((DCLOSE/VBNH),18),COLORYELLOW,LINETHICK0;
现价:=C,COLOR0000CC,LINETHICK0;
均价:=SUM(现价*V,240)/SUM(V,240),COLORWHITE,LINETHICK3;
金线:=(SUM(现价*V,240)/SUM(V,240))*资金;
DRAWICON(CROSS(金线,均价),均价,9);
DRAWICON(CROSS(均价,金线),均价,15);
A:=DRAWICON(CROSS(金线,均价),均价,9);
DRAWTEXT(A,均价,' 买入'),COLORYELLOW;
B:=DRAWICON(CROSS(均价,金线),均价,15);
DRAWTEXT(B,均价,' 卖出'),COLORCYAN;
黄龙:=EMA((C-LLV(L,7))/(HHV(H,7)-LLV(L,7)),2)*100;
黄龙1:=EMA((C-LLV(L,7))/(HHV(H,7)-LLV(L,7)),2)*100;
VARB1:=SMA(SMA(黄龙,2,1),2,1);
VARB2:=(VARB1/2+22)*1;
量:=EMA(VOL,13);
资:=EMA(AMOUNT,13);
过滤:=((资 /量) / 100);
提纯:=(((CLOSE -过滤) / 过滤) * 100);
黄金:=((提纯 <(0)) AND ZXNH);
低买:=IF(黄金 AND 黄龙<VARB2-2,40,0);
买点:DRAWTEXT(黄金 AND 黄龙<VARB2-2,均价,'▲'),COLORWHITE;
F0:=BARSLAST(CROSS(MA(C,5),MA(C,90)));
F1:=F0 AND BARSLAST(CROSS(MA(C,20),MA(C,90)));
F2:=F1 AND CROSS(MA(C,5),MA(C,20)) AND MA(C,20)>MA(C,90);
DRAWICON(F2,L-0.10,9);{双蹄奋起信号显示9号图标钱袋子};
通达信狂牛指标公式