如何此博易大师指标转成文华财经指标或者做成程序化交易 谢谢 [文华财经]
- 咨询内容:
D:=0.9963*HHV(HIGH,7*Y+27),COLORWHITE,LINETHICK0;
B2:=D-REF(D,1);DRAWTEXT(B2>0,D,'多--'),COLORGREEN;
S:=1.0037*LLV(L,7*Y+27),LINETHICK0,COLORRED;
B1:=S-REF(S,1);DRAWTEXT(B1<0,S,'空--'),COLORYELLOW;JJ:=(CLOSE+HIGH+LOW)/3;
A2:=EMA(JJ,10);
B:=REF(A2,1);银:EMA(CLOSE,34),LINETHICK0;
B3:=银-REF(银,1);
金:EMA(EMA(CLOSE,6),89),COLORCYAN,LINETHICK5;
B6:=金-REF(金,1);STICKLINE(A2>B,A2,B,10,0),COLORYELLOW;
STICKLINE(A2<B,A2,B,10,0),COLORBLUE;
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
STICKLINE(CROSS(X2,X3),OPEN,CLOSE,7,1),COLORYELLOW;
STICKLINE(CROSS(X3,X2),OPEN,CLOSE,7,1),COLORBLUE;
DRAWICON(CROSS(X2,银),0.9985*LLV(L,1),1);
DRAWICON(CROSS(银,X2),1.0015*HHV(H,1),2);STICKLINE(OPEN>CLOSE,CLOSE,OPEN,1.6,0),COLORCYAN;
STICKLINE(CLOSE>=OPEN,OPEN,CLOSE,1.6,0),COLORRED;
STICKLINE(CLOSE>=OPEN,LOW,HIGH,0.2,0),COLORRED;
STICKLINE(OPEN>=CLOSE,HIGH,LOW,0.2,0),COLORCYAN;VAR2:=LLV(LOW,15);
VAR3:=HHV(HIGH,25);
动力线:= 27*EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4),LINETHICK2,COLORFF00FF;VAR11:=HHV(HIGH,9)-LLV(LOW,9);
VAR12:=HHV(HIGH,9)-CLOSE;
VAR13:=CLOSE-LLV(LOW,9);
VAR14:=VAR12/VAR11*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR13/VAR11*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR14,9,1);
VARA:=IF(VAR9>100,VAR9-100,0);
VARB:=HHV(HIGH,34);
强:=EMA((VAR6-VAR8)/(VARB-VAR8)*100,8);
弱:=EMA(强,5),COLORGREEN;DRAWICON(CROSS(弱,动力线) AND 弱>70,1.0011*HHV(H,1),10);
DRAWICON(CROSS(动力线,弱) AND 弱<20,0.9989*LLV(L,1),9);
钻:MA(CLOSE,60);
AM:=IF((DATE <= 1100818),1,1);阿:=MA(MA(C,5),10),LINETHICK0,PRECIS1;
TY:=CLOSE;HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);
支撑:AM*REF(LOW,BARSLAST(LD)), COLOR00FFFF,POINTDOT,LINETHICK2;
压力:AM*REF(HIGH,BARSLAST(HD)), COLORFF00FF,POINTDOT,LINETHICK2;
DRAWNUMBER(ISLASTBAR,支撑,支撑,0), COLORFFFF00,ALIGN0;
DRAWNUMBER(ISLASTBAR,压力,压力,0), COLORFF00FF,ALIGN0;
DRAWNUMBER(HD,HIGH*(1+0.0005),HIGH,0), COLORFF00FF,ALIGN0;
DRAWNUMBER(LD,LOW*(1.001-0.0015),LOW,0), COLORFFFF00,ALIGN0; - 文华技术人员:
http://help.shwebstock.com.cn/dispbbs.asp?boardid=14&Id=136669
请参考以上链接学习改写
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 262069696 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容