【资料名称】:鼎牛暴利掘金主图指标 源码 通达信介绍【资料描述】:
鼎牛暴利掘金主图指标 源码 通达信
参数数量: 5
参数1: DA, 最小: 0, 最大: 100, 缺省: 6
参数2: FY, 最小: 5, 最大: 100, 缺省: 5
参数3: CT, 最小: 0, 最大: 100, 缺省: 1
参数4: P, 最小: 0, 最大: 100, 缺省: 0
参数5: N, 最小: 0, 最大: 100, 缺省: 3
TDXSTEP265:DRAWGBK(OPEN>CLOSE,RGB(48,41,124),RGB(0,0,0),0,1,0);
涨停紫色:STICKLINE((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.095,CLOSE,OPEN,3.5,0),COLORMAGENTA;
N:=10;
M:=2.5;
TR1:=MAX(MAX(HIGH-LOW,ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
UP:=(HIGH+LOW)/2+MA(TR1,N)*M;
DN:=(HIGH+LOW)/2-MA(TR1,N)*M;
L1:=REF(UP,BARSLAST(UP<=REF(UP,1)));
L2:=LLV(UP,N*1.5);
LL:=IF(L2!=REF(L2,1) AND L1<REF(L1,1),L1,IF(L1=L2,L1,L2));
S1:=BARSLAST(CROSS(0.5,UP=LL))+1;
S2:=CROSS(COUNT(CROSS(CLOSE,LL) OR CROSS(CLOSE,REF(LL,2)) AND UP>LL,S1),0.5);
A6:=BARSLAST(S2);
B6:=BARSLAST(CROSS(HHV(DN,A6+1),CLOSE));
BY:=CROSS(B6,A6);
SL:=CROSS(A6,B6);
TDXSTEP266:DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
趋势良友:IF(B6>A6,HHV(DN,BARSLAST(BY)+1),LLV(UP,BARSLAST(SL)+1)),COLORGREEN,LINETHICK2;
终极主升:IF(B6>A6,趋势良友,DRAWNULL),COLOR0000C8,LINETHICK2;
TDXSTEP267:DRAWICON(CROSS(B6,A6),趋势良友*0.99,34);
TDXSTEP268:DRAWICON(CROSS(A6,B6),趋势良友*1.015,35);
买进:CROSS(B6,A6)*100,NODRAW,COLORRED;
卖出:CROSS(A6,B6)*100,NODRAW;
DF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100<(-4.95);
AA:=BARSLAST(DF);
鼎牛暴利线:REF(CLOSE,AA+1),COLORGRAY;
突破:=CROSS(CLOSE,REF(CLOSE,AA+1));
TDXSTEP269:DRAWTEXT(ISLASTBAR,鼎牛暴利线,2),COLORGRAY;
TDXSTEP270:DRAWICON(突破,LOW*0.99,25);
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
智能辅助线:(1-7/100)*DD,DOTLINE,COLORGREEN;
TDXSTEP271:DRAWTEXT(ISLASTBAR,智能辅助线,3),COLORGREEN;
NS:=IF(HHV(ABS(HHV(CLOSE,DA)/LLV(CLOSE,DA)-1),DA)>10/100,3,DA);
N1:=IF(MINUTE=5,NS*48,IF(MINUTE=15,NS*16,IF(MINUTE=30,NS*8,IF(MINUTE=60,NS*4,NS))));
MM:=IF(P=0 OR VOL=0,MA(CLOSE,N1),SUM(AMOUNT,N1)/SUM(VOL,N1)/100);
M1:=REF(MM,1);
买入1:=IF(CROSS(CLOSE,M1),M1,0);
卖出1:=IF(CROSS(M1,CLOSE),M1,0);
DW:=BARSLAST(卖出1>0);
EX10:=HHV(买入1>0,DW+1);
BJ:=IF(EX10>REF(EX10,1),买入1,0);
SJ:=IF(EX10<REF(EX10,1),卖出1,0);
TDXSTEP272:STICKLINE(CLOSE<OPEN,HIGH,LOW,0,0),COLOR555500;
TDXSTEP273:STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3.05,0),COLOR888800;
TDXSTEP274:STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2.75,0),COLORAAAA00;
TDXSTEP275:STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2.05,0),COLORCCCC00;
TDXSTEP276:STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1.75,0),COLOREEEE00;
TDXSTEP277:STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1.05,0),COLORCYAN;
TDXSTEP278:STICKLINE(OPEN<CLOSE,HIGH,LOW,0,0),COLOR000088;
TDXSTEP279:STICKLINE(OPEN<CLOSE,CLOSE,OPEN,3.05,0),COLOR000088;
TDXSTEP280:STICKLINE(OPEN<CLOSE,CLOSE,OPEN,2.55,0),COLOR000099;
TDXSTEP281:STICKLINE(OPEN<CLOSE,CLOSE,OPEN,1.85,0),COLOR0000AA;
TDXSTEP282:STICKLINE(OPEN<CLOSE,CLOSE,OPEN,1.35,0),COLOR0000BB;
TDXSTEP283:STICKLINE(OPEN<CLOSE,CLOSE,OPEN,0.85,0),COLOR0000CC;
TDXSTEP284:STICKLINE(OPEN<CLOSE,CLOSE,OPEN,0.35,0),COLOR0000DD;
TDXSTEP285:STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,3,0),COLOR0044FF;
TDXSTEP286:STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,2.6,0),COLOR0077FF;
TDXSTEP287:STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,2.2,0),COLOR1199FF;
TDXSTEP288:STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1.8,0),COLOR22BBFF;
TDXSTEP289:STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1.4,0),COLOR33DDFF;
TDXSTEP290:STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1,0),COLOR33FFFF;
TDXSTEP291:STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,3,0),COLOR000055;
TDXSTEP292:STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,2.6,0),COLOR000077;
TDXSTEP293:STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,2.2,0),COLOR000099;
TDXSTEP294:STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,1.8,0),COLOR0000BB;
TDXSTEP295:STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,1.4,0),COLOR0000DD;
TDXSTEP296:STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,1,0),COLOR0033FF;
TDXSTEP297:STICKLINE(SJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,3,0),COLORFF4400;
TDXSTEP298:STICKLINE(SJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,2.6,0),COLORFF7700;
TDXSTEP299:STICKLINE(SJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,2.2,0),COLORFF9911;
TDXSTEP300:STICKLINE(SJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,1.8,0),COLORFFBB22;
TDXSTEP301:STICKLINE(SJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,1.4,0),COLORFFDD33;
TDXSTEP302:STICKLINE(SJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,1,0),COLORFFFF33;
TDXSTEP303:STICKLINE(SJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,3,0),COLOR550000;
TDXSTEP304:STICKLINE(SJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,2.6,0),COLOR770000;
TDXSTEP305:STICKLINE(SJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,2.2,0),COLOR990000;
TDXSTEP306:STICKLINE(SJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1.8,0),COLORBB0000;
TDXSTEP307:STICKLINE(SJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1.4,0),COLORDD0000;
TDXSTEP308:STICKLINE(SJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1,0),COLORBLUE;
gd51433
【下载地址隐藏】: 点:回复可见地址