九毛八公式指标
公式模块:
请老师将薛斯通道选股改大智慧可用,多谢!!!
VAR4:=expma(CLOSE,9);
LUP:=EXPMA(VAR4*1.14,5),LINETHICK2,COLORYELLOW;
LDN:=EXPMA(VAR4*0.86,5),LINETHICK2,COLORYELLOW;
AAX:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:=AAX*N1/100,COLORRED;
通道2:=AAX*(200-N1)/100,COLORRED;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:=(1+M/100)*DD,COLORGREEN;
通道4:=(1-M/100)*DD,COLORGREEN;
AA:cci.CCI<-100 AND L<通道4 AND L<LDN AND dmi.ADX>DMI.mdi AND DMI.ADX>40 ;
VAR4:=EMA(CLOSE,9);
LUP:=EMA(VAR4*1.14,5);
LDN:=EMA(VAR4*0.86,5);
AAX:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:=AAX*102/100;
通道2:=AAX*(200-102)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:=(1+7/100)*DD;
通道4:=(1-7/100)*DD;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);
pdi:=DMP*100/TR;
MDI:=DMM*100/TR;
ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
ADXR:=(ADX+REF(ADX,6))/2;
AA:CCI<-100 AND L<通道4 AND L<LDN AND ADX>MDI AND ADX>40 ;