分界线"源码
DRAWICON(((CLOSE > 0) AND (ISLASTBAR = 1)),CLOSE,'一休哥1'),ALIGN4,SHIFT2;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,1),color43FF;
STICKLINE((CLOSE >= OPEN),CLOSE,HIGH,0.5,0),color43FF;
STICKLINE((CLOSE >= OPEN),OPEN,LOW,0.5,0),color43FF;
STICKLINE((CLOSE < OPEN),CLOSE,OPEN,8,0),colorFFFF00;
STICKLINE((CLOSE < OPEN),HIGH,LOW,0.5,0),colorFFFF00;
VAR15:=IF(((((CLOSE / REF(CLOSE,1)) > 1.05) AND (((VOL / CAPITAL) * 100) < 10)) AND ((HIGH / CLOSE) < 1.01)),1,0);
STICKLINE((VAR15 = 1),(LOW * 0.99),(LOW * 0.94),6,1),LINETHICK2,colorFFFFFF;
DRAWTEXT((VAR15 = 1),(LOW * 0.94),'追涨66%'),colorFFFFFF;
D01:=((EMA(CLOSE,3) - EMA(CLOSE,6)) * 5);
神光线:(EMA(D01,7) + EMA(CLOSE,5)),colorFF;
PARTLINE((神光线 > REF(神光线,1)),神光线),LINETHICK2,colorFF;
PARTLINE((神光线 < REF(神光线,1)),神光线),LINETHICK2,colorCCFFFF;
VAR1:=(EMA(VOL,12) - EMA(VOL,26));
VAR2:=EMA(VAR1,9);
VAR3:=(((EMA(CLOSE,30) * 2) + MA(CLOSE,60)) / 3);
VAR4:=(VOL * CLOSE);
VAR5:=(EMA(VAR4,13) / EMA(VOL,13));
VAR6:=(EMA(VAR4,60) / EMA(VOL,60));
VAR7:=EMA(((VAR5 + VAR6) / 2),3);
中线:MA(((VAR3 + VAR7) / 2),1),LINETHICK0,colorFFFF;
DRAWICON((中线 < REF(中线,1)),中线,11),LINETHICK2,colorFFFFFF;
DRAWICON((中线 >= REF(中线,1)),中线,12),LINETHICK2,colorFF;
VAR11:=(((((2 * CLOSE) + OPEN) + HIGH) + LOW) / 5);
VAR12:=VOL;
短线:(SUM((VAR11 * VAR12),13) / SUM(VAR12,13)),colorFF00FF;
PARTLINE((短线 < REF(短线,1)),短线),colorFFC8FF;
AM:=DMA(MA(DMA(CLOSE,VAR2),6),(VOL / SUM(VOL,89)));
牛熊线:AM,LINETHICK2,color9900;
追涨:IF((VAR15 = 1),50,0),LINETHICK0,colorFFFFFF;
VARA:=IF((CLOSE > 150),91.3,0.913);
【下沿】:=(INTPART((CLOSE / VARA)) * VARA);
【上沿】:=(【下沿】 + VARA);
【中线】:=((【下沿】 + 【上沿】) / 2);
STICKLINE(((((SYSPARAM(1) = BARPOS) AND 【下沿】) AND (CLOSE > 【下沿】)) AND (CLOSE < 【中线】)),【下沿】,【下沿】,50,0),LINETHICK3,colorFF9900;
STICKLINE(((((SYSPARAM(1) = BARPOS) AND 【上沿】) AND (CLOSE < 【上沿】)) AND (CLOSE > 【中线】)),【上沿】,【上沿】,50,0),LINETHICK3,color99FF;
STICKLINE(((SYSPARAM(1) = BARPOS) AND 【中线】),【中线】,【中线】,50,0),LINETHICK3,colorFFFFFF;
DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 【下沿】) AND (CLOSE > 【下沿】)) AND (CLOSE < 【中线】)),【下沿】,'支撑'),SHIFT3,colorFF00;
DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 【下沿】) AND (CLOSE > 【下沿】)) AND (CLOSE < 【中线】)),【中线】,'压力'),SHIFT3,colorFF;
DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 【上沿】) AND (CLOSE < 【上沿】)) AND (CLOSE > 【中线】)),【上沿】,'压力'),SHIFT3,colorFF;
DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 【上沿】) AND (CLOSE < 【上沿】)) AND (CLOSE > 【中线】)),【中线】,'支撑'),SHIFT3,colorFF00;
蓝:【下沿】,LINETHICK0,colorFF9900;
棕:【上沿】,LINETHICK0,color99FF;
白:【中线】,LINETHICK0,colorFFFFFF;
S:CLOSE,LINETHICK0;
|