麻烦老师编写一下 [文华财经]
- 咨询内容:
能不能把当天昨天前天的均价线加载K线图上
- 文华技术人员:
N:=BARSLAST(DATE<>REF(DATE,1))+1;
T:SETTLE;//当天均价线
Y:REF(SETTLE,N);//昨日均价线
YY:REF(REF(SETTLE,N),N);//前日均价线 - 文华客服:
谢谢老师了VAR2:=CLOSE*VOL; MID:=EMA((EMA(VAR2,3)/EMA(VOL,3)+EMA(VAR2,6)/EMA(VOL,6)+EMA(VAR2,12)/EMA(VOL,12)+EMA(VAR2,24)/EMA(VOL,24))/4,N); 主趋势线1:MID;MID2:=MID*1.01;SDN:=MID*0.94; SDN3:=REF(CLOSE,1800),COLORYELLOW;SUP:=1.06*MID,COLORBLUE; VAR4:=EMA(CLOSE,9); B9:=COUNT(HIGH>SUP,5);
VAR1:=MID;
PARTLINE(VAR1>REF(VAR1,1),VAR1),LINETHICK2,COLORRED;PARTLINE(VAR1<REF(VAR1,1),VAR1),LINETHICK2,COLORCYAN;
PP:=(2*CLOSE+HIGH+LOW)/4;QQ:=ABS(PP-MA(CLOSE,N*15));AA:=QQ/MA(CLOSE,N*15);N2:=(N-2)*15;N3:=(N+2)*15;
N4:=(N+3)*15;
主趋势线:=(MA(CLOSE,13)),LINETHICK2,COLORRED;
CC:=(CLOSE/主趋势线)
这个是博易大师的指标,麻烦老师给改成文化6的指标 - 网友回复: VAR3:=SMA(VAR1,5,1);K:=SMA(VAR3,3,1);D:=SMA(K,3,1);DRAWTEXT(CROSS(K,D) AND MA(CLOSE,5)<CLOSE,D,'多'),COLORRED;DRAWTEXT(CROSS(D,K) AND MA(CLOSE,5),D,'空'),COLORGREEN;STICKLINE((K >= D),K,D,6,0),COLOR0000A8;STICKLINE((K >= D),K,D,5,0),COLOR0000C0;STICKLINE((K >= D),K,D,4,0),COLOR0000E0;STICKLINE((K >= D),K,D,3,0),COLOR0000F0;STICKLINE((K >= D),K,D,2,0),COLOR0000D0;STICKLINE((K >= D),K,D,1,0),COLOR8080FF;STICKLINE((K <= D),K,D,6,0),COLOR008800;STICKLINE((K <= D),K,D,5,0),COLOR009900;STICKLINE((K <= D),K,D,4,0),COLOR00AA00;STICKLINE((K <= D),K,D,3,0),COLOR00BB00;STICKLINE((K <= D),K,D,2,0),COLOR00CC00;STICKLINE((K <= D),K,D,1,0),COLOR00DD00;极端底部线:15;极端顶部线:85;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容