飞狐副图指标 input: N(3,1,100); 股价趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)- 2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); a1:=ma(hhv(股价趋势,2),2); a2:ema(ma(llv(股价趋势,2),2),2)LINETHICK1,COLORff3399; jc:(股价趋势+a1-a2),LINETHICK2,COLORWHITE; PARTLINE(jc>ref(jc,1),jc),LINETHICK2,COLORred; PARTLINE(jc>ref(jc,1) and jc<40,jc) ,LINETHICK2,COLOR00ffff; 32.9,LINEDOT,LINETHICK1; 80.1,LINEDOT,LINETHICK1; jc0:=EMA(jC,N); g1:=REF(jc0,1); g2:=(jc0-g1)/g1*100; g3:=REF(jc0,BARSLAST(CROSS(g2,0))+1); g4:=REF(jc0,BARSLAST(CROSS(0,g2))+1); DRAWLINE(CROSS(g2,0),g1,CROSS(0,g2),g1,0),LINEDOT,LINETHICK1,COLORRED; DRAWLINE(CROSS(0,g2),g1,CROSS(g2,0),g1,0),LINEDOT,LINETHICK1,COLORGREEN; DRAWLINE(CROSS(0,g2) OR CROSS(g2,0),g1,ISLASTBAR,g1,0),LINEDOT,LINETHICK1,COLORdd99ff;{点击看本软件截图: 58股票 公式网 http://www. 58gu. com 整理} |