飞狐60分钟法则主图指标公式股票软件源码如下: 均价:=(2*C+(H-L)/2+L+o)/4; {www.gpxiazai.com 股票软件下载网_飞狐股票指标公式} I0:=MA(实价,52); I1:=(55*I0+34*REF(I0,1)+21*REF(I0,2)+13*REF(I0,3)+8*REF(I0,4)+5*REF(I0,5) +3*REF(I0,6)+2*REF(I0,7)+REF(I0,8)+REF(I0,9))/143; I2:=REF(I1,1); 牛熊线:0.5*(I1+I2),LINETHICK,COLORRED; FILLRGN(i1 STICKLINE(OPEN>=CLOSE,HIGH,LOW,0.2,0),colorFFCC00; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,8,0),colorFF9F68; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,7,0),colorFF9900; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,6,0),colorFFAA11; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,5,0),colorFFBB11; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,4,0),colorFFCC22; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),colorFFDD22; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2,0),colorFFEE33; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1,0),colorFFFF33; STICKLINE(CLOSE>OPEN,HIGH,LOW,0.2,0),colorFF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0),colorCC; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0),color3300CC; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0),color33CC; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0),color6633CC; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0),color3333FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),color6633FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0),color3366FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0),color6666FF; |