同花顺指标 尾盘选股器 源码: DRAWGBK(V>1,STRIP(RGB(60,100,255),RGB(180,180,255),1)); 量:=(CLOSE - LLV(LOW,14)) / (HHV(HIGH,14) - LLV(LOW,14)) * 1.2 * CLOSE; 量1:=EMA(量,3); 量2:=EMA(量,6); 量3:EMA(量,9),POINTDOT,colorgreen,LINETHICK2; PARTLINE(量3,量3>REF(量3,1),RGB(250,120,40),量3),colorgreen,LINETHICK2; 量13:EMA(量,14),colormagenta,LINETHICK2; ; 量4:=EMA(量,4); MA3:=MA(C,3); MA5:=MA(C,5); DRAWICON(CROSS(MA3,MA5),量1+0.2,1); DRAWICON(CROSS(MA3,MA5)AND 量1>量3,量3-0.61,1); DRAWICON(CROSS(MA5,MA3),量3-0,2); DRAWBAND(量1,RGB(200,150,55),量2,RGB(50,100,10)); 量11:=量1,colorblue,LINETHICK; 持股:IF(量11>REF(量11,1),量11,DRAWNULL),colorred,LINETHICK3; 持币:IF(量11<=REF(量11,1),量11,DRAWNULL),colorblue,LINETHICK3; STICKLINE(量1 >= 量2,量3,量1,8,0),color0000AA; STICKLINE(量1 >= 量2,量3,量1,7,0),color0000BB; STICKLINE(量1 >= 量2,量3,量1,6,0),color0000CC; STICKLINE(量1 >= 量2,量3,量1,5,0),color0000DD; STICKLINE(量1 >= 量2,量3,量1,4,0),color0000EE; STICKLINE(量1 >= 量2,量3,量1,3,0),color0000FF; STICKLINE(量1 <= 量2,量3,量1,8,0),colorFF0000; STICKLINE(量1 <= 量2,量3,量1,7,0),colorFF3300; STICKLINE(量1 <= 量2,量3,量1,6,0),colorFF5500; STICKLINE(量1 <= 量2,量3,量1,5,0),colorFF7700; STICKLINE(量1 <= 量2,量3,量1,4,0),colorFF9900; STICKLINE(量1 <= 量2,量3,量1,3,0),colorFFBB00; STICKLINE(量1 <= 量2,量3,量1,2,0),colorFFDD00; STICKLINE(量1 <= 量2,量3,量1,1,0),colorFFFF00; T1:=量2 >= 量3 AND 量1 < REF(量1,1); T2:=量2 < 量3 AND 量1 > REF(量1,1); STICKLINE(T1,量1,量3,8,0),colorFFBB11; STICKLINE(T1,量1,量3,7,0),colorFFCC22; STICKLINE(T1,量1,量3,5,0),colorFFDD33; STICKLINE(T1,量1,量3,3,0),colorFFEE44; STICKLINE(T1,量1,量3,1,0),colorFFFF55; STICKLINE(T2,量1,量3,10,0),color338FDD; STICKLINE(T2,量1,量3,8,0),colorFF00FF; STICKLINE(T2,量1,量3,1,0),color00DDFF; STICKLINE(T2,量1,量3,8,0),color00AAFF; STICKLINE(T2,量1,量3,6.6,0),color00BBFF; STICKLINE(T2,量1,量3,4.4,0),color00CCFF; STICKLINE(T2,量1,量3,3.3,0),color00DDFF; STICKLINE(T2,量1,量3,2.2,0),color00EEFF; STICKLINE(T2,量1,量3,1,0),color00FFFF; DIFF := EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite; DEA := EMA(DIFF,9),colorgreen,LINETHICK2; 超强8 := EMA(DIFF,8),colorwhite; 强弱14 := EMA(DIFF,14),colormagenta; 牛熊25:= EMA(DIFF,25),colorred; 超跌55 := EMA(DIFF,55),coloryellow; 超跌99 := EMA(DIFF,99),colorred; 超跌144:= EMA(DIFF,144),colorgreen; DIFF1 := EMA(CLOSE,5) - EMA(CLOSE,26),colorwhite; DEA1 := EMA(DIFF1,3),colorgreen,LINETHICK2; MACD := 2*(DIFF-DEA); Zero := 0; ///* 分析家公式网http://www.fxjgsw.com DRAWICON(CROSS(DEA,DIFF),量3+0.40,2); DRAWICON(CROSS(DIFF,DEA),量3-1.5,1); VAR1:=DIFF,colorgreen,LINETHICK2; 持股:=IF(VAR1>REF(VAR1,1),VAR1,DRAWNULL),colorred,LINETHICK2; 持币:=IF(VAR1<=REF(VAR1,1),VAR1,DRAWNULL),colorblue,LINETHICK2; DRAWTEXT(DEA>VAR1 AND VAR1>=REF(VAR1,1),量1*1.11,'℉'),colorgreen,LINETHICK2; DRAWTEXT(MACD<=REF(MACD,1)AND DIFF>DEA,量3*1.1,'▼'),colorblack; DRAWTEXT(DEA<VAR1 AND VAR1<=REF(VAR1,1),量1-0.21,'℉'),colorred,LINETHICK2; 三金:=CROSS(DIFF1,DEA1) AND CROSS(MA3,MA5) AND CROSS(量1,量4); STICKLINE(三金,0,0.5,8,0),colorred; DRAWTEXT(CROSS(MA3,MA5)AND CROSS(DIFF,DEA),量3-1.01,'↑JM共振'),coloryellow; DRAWTEXT(CROSS(MA5,MA3)AND CROSS(DEA,DIFF),量1*1.11,'↓JM死振'),colorblack; |
