主图智能辅助线指标源码
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
涨停紫色: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;


选股票看什么指标最好 >股票指标网