九毛八公式指标
源码: AA:=MA((2*CLOSE+HIGH+LOW)/4,5); 通道1:=AA*102/100; 通道2:=AA*(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; 股价:=(H+L+C)/3; 股价运动:=股价,LINETHICK2,COLORBLUE; 趋势:=XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(股价,3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),LINETHICK1,COLORFFFFFF; 风险区1:趋势*1.1,COLOR0000FF; 风险区2:趋势*1.125,COLOR0000FF; 风险区3:趋势*1.15,COLOR00FFFF,POINTDOT; 良机区1:趋势*0.9,COLORLIBLUE; 良机区2:趋势*0.875,COLORLIBLUE; 良机区3:趋势*0.85,COLORFFFF00,POINTDOT; 上一:IF(风险区1>REF(风险区1,1), 风险区1,DRAWNULL),COLORYELLOW; 上二:IF(风险区2>REF(风险区2,1), 风险区2,DRAWNULL),COLORYELLOW; 上三:IF(风险区3>REF(风险区3,1), 风险区3,DRAWNULL),COLORYELLOW; 下一:IF(良机区1>REF(良机区1,1), 良机区1,DRAWNULL),COLORYELLOW; 下二:IF(良机区2>REF(良机区2,1), 良机区2,DRAWNULL),COLORYELLOW; 下三:IF(良机区3>REF(良机区3,1), 良机区3,DRAWNULL),COLORYELLOW; DRAWBAND(上三,RGB(0,0,255),上二,DRAWNULL); DRAWBAND(上二,RGB(255,255,0),上一,DRAWNULL); DRAWBAND(下一,RGB(80,00,00),下二,DRAWNULL); DRAWBAND(下二,RGB(255,255,255),下三,DRAWNULL); DRAWBAND(上一,RGB(128,128,64), 下一,DRAWNULL); {IF(趋势>REF(趋势,1), 趋势,DRAWNULL),COLORYELLOW,LINETHICK2} T:=CLOSE/REF(CLOSE,1)*1000-1000; QS2:=XMA(XMA(XMA(T,2),2),2); QS4:=XMA(XMA(XMA(T,4),4),4); QS6:=XMA(XMA(XMA(T,6),6),6); {DRAWICON(CROSS(QS2,QS4),L,1); DRAWICON(QS2
公式模块:
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:=AA*102/100; 通道2:=AA*(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; 股价:=(H+L+C)/3; 趋势:=XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(股价,3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),LINETHICK1,COLORFFFFFF; 良机区1:=趋势*0.9; 良机区2:=趋势*0.875; 良机区3:=趋势*0.85T; 下一:=良机区1>REF(良机区1,1); 下二:=良机区2>REF(良机区2,1); 下三:=良机区3>REF(良机区3,1); 良机:=((C-趋势)/趋势*100<-10 AND C<通道4) OR ((O-趋势)/趋势*100<-10 AND O<通道4 ) OR((L-趋势)/趋势*100<-10 AND L<通道4); QW1:=趋势>REF(趋势,1); 条件:(下一 OR 下二 OR 下三) AND 良机 AND QW1 AND FILTER(良机,3);
-10>