导航:首页 > 股市基金 > 文华指标公式源码金蛇

文华指标公式源码金蛇

发布时间:2021-03-28 23:02:09

『壹』 求文华财经指标改成通达信指标

『贰』 文华财经指标公式

每款股票(期货)软件都有K线的,相信你用的文华财经也有,不需要你自己做什么动作

『叁』 通达信指标公式转化文华财经的公式

文华财经的编写,不支持汉字的,把高位、低位...那些汉字,改成字母就可以了

『肆』 请高手帮忙破解文华公式源码,一经验证加到200分

1.
HH1:=IFELSE(H<REF(H,2)&&REF(H,1)<REF(H,2),REF(H,2),0); LL1:=IFELSE(L>REF(L,2)&&REF(L,1)>REF(L,2),REF(L,2),0); HH2:=VALUEWHEN(HH1>0,HH1); LL2:=VALUEWHEN(LL1>0,LL1); K1:=IFELSE(CLOSE>HH2,-3,IFELSE(CLOSE<LL2,1,0)); K2:=VALUEWHEN(K1<>0,K1); G:=IFELSE(K2=1,HH2,LL2); G1:=VALUEWHEN(ISLASTBAR,G); DRAWNUMBER(L>0,G1,G1,0,COLORCYAN); W1:=K2; W2:=OPEN-CLOSE; HT:=IFELSE(OPEN>CLOSE,OPEN,CLOSE); LT:=IFELSE(OPEN<CLOSE,OPEN,CLOSE); DRAWLINE(W1=1,HIGH,W1=1,HT,COLORCYAN); DRAWLINE(W1=1,LOW,W1=1,LT,COLORCYAN); DRAWLINE(W1=-3,HIGH,W1=-3,HT,COLORRED); DRAWLINE(W1=-3,LOW,W1=-3,LT,COLORRED); STICKLINE(W1>0,OPEN,CLOSE,COLORCYAN,1); STICKLINE(W1<=0,OPEN,CLOSE,COLORRED,1); STICKLINE(W2>0&&W1<=0,OPEN,CLOSE,COLORRED,0); STICKLINE(W2>0&&W1>0,OPEN,CLOSE,COLORCYAN,0); DRAWLINE(W1=1&&REF(W1,1)=1,G,W1=1&&REF(W1,1)=1,REF(G,1),COLORGREEN); DRAWLINE(W1=-3&&REF(W1,1)=-3,G,W1=-3&&REF(W1,1)=-3,REF(G,1),COLORYELLOW); DRAWSL(K2=1,G,0,1,0,COLORGREEN); DRAWSL(K2=-3,G,0,1,0,COLORYELLOW);
HH:=IFELSE(H>REF(H,1)&&H>REF(H,2)&&H>REF(H,3)&&H>REF(H,4)&&H>REF(H,5)&&L<REF(L,1)&&L<REF(L,2)
&&L<REF(L,3)&&L<REF(L,4)&&L<REF (L,5),H-(H-L)*0.333,H); LL:=IFELSE(H>REF(H,1)&&H>REF(H,2)&&H>REF(H,3)&&H>REF(H,4)&&H>REF(H,5)&&L<REF(L,1)&&L<REF(L,2)
&&L<REF(L,3)&&L<REF(L,4)&&L<REF (L,5),(H-L)*0.333+L,L); H1:=IFELSE(H>=REF(H,1)&&H>=REF(H,2)&&H>=REF(H,3)&&H>=REF(H,4)&&H>=REF(H,5)&& H>REFX(H,1)
&&H>REFX(H,2)&&H>REFX(H,3)&&H>REFX(H,4) &&H>REFX(H,5),HH,0); L1:=IFELSE(L<=REF(L,1)&&L<=REF(L,2)&&L<=REF(L,3)&&L<=REF(L,4)&&L<=REF(L,5)&& L<REFX(L,1)
&&L<REFX(L,2)&&L<REFX(L,3)&&L<REFX(L,4) &&L<REFX(L,5),LL,0); H2:=BARSLAST(H1); L2:=BARSLAST(L1); H3:=REFX(REF(H1,H2),2); L3:=REFX(REF(L1,L2),2); H4:=ZIGZAG(H3,0,0); L4:=ZIGZAG(L3,0,0); H5:=VALUEWHEN(H4<REF(H4,1)&&REF(H4,1)>REF(H4,2),HH); L5:=VALUEWHEN(L4>REF(L4,1)&&REF(L4,1)<REF(L4,2),LL); POLYLINE(H5>0,H5,COLORWHITE); POLYLINE(L5>0,L5,COLORWHITE); DRAWNUMBER(H5<>REF(H5,1),H5,H5-L5,0,COLORMAGENTA); DRAWNUMBER(L5<>REF(L5,1),L5,H5-L5,0,COLORMAGENTA); D:=VALUEWHEN(ISLASTBAR,H5); E:=VALUEWHEN(ISLASTBAR,L5); DRAWNUMBER(LOW>0,D,D,0,COLORWHITE); DRAWNUMBER(LOW>0,E,E,0,COLORWHITE);
=======================================================================================
2.
N:0 50 2
N1:0 5 2
Q:0 1000 0
Q1:0 9000 0
HH:=HHV(HIGH,N);
LH:=LLV(LOW,N);
H1:=IFELSE(HH<REF(HH,1)&&LH<REF(LH,1)&&REF(OPEN,1) >CLOSE&&OPEN>CLOSE&&(HHV(OPEN,Q)-CLOSE)>Q1,REF(HH,N1),0);
L1:=IFELSE(LH>REF(LH,1)&&HH>REF(HH,1)&&REF(OPEN,1) <CLOSE&&OPEN<CLOSE&&(CLOSE-LLV(OPEN,Q))>Q1,REF(LH,N1),0);
H2:=VALUEWHEN(H1>0,H1);
L2:=VALUEWHEN(L1>0,L1);
K1:=IFELSE(CLOSE>H2,-3,IFELSE(CLOSE<L2,1,0));
K2:=VALUEWHEN(K1<>0,K1);
G:=IFELSE(K2=1,H2,L2);
G1:=VALUEWHEN(ISLASTBAR,G);
DRAWNUMBER(LH>0,G1,G1,0,COLORCYAN);
TMP:=K2;W1:=K2;
W2:=OPEN-CLOSE;
HT:=IFELSE(OPEN>CLOSE,OPEN,CLOSE);
LT:=IFELSE(OPEN<CLOSE,OPEN,CLOSE);
DRAWLINE(W1=1,HIGH,W1=1,HT,COLORCYAN);
DRAWLINE(W1=1,LOW,W1=1,LT,COLORCYAN);
DRAWLINE(W1=-3,HIGH,W1=-3,HT,COLORRED);
DRAWLINE(W1=-3,LOW,W1=-3,LT,COLORRED);
STICKLINE(W1>0,OPEN,CLOSE,COLORCYAN,1);
STICKLINE(W1<=0,OPEN,CLOSE,COLORRED,1);
STICKLINE(W2>0&&W1<=0,OPEN,CLOSE,COLORRED,0);
STICKLINE(W2>0&&W1>0,OPEN,CLOSE,COLORCYAN,0);
DRAWLINE(TMP=1&&REF(TMP,1)=1,G,TMP=1&&REF(TMP,1)=1,REF (G,1),COLORCYAN);DRAWLINE(TMP=-3&&REF(TMP,1)=-3,G,TMP=-3&&REF (TMP,1)=-3,REF(G,1),COLORRED);DRAWSL(K2=1,G,0,1,0,COLORCYAN);DRAWSL (K2=-3,G,0,1,0,COLORRED);
DRAWTEXT(CROSS(TMP,0),HH,'卖↓');
DRAWTEXT(CROSS(0,TMP),LH,'买↑');
MA55:=MA(CLOSE,55);
DRAWTEXT(CROSS(TMP,0)&&CLOSE<=MA55,HH,'卖↓');
DRAWTEXT(CROSS(0,TMP)&&CLOSE>=MA55,LH,'买↑');
=======================================================================================
3.
VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,5);
ZHIB: EMA(EMA(VAR3,5),5)*3, COLORSTICK;
VAR8:=IFELSE(VAR6<=-20,10,0);
VAR9:=HHV(VAR8,10);
STICKLINE(VAR8=10,20,10,COLORRED,0);
VARA:=IFELSE(VAR9 && CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
K:EMA(VAR7,5)*2,COLORGREEN;
D:EMA(K,5), COLORWHITE;
J:K*3-D*2, COLORYELLOW;
VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) && J>10;
DRAWTEXT(VARA=20,15,'底部');
STICKLINE((VARA=20),0,10,COLORWHITE,0);
VARC:=(ZIGZAG(CLOSE,5,1)>REF(ZIGZAG(CLOSE,5,1),1)) && (REF(ZIGZAG(CLOSE,5,1),1)<=REF(ZIGZAG(CLOSE,5,1),2)) && (REF(ZIGZAG
(CLOSE,5,1),2)<=REF(ZIGZAG(CLOSE,5,1),3));
VARD:=(ZIGZAG(CLOSE,5,1)<REF(ZIGZAG(CLOSE,5,1),1)) && (REF(ZIGZAG(CLOSE,5,1),1)>=REF(ZIGZAG(CLOSE,5,1),2)) && (REF(ZIGZAG
(CLOSE,5,1),2)>=REF(ZIGZAG(CLOSE,5,1),3));
STICKLINE((VARC=1),(-14),0,COLORMAGENTA,0);
DRAWTEXT((VARC=1),(-14),'买');
STICKLINE((VARD=1),14,0,COLORGREEN,0);
DRAWTEXT((VARD=1),18,'卖');
VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR11:=VARF<REF(VAR10,1) && VOL>REF(VOL,1) && CLOSE>REF(CLOSE,1);
VAR12:=(HIGH+LOW+CLOSE)/3;
VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));
VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));
VAR15:=IFELSE(VAR13>=150 && VAR13<200 && VAR14>=150 && VAR14<200,10,0);
VAR16:=IFELSE(VAR13<=-150 && VAR13>-200 && VAR14<=-150 && VAR14>-200,-10,VAR15);
VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR18:=100-ABS(VAR17);
VAR19:=IFELSE(VAR18<90,VAR18,100);
VAR1A:=IFELSE(VARE>0,VARE,0);
VAR1B:=IFELSE(VAR14>=200 && VAR13>=150,15,IFELSE(VAR14<=-200 && VAR13<=-150,-15,VAR16))+60;
VAR1C:=VAR1A>48 && VAR1B>60 && VAR19<100;

