怎么把这两个通达信的MACD和KD做成文华财经 [文华财经]
- 咨询内容:
VAR1:=EMA(EMA(CLOSE,9),9);主力:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,COLORRED,LINETHICK2;VAR2:=100*WINNER(CLOSE*0.95);DIF:EMA(CLOSE,12)-EMA(CLOSE,26),NODRAW,COLORBLUE,LINETHICK1;DEA:EMA(DIF,9),COLORRED,NODRAW,LINETHICK1;DRAWBAND(DIF,RGB(255,0,0),DEA,RGB(0,0,255));
MACD:(DIF-DEA)*2,COLORSTICK;A1:=MACD<REF(MACD,1) AND MACD>0;A2:=MACD<REF(MACD,1)/2 AND MACD<0;STICKLINE(MACD>=0,MACD,0,2,0.5),COLORMAGENTA;
STICKLINE(A1,0,MACD,2,0),COLORBLUE;STICKLINE(A2,0,MACD,1,1),COLORBLUE;STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1,1),COLORLIRED;
强弱分界:0,COLORBROWN,LINETHICK1;
STICKLINE(C>0,80,100,10,0),COLORGREEN;
STICKLINE(C>0,20,0,10,0),COLORGREEN;
杀多区:20,COLORBLACK,LINETHICK1;界线:50,COLORBLACK,DOTLINE;杀空区:80,COLORBLACK,LINETHICK1;
RSV2:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;A1:="KD.K"(9,3,3);A2:="KD.D"(9,3,3);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:SMA(RSV,3,1),COLORBLACK;D:SMA(K,3,1),COLORRED;
DRAWBAND(K,RGB(255,0,0),D,RGB(0,0,255));
- 文华技术人员:
参考这个帖子已经给您回复了:http://help.shwebstock.com.cn/dispbbs.asp?BoardID=14&ID=384743
请不要重复,稍后此贴将删除 - 文华客服:
这个出来的柱状图看不清楚,你可以装到软件里看一下
- 网友回复:
VAR1:=EMA(EMA(CLOSE,9),9);
主力:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,COLORRED,LINETHICK2;
//VAR2:=100*WINNER(CLOSE*0.95);
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),NODRAW,COLORBLUE,LINETHICK1;
DEA:EMA(DIF,9),COLORRED,NODRAW,LINETHICK1;
FILLRGN(DIF>DEA,DIF,DEA,RGB(255,0,0));
FILLRGN(DIF<DEA,DIF,DEA,RGB(0,0,255));
MACD:=(DIF-DEA)*2,COLORSTICK;
A1:=MACD<REF(MACD,1) AND MACD>0;
A2:=MACD<REF(MACD,1)/2 AND MACD<0;
STICKLINE(MACD>=0,MACD,0,2,0.5),COLORMAGENTA;
STICKLINE(A1,0,MACD,2,0),COLORBLUE;
STICKLINE(A2,0,MACD,1,1),COLORBLUE;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1,1),COLORRED;
强弱分界:0,COLORGREEN,LINETHICK1;这样改试试
- 网友回复:
嗯,很好,高手啊!再麻烦下吧这通达信KD改成文华的,谢谢STICKLINE(C>0,80,100,10,0),COLORGREEN;STICKLINE(C>0,20,0,10,0),COLORGREEN;
杀多区:20,COLORBLACK,LINETHICK1;界线:50,COLORBLACK,DOTLINE;杀空区:80,COLORBLACK,LINETHICK1;
RSV2:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;A1:="KD.K"(9,3,3);A2:="KD.D"(9,3,3);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:SMA(RSV,3,1),COLORBLACK;D:SMA(K,3,1),COLORRED;
DRAWBAND(K,RGB(255,0,0),D,RGB(0,0,255));
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容