源码
散户协会独家指标:DRAWTEXT(((MONTH = 1) AND (DATE = 4)),CLOSE,'散户协会专用版'),colorFF00;
流通盘:FINANCE(7),LINETHICK0;
DRAWTEXT((SYSPARAM(2) = BARPOS),CLOSE,('所属板块:' + BLKNAME)),ALIGN4,colorFF00FF;
DRAWTEXT((SYSPARAM(2) = BARPOS),CLOSE,'昨日红盘锦绣、风骚基金蓝筹、试问股評人、却道牛市依旧、知否,知否、利剑已悬在头!:'),ALIGN5,color80FFFF;
GD4:=(((CLOSE - LLV(LOW,60)) / (HHV(HIGH,60) - LLV(LOW,60))) * 100);
VAR1:=SMA(GD4,5,1);
VAR2:=SMA(VAR1,10,1);
VAR3:=CROSS(VAR2,VAR1);
VAR4:=((VAR2 > 80) OR (VAR1 > 80));
VAR5:=(VAR3 AND VAR4);
VAR6:=EMA(((AMOUNT / VOL) / 100),3);
VAR7:=EMA(VAR6,88);
VAR8:=(EMA(VAR6,88) * 0.85);
VAR9:=(VAR8 * 0.87);
VARA:=((LOW < VAR9) AND (CLOSE > (REF(CLOSE,1) * 1.02)));
VARB:=STICKLINE(VAR5,HIGH,HIGH,6,0);
黄金线:(SMA(HIGH,21,2) * 1.05),LINETHICK2,colorFFFFFF;
畜生线:(SMA(LOW,21,2) * 0.95),LINETHICK2,colorFF00;
多空线:SMA(LOW,5,1),LINETHICK4,colorFFFF;
生命线:SMA(CLOSE,2,1),colorFF;
逃顶:=((AMOUNT / VOL) / 100);
VARC1:=(((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 7);
VARC2:=((SUM(AMOUNT,83) / 逃顶) / 100);
黑马线:DMA(VARC1,(VOL / VARC2)),LINETHICK2,colorFF0000;
VARC3:=(INDEXV * INDEXC);
V1:=(EMA(VARC3,5) / EMA(INDEXV,5));
V2:=(((INDEXC - V1) / V1) * 100);
V3:=((V2 <= (0 - 1.5)) AND (V2 > (0 - 100)));
V4:=(SUM((V3 > 0),18) / SUM((V3 = 0),18));
V5:=((V4 < 5) AND (V4 >= 0.25));
V6:=(((LOW + HIGH) + CLOSE) / 3);
V7:=(((V6 - MA(V6,14)) / 0.015) * AVEDEV(V6,14));
V8:=EMA(V7,3);
V9:=(((HIGH + LOW) + CLOSE) / 3);
VA:=((SUM(MAX(0,(HIGH - REF(V9,1))),26) / SUM(MAX(0,(REF(V9,1) - LOW)),26)) * 100);
VB:=REF(MA(VA,3),2.2);
VC:=REF(MA(VA,13),6.2);
VD:=REF(MA(VA,89),36.6);
VE:=(CROSS(VB,VA) AND (VA > 150));
DRAWTEXT(FILTER((V5 AND CROSS(V7,V8)),10),LOW,'←峰回路转');
DRAWTEXT(FILTER(VE,10),HIGH,'←逃');
DRAWTEXT(CROSS(畜生线,生命线),生命线,'←风云突变'),colorFF00FF;
DRAWTEXT(CROSS(畜生线,多空线),多空线,'←一泻千里'),colorFF;
DRAWTEXT(CROSS(生命线,畜生线),生命线,'★柳暗花明'),colorFF00FF;
DRAWTEXT(CROSS(多空线,畜生线),多空线,'★一马平川'),colorFF;
DRAWTEXT(CROSS(生命线,多空线),生命线,'←稳'),colorFF;
DRAWTEXT(CROSS(生命线,黄金线),生命线,'←强'),colorFF;
DRAWTEXT(CROSS(黄金线,生命线),生命线,'☆盘整'),colorFF0000;
DRAWTEXT(CROSS(多空线,黄金线),多空线,'●最后疯狂↑'),colorFF00;
DRAWTEXT(CROSS(黄金线,多空线),多空线,'○大顶将至↓'),colorFF00;
DRAWICON(((多空线 >= 畜生线) AND (生命线 >= 黄金线)),黄金线,10);
DRAWTEXT(FILTER(CROSS(75,((SMA(MAX((CLOSE - REF(CLOSE,1)),0),8,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),8,1)) * 100)),10),HIGH,'卖'),colorFF00;
DRAWTEXT(FILTER(CROSS((0 - 5),MA((((LLV(LOW,45) - CLOSE) / (HHV(HIGH,45) - LLV(LOW,45))) * 100),5)),5),LOW,'←谨慎介入'),colorD0DCD0;
DRAWTEXT(FILTER(VARA,6),(LOW + 0.1),'●适当介入'),colorFF;
GD4:=EMA(CLOSE,17);
VAR1:=((GD4 - EMA(CLOSE,4)) < 0);
VAR2:=((GD4 - EMA(CLOSE,4)) > 0);
VAR3:=BARSLAST(VAR1);
VAR4:=BARSLAST(VAR2);
VAR5:=IF((VAR4 > 0),(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100),0);
VAR6:=SUM(VAR5,0);
VAR7:=IF((VAR3 > 0),(0 - 2),0);
DRAWICON(((REF(VAR7,1) = (0 - 2)) AND (VAR7 = 0)),LOW,1);
DRAWICON(((REF(VAR4,1) > 0) AND (VAR4 = 0)),HIGH,2);
VAR8:=IF((VAR4 > 0),SUM((((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100),VAR4),0);
VAR9:=(VAR8 / VAR4);
VARA:=0;
VF:=SMA("1a0001$vol",10,1)/10000000;
VAR1A:=EMA(VF,13.5);
VAR2A:=(((VF - VAR1A) / VAR1A) * 100);
VAR3A:=CROSS(0,VAR2A);
DRAWTEXT(VAR3A,(HIGH * 1.05),'大盘走弱'),colorFFFFFF;
VAR4A:=(((CLOSE - LLV(LOW,28)) / (HHV(HIGH,28) - LLV(LOW,28))) * 100);
VAR1C:=MA(VAR4A,10);
VAR2C:=(SMA(VAR1C,3,1) / 10);
DRAWTEXT(CROSS(VAR2C,9),(HIGH + 0.2),'警惕'),colorFF00;
DRAWTEXT(CROSS(9,VAR2C),(HIGH + 0.2),'快走'),colorFF00;
VAR3C:=EMA(WINNER(CLOSE),10);
VARB4:=EMA(WINNER(CLOSE),34);
VARB5:=(((VAR3C < 0.15) AND (ABS((VAR3C - VARB4)) < 0.05)) AND CROSS(VAR3C,VARB4));
DRAWTEXT(VARB5,(LOW * 0.95),'机会来临'),colorD0DCD0;