这个应该是飞狐的, "&&"通达信里应该是用and

『伍』 求高手破解文华公式

R系统 模型源码
[N,1.000000,20.000000,5.000000]
TR:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
R:=MA(TR,10);
Z:=REF(HHV(HIGH,N),1);
D:=REF(LLV(LOW,N),1);
Z-CLOSE>=2*R,SPK;
CLOSE-D>=2*R,BPK;

《伊凡多空》模型 源码:
[N,1.000000,100.000000,4.000000]
[STEP,0.010000,0.100000,0.020000]
[MVALUE,0.010000,1.000000,0.200000]
SARLINE:=SAR(N,STEP,MVALUE),CIRCLEDOT;
WIN:=PUBU(CLOSE,0),COLORWHITE;
LOSE:=PUBU(CLOSE,2),COLORLIGHTRED;
DRAWTEXT( CROSS(WIN,LOSE),WIN,'多');
DRAWTEXT( CROSS(LOSE,WIN),WIN,'空');
STICKLINE(LOSE<WIN,LOSE,WIN,COLORMAGENTA,0);
STICKLINE(LOSE>WIN,LOSE,WIN,COLORBLUE,0); 《郑糖领航》模型源码:
O:=OPEN;
H:=HIGH;
L:=LOW;
C:=CLOSE;
HH:=IF(H>REF(H,1)&&H>REF(H,2)&&H>REF(H,3)&&H>REF(H,4)&&H>REF(H,5)&&L<REF(L,1)&&L<REF(L,2) &&L<REF(L,3)&&L<REF(L,4)&&L<REF(L,5),H-(H-L)*0.333,H);
LL:=IF(H>REF(H,1)&&H>REF(H,2)&&H>REF(H,3)&&H>REF(H,4)&&H>REF(H,5)&&L<REF(L,1)&&L<REF(L,2) &&L<REF(L,3)&&L<REF(L,4)&&L<REF(L,5),(H-L)*0.333+L,L);
H1:=VALUEWHEN(H>REF(H,1)&&H>REF(H,2)&&H>REF(H,3)&&H>REF(H,4)&&H>REF(H,5),HH);
H2:=VALUEWHEN(H>REF(H,1)&&H>REF(H,2)&&H>REF(H,3)&&H>REF(H,4)&&H>REF(H,5),LL);
L1:=VALUEWHEN(L<REF(L,1)&&L<REF(L,2)&&L<REF(L,3)&&L<REF(L,4)&&L<REF(L,5),LL);
L2:=VALUEWHEN(L<REF(L,1)&&L<REF(L,2)&&L<REF(L,3)&&L<REF(L,4)&&L<REF(L,5),HH);
BH:=BARSLAST(H>REF(H,1)&&H>REF(H,2)&&H>REF(H,3)&&H>REF(H,4)&&H>REF(H,5));
BL:=BARSLAST(L<REF(L,1)&&L<REF(L,2)&&L<REF(L,3)&&L<REF(L,4)&&L<REF(L,5));
B:=IF(BL<BH&&C>L2||BH<BL&&C>REF(H1,1)||C>REF(HHV(H,5),1),1,IF(BH<BL&&C<H2||BL<BH&&C<REF(L1,1)||C<REF(LLV(L,5),1),-3,0));
B1:=VALUEWHEN(B<>0,B);
G:=IF(BL<BH&&B1=1,REF(L1,1),IF(BH<BL&&B1=1,REF(H2,1),IF(BH<BL&&B1=-3,REF(H1,1),IF(BL<BH&&B1=-3,REF(L2,1),REF(L2,1)))));
G1:=VALUEWHEN(ISLASTBAR,G);
DRAWNUMBER(L>0,G1,G1,0,COLORMAGENTA);
W1:=IF(C>=G,1,-3);
W1=1 && DATE<20080501,BPK;
W1=-3,SPK;

