求老师帮忙完善下 [文华财经]
-
咨询内容:
VAR2:=(3*CLOSE+LOW+OPEN+HIGH)/6; DTX:(20*VAR2+19*REF(VAR2,1)+18*REF(VAR2,2)+17*REF(VAR2,3)+16*REF(VAR2,4)+15*REF(VAR2,5)+14*REF(VAR2,6)+13*REF(VAR2,7)+12*REF(VAR2,8)+11*REF(VAR2,9)+10*REF(VAR2,10)+9*REF(VAR2,11)+8*REF(VAR2,12)+7*REF(VAR2,13)+6*REF(VAR2,14)+5*REF(VAR2,15)+4*REF(VAR2,16)+3*REF(VAR2,17)+2*REF(VAR2,18)+REF(VAR2,20))/210,COLORWHITE; KTX: MA(DTX,10), COLORYELLOW; STICKLINE(DTX>KTX,DTX,KTX, COLORRED,10); STICKLINE(DTX<KTX,DTX,KTX, COLORGREEN,10) ;STICKLINE(CLOSE>=OPEN,OPEN,CLOSE, COLORRED,1);DRAWLINE(CLOSE>=OPEN,HIGH, CLOSE>=OPEN,CLOSE, COLORRED);DRAWLINE(CLOSE>=OPEN,LOW, CLOSE>=OPEN,OPEN, COLORRED);STICKLINE(CLOSE<OPEN,OPEN,CLOSE, COLORCYAN,0);DRAWLINE(CLOSE<OPEN,HIGH, CLOSE<OPEN,LOW, COLORCYAN);
怎么让他在WH6上标注金叉向上的箭头,死叉向下的箭头来源:程序化99
-
文华技术人员:
参考
VAR2:=(3*CLOSE+LOW+OPEN+HIGH)/6;
DTX:(20*VAR2+19*REF(VAR2,1)+18*REF(VAR2,2)+17*REF(VAR2,3)+16*REF(VAR2,4)+15*REF(VAR2,5)+14*REF(VAR2,6)+13*REF(VAR2,7)+12*REF(VAR2,8)+11*REF(VAR2,9)+10*REF(VAR2,10)+9*REF(VAR2,11)+8*REF(VAR2,12)+7*REF(VAR2,13)+6*REF(VAR2,14)+5*REF(VAR2,15)+4*REF(VAR2,16)+3*REF(VAR2,17)+2*REF(VAR2,18)+REF(VAR2,20))/210,COLORWHITE;
KTX: MA(DTX,10), COLORYELLOW;
STICKLINE(DTX>KTX,DTX,KTX, COLORRED,10);
STICKLINE(DTX<KTX,DTX,KTX, COLORGREEN,10) ;
STICKLINE(CLOSE>=OPEN,OPEN,CLOSE, COLORRED,1);
DRAWLINE(CLOSE>=OPEN,HIGH, CLOSE>=OPEN,CLOSE, COLORRED);
DRAWLINE(CLOSE>=OPEN,LOW, CLOSE>=OPEN,OPEN, COLORRED);
STICKLINE(CLOSE<OPEN,OPEN,CLOSE, COLORCYAN,0);
DRAWLINE(CLOSE<OPEN,HIGH, CLOSE<OPEN,LOW, COLORCYAN);
DRAWICON(CROSS(DTX,KTX),L,4),VALIGN0;
DRAWICON(CROSSDOWN(DTX,KTX),H,5);来源: WWW.CXH99.COM
-
文华客服:
能换成中明显的箭头指示吗
文件名:微信图片_20200417144851.png -
网友回复:
最后2句这样改下
DRAWTEXT(CROSS(DTX,KTX),L,'',COLORRED,FONTSIZE20,VALIGN0;
DRAWTEXT(CROSSDOWN(DTX,KTX),H,'',COLORGREEN,FONTSIZE20;
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容