老师帮变色时加箭头 [文华财经]
-
咨询内容:
J:CROSS(DIFF,DEA),NODRAW;S:CROSSDOWN(DIFF,DEA),NODRAW;A:BACKSET(J,BARSLAST(CROSS(DIFF>REF(DIFF,1),0.3))+1);B:BACKSET(S,BARSLAST(CROSS(DIFF<=REF(DIFF,1),0.4))+1);IF(BARSLAST(J)<BARSLAST(S)&&NOT(B)||A,DIFF,NULL),COLORRED,LINETHICK2;IF(BARSLAST(J)>BARSLAST(S)&&NOT(A)||B,DIFF,NULL),COLORGREEN,LINETHICK2;
老师,你好能不能在变色的时候添加一个箭头呢
来源:程序化99
-
文华技术人员:
请参考
J:CROSS(DIFF,DEA),NODRAW; S:CROSSDOWN(DIFF,DEA),NODRAW; A:BACKSET(J,BARSLAST(CROSS(DIFF>REF(DIFF,1),0.3))+1); B:BACKSET(S,BARSLAST(CROSS(DIFF<=REF(DIFF,1),0.4))+1); IF(BARSLAST(J)<BARSLAST(S)&&NOT(B)||A,DIFF,NULL),COLORRED,LINETHICK2; IF(BARSLAST(J)>BARSLAST(S)&&NOT(A)||B,DIFF,NULL),COLORGREEN,LINETHICK2; DRAWICON(CROSS(BARSLAST(J)<BARSLAST(S)&&NOT(B)||A,0.5),DIFF,4),VALIGN0; DRAWICON(CROSS(BARSLAST(J)>BARSLAST(S)&&NOT(A)||B,0.5),DIFF,5);
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
相关文章
-
没有相关内容