通达信——机构内部专用的通达信指标公式通...
通达信——机构内部专用的通达信指标公式
通达信指标公式:=EMA(100*(INDEXC-LLV(INDEXL,5))/(HHV(INDEXH,5)-LLV(INDEXL,5)),5);
机构内部专用:=EMA(100*(C-LLV(LOW,5))/(HHV(H,5)-LLV(LOW,5)),5);
ddds1:=BACKSET(机构内部专用<REF(机构内部专用,1),2);
ddds2:=IF(ddds1,机构内部专用,DRAWNULL);
ddds3:=机构内部专用-通达信指标公式,
0,POINTDOT;
STICKLINE( 机构内部专用>0,0 ,机构内部专用*1.0,4 ,0 )COLOR0000FF;
STICKLINE( 机构内部专用>0,0 ,机构内部专用*0.8,4 ,0 )COLOR0066FF;
STICKLINE( 机构内部专用>0,0 ,机构内部专用*0.6,4 ,0 )COLOR0099FF;
STICKLINE( 机构内部专用>0,0 ,机构内部专用*0.4,4 ,0 )COLOR00CCFF;
STICKLINE( 机构内部专用>0,0 ,机构内部专用*0.2,4 ,0 )COLOR00FFFF;
STICKLINE( ddds2=ddds2,0 ,ddds2*1.0,4 ,0 )COLOR00FF00;
STICKLINE( ddds2=ddds2,0 ,ddds2*0.8,4 ,0 )COLOR00CC33;
STICKLINE( ddds2=ddds2,0 ,ddds2*0.6,4 ,0 )COLOR009933;
STICKLINE( ddds2=ddds2,0 ,ddds2*0.4,4 ,0 )COLOR007733;
STICKLINE( ddds2=ddds2,0 ,ddds2*0.2,4 ,0 )COLOR005500;
ddds5:EMA(100*(INDEXC-LLV(INDEXL,5))/(HHV(INDEXH,5)-LLV(INDEXL,5)),5),COLORWHITE,LINETHICK3;
K2:=BACKSET(机构内部专用>REF(机构内部专用,1),2);
ddds6:IF(K2,机构内部专用,DRAWNULL),COLORMAGENTA,LINETHICK3;
ddds8:=BACKSET(机构内部专用<REF(机构内部专用,1),2);
ddds7:IF(ddds8,机构内部专用,DRAWNULL),COLORBLUE,LINETHICK3;
DRAWTEXT(CROSS(通达信指标公式,20),20,''),COLORRED,LINETHICK3;