三分钟专用 模型源码:
A:=MA(HIGH-OPEN,4);
CLOSE>OPEN+A*1.8&&TIME>=0800,BK;
CLOSE>OPEN+A*1.8||TIME=1457,BP;
CLOSE<OPEN-A*1.8&&TIME>=0800,SK;
CLOSE<OPEN-A*1.8||TIME=1457,SP;
财富铜 模型源码:
[N1,1.000000,50.000000,18.000000]
UP:=REF(HHV(HIGH,N1),1);
DOWN:=REF(LLV(LOW,N1),1);
Y:=UP-DOWN;
A:=UP*0.001/2;
AUP:=UP+A;
ADOWN:=DOWN-A;
UP1:=IF(Y/UP<0.0045,AUP,UP);
DOWN1:=IF(Y/UP<0.0045,ADOWN,DOWN);
Z:=REF(HHV(HIGH,1),1);
T:=REF(LLV(LOW,1),1);
HIGH>UP1&&TIME>0959&&TIME<1424&&Z<>T,BK;
DOWN1>LOW&&TIME>0959&&TIME<1424&&Z<>T,SK;
HIGH>UP1||TIME>1456||Z=T,BP;
DOWN1>LOW||TIME>1456||Z=T,SP;

《新办 》模型源码:
H:=HIGH;
L:=LOW;
HH1:=IF(H<REF(H,2)&&REF(H,1)<REF(H,2),REF(H,2),0);
LL1:=IF(L>REF(L,2)&&REF(L,1)>REF(L,2),REF(L,2),0);
HH2:=VALUEWHEN(HH1>0,HH1);
LL2:=VALUEWHEN(LL1>0,LL1);
K1:=IF(CLOSE>HH2,-3,IF(CLOSE<LL2,1,0));
K2:=VALUEWHEN(K1<>0,K1);
G:=IF(K2=1,HH2,LL2);
G1:=VALUEWHEN(ISLASTBAR,G);
W1:=K2;
W1>0,SPK;
W1<=0,BPK;

