同花顺本性空主图指标公式股票软件源码如下: ND:=21;N:=10;STEP:=2;MAXP:=20; f:FORCAST(C,nd),color0000ff; S:f+STD(C,nd),ColorFF6AF8; X:f-STD(C,nd),ColorFF6AF8;STICKLINE(f>REF(F,1),f,s,1,0),Color3782FF; STICKLINE(fSTICKLINE(x>REF(x,1),f,x,1,0),ColorCA00DB; STICKLINE(fSTICKLINE(CSTICKLINE(C//{www.gpxiazai.com 股票软件下载网_同花顺股票指标公式} STICKLINE(C=O,H,L,1,0),COLOR0000FF;STICKLINE(C>=O,H,L,0,0),COLOR00EEFF; STICKLINE(C>=O,C,O,8,0),COLOR0000FF;STICKLINE(C>=O,C,O,7,0),COLOR0022FF;STICKLINE(C>=O,C,O,6,0),COLOR0044FF; STICKLINE(C>=O,C,O,5,0),COLOR0066FF;STICKLINE(C>=O,C,O,4,0),COLOR0088FF;STICKLINE(C>=O,C,O,3,0),COLOR00AAFF; STICKLINE(C>=O,C,O,2,0),COLOR00CCFF;STICKLINE(C>=O,C,O,1,0),COLOR00EEFF; CSAR:=SAR(N,STEP,MAXP),LINETHICK2; A:=(REF(H,1)-REF(L,1))*0.191+REF(L,1); cj:=(O<=REF(L,1) OR O=L) AND CROSS(C,A); JJ:=AMOUNT/V/100; DRAWTEXT(REF(cj,1)>0 AND HHV(H,3)>H AND Caa:STICKLINE(cj>0,A,A,30,0),colorgreen; MA(L,3); DRAWTEXT(CSAR>=H,CSAR,'。'),color00EEFF; DRAWTEXT(CSAR<=L,CSAR,'。'),colorred; |