软件名称:[B]文华财经公式集(源码)开放.doc[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:9.00 KB
官方主页:Home Page
更新时间:2014-07-04 00:48:55
软件简介:
文华财经公式
判断趋势
MA50:MA(CLOSE,50);
STICKLINE(CLOSE<MA50,OPEN,CLOSE,COLORCYAN,0);
DRAWLINE(CLOSE<MA50,HIGH,CLOSE<MA50,LOW,COLORCYAN);
STICKLINE(CLOSE>MA50,OPEN,CLOSE,COLORRED,0);
DRAWLINE(CLOSE>MA50,HIGH,CLOSE>MA50,LOW,COLORRED);
每日均价
A1:=IF(DAY=1,CLOSE,0);
A2:=IF(DAY=2,CLOSE,0);
A3:=IF(DAY=3,CLOSE,0);
A4:=IF(DAY=4,CLOSE,0);
A5:=IF(DAY=5,CLOSE,0);
A6:=IF(DAY=6,CLOSE,0);
A7:=IF(DAY=7,CLOSE,0);
A8:=IF(DAY=8,CLOSE,0);
A9:=IF(DAY=9,CLOSE,0);
A10:=IF(DAY=10,CLOSE,0);
A11:=IF(DAY=11,CLOSE,0);
A12:=IF(DAY=12,CLOSE,0);
A13:=IF(DAY=13,CLOSE,0);
A14:=IF(DAY=14,CLOSE,0);
A15:=IF(DAY=15,CLOSE,0);
A16:=IF(DAY=16,CLOSE,0);
A17:=IF(DAY=17,CLOSE,0);
A18:=IF(DAY=18,CLOSE,0);
A19:=IF(DAY=19,CLOSE,0);
A20:=IF(DAY=20,CLOSE,0);
A21:=IF(DAY=21,CLOSE,0);
A22:=IF(DAY=22,CLOSE,0);
A23:=IF(DAY=23,CLOSE,0);
A24:=IF(DAY=24,CLOSE,0);
A25:=IF(DAY=25,CLOSE,0);
A26:=IF(DAY=26,CLOSE,0);
A27:=IF(DAY=27,CLOSE,0);
A28:=IF(DAY=28,CLOSE,0);
A29:=IF(DAY=29,CLOSE,0);
A30:=IF(DAY=30,CLOSE,0);
A31:=IF(DAY=31,CLOSE,0);
B1:=IF(DAY=1,VOL,0);
B2:=IF(DAY=2,VOL,0);
B3:=IF(DAY=3,VOL,0);
B4:=IF(DAY=4,VOL,0);
B5:=IF(DAY=5,VOL,0);
B6:=IF(DAY=6,VOL,0);
B7:=IF(DAY=7,VOL,0);
B8:=IF(DAY=8,VOL,0);
B9:=IF(DAY=9,VOL,0);
B10:=IF(DAY=10,VOL,0);
B11:=IF(DAY=11,VOL,0);
B12:=IF(DAY=12,VOL,0);
B13:=IF(DAY=13,VOL,0);
B14:=IF(DAY=14,VOL,0);
B15:=IF(DAY=15,VOL,0);
B16:=IF(DAY=16,VOL,0);
B17:=IF(DAY=17,VOL,0);
B18:=IF(DAY=18,VOL,0);
B19:=IF(DAY=19,VOL,0);
B20:=IF(DAY=20,VOL,0);
B21:=IF(DAY=21,VOL,0);
B22:=IF(DAY=22,VOL,0);
B23:=IF(DAY=23,VOL,0);
B24:=IF(DAY=24,VOL,0);
B25:=IF(DAY=25,VOL,0);
B26:=IF(DAY=26,VOL,0);
B27:=IF(DAY=27,VOL,0);
B28:=IF(DAY=28,VOL,0);
B29:=IF(DAY=29,VOL,0);
B30:=IF(DAY=30,VOL,0);
B31:=IF(DAY=31,VOL,0);
AB1:=SUM(A1*B1,N)/SUM(B1,N);
AB2:=SUM(A2*B2,N)/SUM(B2,N);
AB3:=SUM(A3*B3,N)/SUM(B3,N);
AB4:=SUM(A4*B4,N)/SUM(B4,N);
AB5:=SUM(A5*B5,N)/SUM(B5,N);
AB6:=SUM(A6*B6,N)/SUM(B6,N);
AB7:=SUM(A7*B7,N)/SUM(B7,N);
AB8:=SUM(A8*B8,N)/SUM(B8,N);
AB9:=SUM(A9*B9,N)/SUM(B9,N);
AB10:=SUM(A10*B10,N)/SUM(B10,N);
AB11:=SUM(A11*B11,N)/SUM(B11,N);
AB12:=SUM(A12*B12,N)/SUM(B12,N);
AB13:=SUM(A13*B13,N)/SUM(B13,N);
AB14:=SUM(A14*B14,N)/SUM(B14,N);
AB15:=SUM(A15*B15,N)/SUM(B15,N);
AB16:=SUM(A16*B16,N)/SUM(B16,N);
AB17:=SUM(A17*B17,N)/SUM(B17,N);
AB18:=SUM(A18*B18,N)/SUM(B18,N);
AB19:=SUM(A19*B19,N)/SUM(B19,N);
AB20:=SUM(A20*B20,N)/SUM(B20,N);
AB21:=SUM(A21*B21,N)/SUM(B21,N);
AB22:=SUM(A22*B22,N)/SUM(B22,N);
AB23:=SUM(A23*B23,N)/SUM(B23,N);
AB24:=SUM(A24*B24,N)/SUM(B24,N);
AB25:=SUM(A25*B25,N)/SUM(B25,N);
AB26:=SUM(A26*B26,N)/SUM(B26,N);
AB27:=SUM(A27*B27,N)/SUM(B27,N);
AB28:=SUM(A28*B28,N)/SUM(B28,N);
AB29:=SUM(A29*B29,N)/SUM(B29,N);
AB30:=SUM(A30*B30,N)/SUM(B30,N);
AB31:=SUM(A31*B31,N)/SUM(B31,N);
PARTLINE(DAY=1,AB1,COLORYELLOW);
PARTLINE(DAY=2,AB2,COLORYELLOW);
PARTLINE(DAY=3,AB3,COLORYELLOW);
PARTLINE(DAY=4,AB4,COLORYELLOW);
PARTLINE(DAY=5,AB5,COLORYELLOW);
PARTLINE(DAY=6,AB6,COLORYELLOW);
PARTLINE(DAY=7,AB7,COLORYELLOW);
PARTLINE(DAY=8,AB8,COLORYELLOW);
PARTLINE(DAY=9,AB9,COLORYELLOW);
PARTLINE(DAY=10,AB10,COLORYELLOW);
PARTLINE(DAY=11,AB11,COLORYELLOW);
PARTLINE(DAY=12,AB12,COLORYELLOW);
PARTLINE(DAY=13,AB13,COLORYELLOW);
PARTLINE(DAY=14,AB14,COLORYELLOW);
PARTLINE(DAY=15,AB15,COLORYELLOW);
PARTLINE(DAY=16,AB16,COLORYELLOW);
PARTLINE(DAY=17,AB17,COLORYELLOW);
PARTLINE(DAY=18,AB18,COLORYELLOW);
PARTLINE(DAY=19,AB19,COLORYELLOW);
PARTLINE(DAY=20,AB20,COLORYELLOW);
PARTLINE(DAY=21,AB21,COLORYELLOW);
PARTLINE(DAY=22,AB22,COLORYELLOW);
PARTLINE(DAY=23,AB23,COLORYELLOW);
PARTLINE(DAY=24,AB24,COLORYELLOW);
PARTLINE(DAY=25,AB25,COLORYELLOW);
PARTLINE(DAY=26,AB26,COLORYELLOW);
PARTLINE(DAY=27,AB27,COLORYELLOW);
PARTLINE(DAY=28,AB28,COLORYELLOW);
PARTLINE(DAY=29,AB29,COLORYELLOW);
PARTLINE(DAY=30,AB30,COLORYELLOW);
PARTLINE(DAY=31,AB31,COLORYELLOW);
N=31
买卖频谱
X:=BARSLAST(HIGH=HHV(HIGH,N));
LL:=MIN(REF(LOW,X+3),MIN(REF(LOW,X+2),MIN(REF(LOW,X),REF(LOW,X+1))));
Y:=BARSLAST(LOW=LLV(LOW,N));
HH:=MAX(REF(HIGH,Y+3),MAX(REF(HIGH,Y+2),MAX(REF(HIGH,Y),REF(HIGH,Y+1))));
A:=BARSLAST(CLOSE>=HH);
B:=BARSLAST(CLOSE<=LL);
AB:IF(A>B,HH,LL);
TM:=CLOSE>=AB;
TP:=CLOSE<AB;
DRAWLINE(TP,HIGH,TP,OPEN,COLORCYAN);
DRAWLINE(TP,LOW,TP,CLOSE,COLORCYAN);
DRAWLINE(TM,HIGH,TM,CLOSE,COLORRED);
DRAWLINE(TM,LOW,TM,OPEN,COLORRED);
STICKLINE(TP,OPEN,CLOSE,COLORCYAN,0);
STICKLINE(TM,OPEN,CLOSE,COLORRED,1);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
N=10
龙出沧海公式!!!
VAR2:=(3*CLOSE+LOW+OPEN+HIGH)/6;
DTX:(20*VAR2+19*REF(VAR2,1)+18*REF(VAR2,2)+17*REF(VAR2,3)+16*REF(VAR2,4)+15*REF(VAR2,5)+14*REF(VAR2,6)+13*REF(VAR2,7)+12*REF(VAR2,8)+11*REF(VAR2,9)+10*REF(VAR2,10)+9*REF(VAR2,11)+8*REF(VAR2,12)+7*REF(VAR2,13)+6*REF(VAR2,14)+5*REF(VAR2,15)+4*REF(VAR2,16)+3*REF(VAR2,17)+2*REF(VAR2,18)+REF(VAR2,20))/210,COLORWHITE;
KTX: MA(DTX,10), COLORYELLOW;
STICKLINE(DTX>KTX,DTX,KTX, COLORRED,10);
STICKLINE(DTX<KTX,DTX,KTX, COLORGREEN,10) ;
STICKLINE(CLOSE>=OPEN,OPEN,CLOSE, COLORRED,1);
DRAWLINE(CLOSE>=OPEN,HIGH, CLOSE>=OPEN,CLOSE, COLORRED);
DRAWLINE(CLOSE>=OPEN,LOW, CLOSE>=OPEN,OPEN, COLORRED);
STICKLINE(CLOSE<OPEN,OPEN,CLOSE, COLORGREEN,0);
DRAWLINE(CLOSE<OPEN,HIGH, CLOSE<OPEN,LOW, COLORGREEN);
MU:MA(CLOSE,60),COLORBLUE;
MH:MA(CLOSE,360),COLORMAGENTA;
龙出沧海
VAR2:=(3*CLOSE+LOW+OPEN+HIGH)/6;
DTX:(20*VAR2+19*REF(VAR2,1)+18*REF(VAR2,2)+17*REF(VAR2,3)+16*REF(VAR2,4)+15*REF(VAR2,5)+14*REF(VAR2,6)+13*REF(VAR2,7)+12*REF(VAR2,8)+11*REF(VAR2,9)+10*REF(VAR2,10)+9*REF(VAR2,11)+8*REF(VAR2,12)+7*REF(VAR2,13)+6*REF(VAR2,14)+5*REF(VAR2,15)+4*REF(VAR2,16)+3*REF(VAR2,17)+2*REF(VAR2,18)+REF(VAR2,20))/210,COLORWHITE;
KTX: MA(DTX,10), COLORYELLOW;
STICKLINE(DTX>KTX,DTX,KTX, COLORLIGHTRED,10);
STICKLINE(DTX<KTX,DTX,KTX, COLORBLUE,10) ;
STICKLINE(CLOSE>=OPEN,OPEN,CLOSE, COLORRED,1);
DRAWLINE(CLOSE>=OPEN,HIGH, CLOSE>=OPEN,CLOSE, COLORRED);
DRAWLINE(CLOSE>=OPEN,LOW, CLOSE>=OPEN,OPEN, COLORRED);
STICKLINE(CLOSE<OPEN,OPEN,CLOSE, COLORGREEN,0);
DRAWLINE(CLOSE<OPEN,HIGH, CLOSE<OPEN,LOW, COLORGREEN);
两个指标
Y:=(HIGH+LOW)/2;
AO:MA(Y ,5 )-MA(Y ,34 ),COLORWHITE;
AO1:=REF(AO,1);
AC:AO-MA( AO,5),COLORYELLOW;
A:0.99*(AO+AC)/2,COLORRED;
AC1:=REF(AC,1);
STICKLINE(AO>0&&AC>0,0,AO+AC,COLORRED,0);
STICKLINE(AO<0&&AC>0,0,AO,COLORWHITE,1);
STICKLINE(AO<0&&AC>0,0,AO+AC,COLORWHITE,0);
STICKLINE(AO>0&&AC<0,0,AO,COLORRED,1);
STICKLINE(AO
[url=http://www.70822.com/soft/sort013/sort049/down-73264.html]文华财经公式集(源码)开放.doc[/url]