《波段台阶》 指标 源码: 顶的人越多,发的模型越好
[N,0.000000,100000.000000,225.000000]
H:=HIGH;
L:=LOW;
H1:=VALUEWHEN(H>=REF(H,1)&&H>REF(H,2)&&H>REF(H,3)&&H>REF(H,4)&&H>REF(H,5)&&H>=REFX(H,1)&&H>REFX(H,2)&&H>REFX(H,3)&&H>REFX(H,4)&&H>REFX(H,5),H);
L1:=VALUEWHEN(L<=REF(L,1)&&L<REF(L,2)&&L<REF(L,3)&&L<REF(L,4)&&L<REF(L,5)&&L<=REFX(L,1)&&L<REFX(L,2)&&L<REFX(L,3)&&L<REFX(L,4)&&L<REFX(L,5),L);
H2:=BARSLAST(H>REF(H,1)&&H>REF(H,2)&&H>REF(H,3)&&H>REF(H,4)&&H>REF(H,5));
L2:=BARSLAST(L<REF(L,1)&&L<REF(L,2)&&L<REF(L,3)&&L<REF(L,4)&&L<REF(L,5));
OP:=IF(H2>L2,H1,L1);
M:=BARPOS;
K1:=VALUEWHEN(ISLASTBAR,OP);
M4:=IF(K1>=0,K1,M);
P2:=IF(M4-1=REF(M4,1),REFX(M4,1),M4);
P3:=IF(P2-1=REF(P2,1),REFX(P2,2),P2);
P4:=IF(P3-1=REF(P3,1),REFX(P3,3),P3);
P5:=IF(P4-1=REF(P4,1),REFX(P4,4),P4);
P6:=IF(P5-1=REF(P5,1),REFX(P5,5),P5);
P7:=IF(P6-1=REF(P6,1),REFX(P6,6),P6);
P8:=IF(P7-1=REF(P7,1),REFX(P7,7),P7);
P9:=IF(P8-1=REF(P8,1),REFX(P8,8),P8);
P10:=IF(P9-1=REF(P9,1),REFX(P9,9),P9);
P11:=IF(P10-1=REF(P10,1),REFX(P10,10),P10);
P12:=IF(P11-1=REF(P11,1),REFX(P11,11),P11);
P13:=IF(P12-1=REF(P12,1),REFX(P12,12),P12);
P14:=IF(P13-1=REF(P13,1),REFX(P13,13),P13);
P15:=IF(P14-1=REF(P14,1),REFX(P14,14),P14);
P16:=IF(P15-1=REF(P15,1),REFX(P15,15),P15);
P17:=IF(P16-1=REF(P16,1),REFX(P16,16),P16);
P18:=IF(P17-1=REF(P17,1),REFX(P17,17),P17);
P19:=IF(P18-1=REF(P18,1),REFX(P18,18),P18);
P20:=IF(P19-1=REF(P19,1),REFX(P19,19),P19);
P21:=IF(P20-1=REF(P20,1),REFX(P20,20),P20);
P22:=IF(P21-1=REF(P21,1),REFX(P21,21),P21);
P23:=IF(P22-1=REF(P22,1),REFX(P22,22),P22);
P24:=IF(P23-1=REF(P23,1),REFX(P23,23),P23);
P25:=IF(P24-1=REF(P24,1),REFX(P24,24),P24);
P26:=IF(P25-1=REF(P25,1),REFX(P25,25),P25);
P27:=IF(P26-1=REF(P26,1),REFX(P26,26),P26);
P28:=IF(P27-1=REF(P27,1),REFX(P27,27),P27);
P29:=IF(P28-1=REF(P28,1),REFX(P28,28),P28);
P30:=IF(P29-1=REF(P29,1),REFX(P29,29),P29);
P31:=IF(P30-1=REF(P30,1),REFX(P30,30),P30);
P32:=IF(P31-1=REF(P31,1),REFX(P31,31),P31);
P33:=IF(P32-1=REF(P32,1),REFX(P32,32),P32);
P34:=IF(P33-1=REF(P33,1),REFX(P33,33),P33);
P35:=IF(P34-1=REF(P34,1),REFX(P34,34),P34);
P36:=IF(P35-1=REF(P35,1),REFX(P35,35),P35);
P37:=IF(P36-1=REF(P36,1),REFX(P36,36),P36);
P38:=IF(P37-1=REF(P37,1),REFX(P37,37),P37);
P39:=IF(P38-1=REF(P38,1),REFX(P38,38),P38);
P40:=IF(P39-1=REF(P39,1),REFX(P39,39),P39);
P41:=IF(P40-1=REF(P40,1),REFX(P40,40),P40);
P42:=IF(P41-1=REF(P41,1),REFX(P41,41),P41);
P43:=IF(P42-1=REF(P42,1),REFX(P42,42),P42);
P44:=IF(P43-1=REF(P43,1),REFX(P43,43),P43);
P45:=IF(P44-1=REF(P44,1),REFX(P44,44),P44);
P46:=IF(P45-1=REF(P45,1),REFX(P45,45),P45);
P47:=IF(P46-1=REF(P46,1),REFX(P46,46),P46);
P48:=IF(P47-1=REF(P47,1),REFX(P47,47),P47);
P49:=IF(P48-1=REF(P48,1),REFX(P48,48),P48);
P50:=IF(P49-1=REF(P49,1),REFX(P49,49),P49);
P51:=IF(P50-1=REF(P50,1),REFX(P50,50),P50);
P52:=IF(P51-1=REF(P51,1),REFX(P51,51),P51);
P53:=IF(P52-1=REF(P52,1),REFX(P52,52),P52);
P54:=IF(P53-1=REF(P53,1),REFX(P53,53),P53);
P55:=IF(P54-1=REF(P54,1),REFX(P54,54),P54);
P56:=IF(P55-1=REF(P55,1),REFX(P55,55),P55);
P57:=IF(P56-1=REF(P56,1),REFX(P56,56),P56);
P58:=IF(P57-1=REF(P57,1),REFX(P57,57),P57);
P59:=IF(P58-1=REF(P58,1),REFX(P58,58),P58);
P60:=IF(P59-1=REF(P59,1),REFX(P59,59),P59);
P61:=IF(P60-1=REF(P60,1),REFX(P60,60),P60);
O:=IF(P61<>REF(P61,1),REFX(P61,200),P61);
F:=MOD(O*10,N)/10;
P1:=MOD(CLOSE*10,N)/10;
C:=CLOSE-P1+F;
B:=(C*10+N)/10;
A:=(C*10-N)/10;
G:=VALUEWHEN(ISLASTBAR,A);
S:=VALUEWHEN(ISLASTBAR,C);
R:=VALUEWHEN(ISLASTBAR,B);
E:=VALUEWHEN(ISLASTBAR,O);
DRAWNUMBER(G>0,G,G,0,COLORYELLOW);
DRAWNUMBER(S>0,S,S,0,COLORYELLOW);
DRAWNUMBER(R>0,R,R,0,COLORYELLOW);
DRAWNUMBER(O>0,E,E,0,COLORWHITE);
DRAWSL(O>0,C,0,1,3,COLORYELLOW);
POLYLINE(O>0,O,COLORWHITE);

