TR := SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N,1); HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SMA(IF(HD>0 AND HD>LD,HD,0),N,1);
DMM:= SMA(IF(LD>0 AND LD>HD,LD,0),N,1);
PDI:=DMP*100/TR;
MDI:=DMM*100/TR;
BOLL:=MA(CLOSE,M);
UB:=BOLL+2*STD(CLOSE,M);
LB:=BOLL-2*STD(CLOSE,M);
短线:ATAN((EMA(C,5)/REF(EMA(C,5),1)-1)*100)*180/3.1416,colorred,LINETHICK3;
中线:MA((ABS(pDI)-ABS(mDI))/(ABS(pDI)+ABS(mDI))*100,MM),coloryellow,LINETHICK4;
一号线:=ATAN((MA(BOLL,10)/REF(MA(BOLL,10),1)-1)*100)*180/3.1416;
三号线:=ATAN((MA(BOLL,30)/REF(MA(BOLL,30),1)-1)*100)*180/3.1416;
六号线:=ATAN((MA(BOLL,60)/REF(MA(BOLL,60),1)-1)*100)*180/3.1416;
长线:(一号线+三号线+六号线)/3,colorlimagenta,LINETHICK5;
0,colorwhite,Linethick2;//www.fxjgsw.com
38,colorred,Linethick2;
|
