在文華1分鐘K線圖上展示日均價線2010-12-08 15:58:12 文華代碼: TV:=SUM(V,BARSLAST(REF(DATE,1)<>DATE)+1); TT:=SUM((C+O+H+L)*0.25*V, BARSLAST(REF(DATE,1)<>DATE)+1); AP:=TT/TV; PARTLINE(DATE=REF(DATE,1),AP,COLORYELLOW); MTV:=SUM(V,BARSLAST(REF(MONTH,1)<>MONTH)+1); MTT:=SUM((C+O+H+L)*0.25*V, BARSLAST(REF(MONTH,1)<>MONTH)+1); MAP:=MTT/MTV; PARTLINE(MONTH=REF(MONTH,1),MAP,COLORwhite); |
|