《盈利模式》模型源码:
H:=HIGH;
L:=LOW;
HH1:=IF(H<REF(H,2)&&REF(H,1)<REF(H,2),REF(H,2),0);
LL1:=IF(L>REF(L,2)&&REF(L,1)>REF(L,2),REF(L,2),0);
HH2:=VALUEWHEN(HH1>0,HH1);
LL2:=VALUEWHEN(LL1>0,LL1);
K1:=IF(CLOSE>HH2,-3,IF(CLOSE<LL2,1,0));
K2:=VALUEWHEN(K1<>0,K1);
K2=1,SPK;
K2=-3,BPK;

《铜钱》模型源码:
[N1,4.000000,4.000000,4.000000]
[N2,8.000000,8.000000,8.000000]
[N3,14.000000,16.000000,14.000000]
[N4,19.000000,22.000000,20.000000]
M5:=EMA2(HIGH,4);
M10:=EMA2(HIGH,8);
M15:=EMA2(HIGH,14);
M20:=EMA2(HIGH,20);
ZYZS:=IF((M5 > M15),M5,M15);
DIFF:=EMA(HIGH,14) - EMA(HIGH,19);
DEA:=EMA(DIFF,10);
A:=2*(DIFF-DEA);
ML5:=EMA2(LOW,N1);
ML10:=EMA2(LOW,N2);
ML15:=EMA2(LOW,14);
ML20:=EMA2(LOW,20);
ZL:=IF((ML5 > ML15),ML5,ML15);
DL:=EMA(LOW,14) - EMA(LOW,19);
DEAL:=EMA(DL,10);
AL:=2*(DL-DEAL);
TIME>0929&&TIME<1440&&M5>M10&&HIGH>M20&&A>0&&ZYZS=M5,BK;
TIME>0929&&TIME<1440&&ML5<ML10&&LOW<ML20&&AL<0&&ZL<>ML5,SK;
TIME>0909&&AL<0&&ML10<ML20,SP;
TIME>0909&&A>0&&M10>M20,BP;

