均价:=(2*C+(C+H+L+O)/4+O)/4;
R:=(2*L+3*均价)/5;
操盘线:(5*r+4*REF(r,1)+3*REF(r,2)+2*REF(r,3)+1*REF(r,4))/(5+4+3+2+1),COLORWHITE;
DKX:(20*r+19*REF(r,1)+18*REF(r,2)+17*REF(r,3)+16*REF(r,4)+15*REF(r,5)
+14*REF(r,6)+13*REF(r,7)+12*REF(r,8)+11*REF(r,9)+10*REF(r,10)+9*REF(r,11)
+8*REF(r,12)+7*REF(r,13)+6*REF(r,14)+5*REF(r,15)+4*REF(r,16)+3*REF(r,17)
+2*REF(r,18)+REF(r,20))/210,COLORRED;
{ _通达信股票指标公式}
三分线:(3*操盘线+2*DKX)/5,COLORYELLOW;
LXX:(3.618*DKX+1.382*MA(DKX,60))/5,COLORAAAA00,LINETHICK2;
IF(R>LXX,LXX,DRAWNULL),COLORFFC0FF,LINETHICK2;