N:=21;
HH:=HHV(HIGH,N);
LL:=LLV(LOW,N);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
PARTLINE((HH1 < LL1),LL,COLORYELLOW),LINETHICK2;
PARTLINE((HH1 > LL1),HH,COLORBLUE),LINETHICK2;
STICKLINE((HH1 < LL1),CLOSE,OPEN,COLORRED,0);
DRAWLINE((HH1 < LL1),H,(HH1 < LL1),L,COLORRED);
STICKLINE((HH1 > LL1),CLOSE,OPEN,COLORCYAN,0);
DRAWLINE((HH1 > LL1),H,(HH1 > LL1),L,COLORCYAN);
LC8:=REF(CLOSE,1);
WRSI8:=SMA(MAX(CLOSE-LC8,0),6,1)/SMA(ABS(CLOSE-LC8),6,1)*100;
DRAWTEXT(CROSS(WRSI8,10),H,'必减'),COLORYELLOW,VALIGN0;
DRAWTEXT(CROSS(90,WRSI8),L,'必减'),COLORGREEN,VALIGN2;
LC88:=REF(CLOSE,1);
WRSI88:=SMA(MAX(CLOSE-LC88,0),6,1)/SMA(ABS(CLOSE-LC88),6,1)*100;
DRAWTEXT(CROSS(WRSI88,20),H,'减仓'),COLORYELLOW,VALIGN0;
DRAWTEXT(CROSS(80,WRSI88),L,'减仓'),COLORGREEN,VALIGN2;
LC888:=REF(CLOSE,1);
WRSI888:=SMA(MAX(CLOSE-LC888,0),6,1)/SMA(ABS(CLOSE-LC888),6,1)*100;
DRAWTEXT(CROSS(WRSI888,5),H,'清仓'),COLORYELLOW,VALIGN0;
DRAWTEXT(CROSS(95,WRSI888),L,'清仓'),COLORGREEN,VALIGN2;
A:=MINPRICE;
MA75:=MA(CLOSE,75);
MAH:=MA(HIGH,90);
MAL:=MA(LOW,90);
MAH1:=MA(HIGH,13),COLORYELLOW;
MAL1:=MA(LOW,13),COLORYELLOW;
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
T01:=BARSLAST(CROSS(MA10,MA20))+1;
TT1:=HHVBARS(H,T01)+1;
MA120:=EMA2(CLOSE,120);
MA23:=MA(((SLOPE(C,20)*5)+C),20);
MA2:=EMA(C,13);
MA3:=EMA(C,21);
MA60:=MA(CLOSE,60),COLORGREEN,LINETHICK2;
MA144:=MA(CLOSE,144),COL
期货软件指标文华财经指标公式源码期货趋势顶底指标买卖点 来自淘豆网m.daumloan.com转载请标明出处.