《PP》模型源码:
TB:=IF(HIGH>REF(CLOSE,1),HIGH-REF(CLOSE,1)+CLOSE-LOW,CLOSE-LOW);
TS:=IF(REF(CLOSE,1)>LOW,REF(CLOSE,1)-LOW+HIGH-CLOSE,HIGH-CLOSE);
VOL1:=(TB-TS)*VOL/(TB+TS)/10000;
VOL0:=DMA(VOL1,0.07);
VOL2:=DMA(VOL1,0.01);
SHORT:=VOL0-VOL2,COLORSTICK;
MA1:=MA(SHORT,N);
CROSS(SHORT,MA1),BPK;
CROSS(MA1,SHORT),SPK;

抢金多空版破解
S:=CROSS(CLOSE,EMA2(HIGH,30));
X:=CROSS(EMA2(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),EMA2(LOW,30),COLORMAGENTA,1);
STICKLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),EMA2(HIGH,30),COLORBLUE,1);
STICKLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),EMA2(LOW,150),COLORLIGHTRED,1);
STICKLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),EMA2(HIGH,150),COLORLIGHTGREEN,1);
PARTLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),COLORMAGENTA);
PARTLINE(CLOSE<EMA2(HIGH,30),EMA2(HIGH,30),COLORBLUE);
PARTLINE(CLOSE>EMA2(LOW,30),EMA2(LOW,30),COLORMAGENTA);
PARTLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),COLORBLUE);
PARTLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),COLORLIGHTRED);
PARTLINE(CLOSE<EMA2(HIGH,150),EMA2(HIGH,150),COLORLIGHTGREEN);
PARTLINE(CLOSE>EMA2(LOW,150),EMA2(LOW,150),COLORLIGHTRED);
PARTLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),COLORLIGHTGREEN);
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,COLORRED,0);
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,COLORCYAN,0);
DRAWTEXT(SS,LOW,'买入');

