1.?紫色指标紫色指标验证模块源码分析?ɫָ??Դ??
??ɫָ??Դ??
N:=;
VAR2:=MA(CLOSE,5);
VAR3:=MA(CLOSE,);
VAR4:=MA(CLOSE,);
VAR5:=MA(CLOSE,);
VAR6:=((((VAR2 + VAR3) + VAR4) + VAR5) / 4);
VAR7:=(((VAR6 - REF(VAR6,N)) / REF(VAR6,N)) * );
VAR9:=EMA(VAR7,5);
付氏精准:IF(CROSS(VAR7,0),,0),COLORCC;
稳操胜券:STICKLINE(((VAR7 > REF(VAR7,1)) AND (VAR7 > 0)),0,VAR9,3,0),COLORFFFF;
STICKLINE(((VAR7 > REF(VAR7,1)) AND (VAR7 < 0)),VAR7,VAR9,3,0),COLORFF;
箱体震荡:STICKLINE(((VAR9 > REF(VAR9,1)) AND (VAR9 < 0)),VAR7,0,3,0),COLORFF;
翻转做多:STICKLINE((VAR9 > REF(VAR9,1)),VAR7,VAR9,3,0),COLORFF;
生命禁区:STICKLINE(CROSS(VAR7,0),VAR7,VAR9,3,0),COLORFFFFFF;
股价泥潭:STICKLINE((VAR7 < REF(VAR7,1)),VAR7,VAR9,3,1),COLORFF;
多头回调:STICKLINE(((VAR7 < REF(VAR7,1)) AND (VAR9 > (1 * REF(VAR9,1)))),VAR7,VAR9,5,0),COLOREEFF;
STICKLINE((((VAR7 < REF(VAR7,1)) AND (VAR9 > (1 * REF(VAR9,1)))) AND (VAR7 > 0)),0,VAR9,3,0),COLORFFFF;
生死线:0,COLORCC;
VAR:=(((CLOSE - MA(CLOSE,)) / MA(CLOSE,)) * );
VAR:=((((VAR > (1 * REF(VAR,1))) AND (VAR < (0 - ))) AND (VAR > (0 - ))) * 1.5);
VAR:=((VOL / CAPITAL) * );
VAR:=LLVBARS(LOW,);
VAR:=SUM(VOL,VAR);
VAR:=HHVBARS(HIGH,);
VAR:=SUM(VOL,VAR);
VAR:=(((CLOSE - REF(OPEN,VAR)) / REF(OPEN,VAR)) * );
VAR:=((VAR / CAPITAL) * );
VAR:=(((CLOSE - REF(OPEN,VAR)) / REF(OPEN,VAR)) * );
VAR:=((VAR / CAPITAL) * );
VAR:=MA(CLOSE,3);
VAR:=(REF(CLOSE,2) * 0.);
VAR:=(REF(CLOSE,) * 0.);
VAR:=MIN(VAR,VAR);
VAR:=MA(CLOSE,);
大底:(IF((((((CLOSE - VAR) / CLOSE) < 0.) AND (VAR < (0 - ))) AND ((SUM(VAR,5) / 5) < 1.8)),1,0) * ),COLORFFFF;
VAR:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * );
VAR:=((EMA(CLOSE,) - EMA(CLOSE,)) * );
VAR:=EMA(VAR,9);
VAR:=(2 * (VAR - VAR));
STICKLINE(((VAR < (0 - )) AND (VAR > 7)),0,(0 - ),3,0),COLORFFFF;
DRAWTEXT(((VAR < (0 - )) AND (VAR > 7)),(0 - ),'单边追涨');
DRAWTEXT(大底,8,'大底-成功率%'),COLORFFFFFF;
DRAWICON((CROSS(VAR9,VAR7) AND (VAR7 > 0)),VAR9,5);
DRAWTEXT((CROSS(VAR9,VAR7) AND (VAR7 > 0)),VAR9,' 逃顶'),COLORWHITE;
KS:=(((CLOSE - MA(CLOSE,)) / MA(CLOSE,)) * (0 - ));
RSV:=(((CLOSE - LLV(LOW,)) / (HHV(HIGH,) - LLV(LOW,))) * );
FASTK:=SMA(RSV,3,1);
D:=SMA(FASTK,3,1);
VA1:=SMA(D,5,1);
VA2:=(((CLOSE / MA(CLOSE,)) * ) < );
VA3:=(((CLOSE / MA(CLOSE,)) * ) < );
VA4:=(HIGH > (LOW * 1.));
FNZH:=(VA4 AND (COUNT(VA4,5) > 1));
LC:=((((FNZH AND (VA2 OR VA3)) AND (REF(KS,1) >= )) AND ((REF(KS,1) / KS) >= 1.)) AND ((CLOSE / REF(CLOSE,1)) >= 1.));
DRAWICON(LC,5,);
DRAWTEXT(LC,,'反弹'),COLORFF;
RSI:=REF(CLOSE,1);
VAR:=((SMA(MAX((CLOSE - RSI),0),6,1) / SMA(ABS((CLOSE - RSI)),6,1)) * );
DRAWICON(((REF(VAR,1) > ) AND CROSS(,VAR)),VAR7,5);