文字及声音提示 [文华财经]
-
咨询内容:
老师,下面的程序中,我想在平台突破的时候加一个文字及声音提示可以吗 ?
MC:=MA(C,5);MC1:= MA(C,10);MH2:= MA(H,5);ML2:= MA(L,5);AA:=HHV(H,10);BB:=ZIGZAG(AA,0,0);DD:=LLV(L,10);EE:=ZIGZAG(DD,0,0);FF:PEAK(AA,0,1,0);GG:=PEAK(DD,0,1,0);FF1:=TROUGH(AA,0,1,0);GG1:= TROUGH(DD,0,1,0);FILLRGN(FF<>GG1,FF,GG1,RGB(56,37,37));
TMP:=OPEN-CLOSE;DRAWLINE(TMP>0.00001,HIGH,TMP>0.00001,OPEN,COLORCYAN);DRAWLINE(TMP>0.00001,LOW,TMP>0.00001,CLOSE,COLORCYAN);DRAWLINE(TMP<-0.00001,HIGH,TMP<-0.00001,CLOSE,COLORRED);DRAWLINE(TMP<-0.00001,LOW,TMP<-0.00001,OPEN,COLORRED);DRAWLINE(TMP<0.00001,LOW,ABS(TMP)<0.00001,OPEN,COLORWHITE);DRAWLINE(TMP<0.00001,HIGH,ABS(TMP)<0.00001,OPEN,COLORWHITE);
STICKLINE(C<FF&&TMP>0,OPEN,CLOSE, COLORYELLOW,0);STICKLINE(C<FF&&C>GG1&&TMP>0,OPEN,CLOSE, COLORCYAN,0);STICKLINE(C<GG1&&TMP>0,OPEN,CLOSE, COLORRED,0);STICKLINE(TMP<=0,OPEN,CLOSE,COLORYELLOW,1);来源:程序化99
-
文华技术人员:
您说的平台突破具体要满足什么条件呢?
来源: WWW.CXH99.COM
-
文华客服:
就是箭头标识的地方,当然向上突破的也要
文件名:未标题-1.jpg -
网友回复:
老师,可以改吗?
-
网友回复:
这里能加标记,但是无法加入声音,因为这部分是由未来函数编写的,未来函数与声音函数连用是不会出声音的
参考:
MC:=MA(C,5);MC1:= MA(C,10);MH2:= MA(H,5);ML2:= MA(L,5);AA:=HHV(H,10);BB:=ZIGZAG(AA,0,0);DD:=LLV(L,10);EE:=ZIGZAG(DD,0,0);FF:PEAK(AA,0,1,0);GG:=PEAK(DD,0,1,0);FF1:=TROUGH(AA,0,1,0);GG1:= TROUGH(DD,0,1,0);FILLRGN(FF<>GG1,FF,GG1,RGB(56,37,37));DRAWICON(CROSS(H,MAX(FF,GG1)),MAX(FF,GG1),4);DRAWICON(CROSSDOWN(L,MIN(FF,GG1)),MIN(FF,GG1),5),VALIGN0;
TMP:=OPEN-CLOSE;DRAWLINE(TMP>0.00001,HIGH,TMP>0.00001,OPEN,COLORCYAN);DRAWLINE(TMP>0.00001,LOW,TMP>0.00001,CLOSE,COLORCYAN);DRAWLINE(TMP<-0.00001,HIGH,TMP<-0.00001,CLOSE,COLORRED);DRAWLINE(TMP<-0.00001,LOW,TMP<-0.00001,OPEN,COLORRED);DRAWLINE(TMP<0.00001,LOW,ABS(TMP)<0.00001,OPEN,COLORWHITE);DRAWLINE(TMP<0.00001,HIGH,ABS(TMP)<0.00001,OPEN,COLORWHITE);
STICKLINE(C<FF&&TMP>0,OPEN,CLOSE, COLORYELLOW,0);STICKLINE(C<FF&&C>GG1&&TMP>0,OPEN,CLOSE, COLORCYAN,0);STICKLINE(C<GG1&&TMP>0,OPEN,CLOSE, COLORRED,0);STICKLINE(TMP<=0,OPEN,CLOSE,COLORYELLOW,1);
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)
相关文章
-
没有相关内容