『陆』 通达信公式改成文华财经公式

这个公式无法转换成文化财经的.因公式中有无法替换的函数.

『柒』 文华财经指标改为通达信指标

你这代码不全在文华财经上都提示错误

就算改成通达信也无法测试是否可以在通达信正常使用。

『捌』 求文华财经瀑布线的指标公式,文华财经比较卡,我想把这个指标换在博弈大师里面。谢谢了

PB1:PUBU(CLOSE,0);
PB2:PUBU(CLOSE,1);
PB3:PUBU(CLOSE,2);
PB4:PUBU(CLOSE,3);
PB5:PUBU(CLOSE,4);
PB6:PUBU(CLOSE,5);//定义6条瀑布线
CROSS(PB1,PB6),BPK;//短线瀑布线金叉长线瀑布,做多。
CROSS(PB6,PB1),SPK;//短线瀑布线死叉长线瀑布,做空。
AUTOFILTER;
以上是瀑布线指标公式,至于你说的软件太卡,是不是跟网络有关?或者是加载的数据问题?能说具体点么?

阅读全文

与文华指标公式源码金蛇相关的资料

热点内容
金融许可证公司有哪些 浏览:691
应收账款向非金融公司买断 浏览:172
2018年3月棉花进口汇率 浏览:930
工行贵金属费黄金用 浏览:414
期货怎样看平均线 浏览:855
增强财务杠杆弹性的措施 浏览:986
提请召开股东大会文件范文 浏览:88
企业中国人民银行外汇备案 浏览:905
杠杆最大力臂 浏览:763
总统大选贵金属 浏览:220
中小企业融资成本高的对策 浏览:637
期货投机度计算 浏览:649
西安注册金融类公司 浏览:985
南京期货交易所 浏览:373
pg外汇集团公司 浏览:977
甘谷县金融机构存款余额 浏览:250
金融机构疫情期间 浏览:970
1月23日日元对人民币汇率 浏览:48
股票澳优奶粉 浏览:567
立信理财为什么收益那么高 浏览:576