LC:=REF(CLOSE,1);
RSI5:=((SMA(((CLOSE - LC)),2,1) / SMA(ABS((CLOSE - LC)),2,1))* 100 );
R:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),2);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),2);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),2);
PDI:=((DMP * 100) / TR);
MDI:=((DMM * 100) / TR);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),6);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,6)) ) + RSI5);
WR10:=100;
NEWVOL:=(RSI5 - WR10);
阶段底部:=(AV + NEWVOL);
STICKLINE((阶段底部 >= 0),0,阶段底部,0.8,1),LINETHICK2,COLORRED;
STICKLINE((阶段底部 < 0),0,阶段底部,0.8,1),LINETHICK6,COLORGREEN;
趋势线:阶段底部,COLORWHITE;
STICKLINE((趋势线 >150),250,趋势线,0.8,0),LINETHICK6,COLORGREEN;
150,COLORRED,POINTDOT,LINETHICK2;
IF(趋势线>=REF(趋势线,1),趋势线,DRAWNULL),COLOR0000FF,LINETHICK2;
{【红股绿币】(准确率达90%)}; {【红股绿币】(准确率达90%)}
LC:=REF(CLOSE,1);
RSI5:=((SMA(((CLOSE - LC)),2,1) / SMA(ABS((CLOSE - LC)),2,1))* 100 );
R:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),2);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),2);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),2);
PDI:=((DMP * 100) / TR);
MDI:=((DMM * 100) / TR);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),6);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,6)) ) + RSI5);
WR10:=100;
NEWVOL:=(RSI5 - WR10);
阶段底部:=(AV + NEWVOL);
STICKLINE((阶段底部 >= 0),0,阶段底部,0.8,1),LINETHICK2,COLORRED;
STICKLINE((阶段底部 < 0),0,阶段底部,0.8,1),LINETHICK6,COLORGREEN;
趋势线:阶段底部,COLORWHITE;
STICKLINE((趋势线 >150),250,趋势线,0.8,0),LINETHICK6,COLORGREEN;
150,COLORRED,POINTDOT,LINETHICK2;
IF(趋势线>=REF(趋势线,1),趋势线,DRAWNULL),COLOR0000FF,LINETHICK2;
{【红股绿币】(准确率达90%)}; |