乘风V神(通达信)

波段泰斗看盈亏(通达信)

换手:IF(CAPITAL>0,V/CAPITAL*100,V),LINETHICK0;

HS:=换手;

HLP:=SMA(WINNER(C)*100,3,1),COLOR2588FF,LINETHICK0;

NN:=250;

HH:=HHV(V,NN);

LL:=LLV(V,NN);

最高:=HH;

最低:=LL;

RCC:=最高*0.9-(最高-最低)*0.5;

RHL:=RCC;

HLMAX:=MAX(最高,最低);

HLMIN:=MIN(最高,最低);

HLMN1:=(HLMAX+HLMIN)/2;

HLMN2:=HLMAX-HLMIN;

HLMN3:=(100-0)/2*1.3;

HLMN4:=(100-0)/1*1.3;

限制显示k线面积:=1;

DRAWBAND(((100-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,RGB(55,55,55),((80-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,DRAWNULL);

DRAWBAND(((HLP-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,RGB(150,100,150),((80-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,DRAWNULL);

DRAWBAND(((25-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,RGB(55,55,55),((0-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,DRAWNULL);

((100-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR333333;

((80-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR333333;

((50-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR888888;

((25-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR333333;

{最佳买入时机}

LC:=REF(CLOSE,1);

rsi5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(Abs((CLOSE - LC)),5,1)) * 100);

TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);

HD:=(HIGH - REF(HIGH,1));

LD:=(REF(LOW,1) - LOW);

DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);

DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);

pdi:=((DMP * 100) / TR1);

mdi:=((DMM * 100) / TR1);

ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);

AV:=(RSI5 + ADX);

DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);

wr10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));

NEWvol:=(RSI5 - WR10);

最佳买入:=(AV + NEWVOL);

stICKLINE(crOSS(最佳买入,0),((85-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((100- HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,2.8,0),COLORRED;

主力控盘很经典(通达信)