您的位置:股票站 > 查股公式 > 请老师帮我把好公式中的出现紫色柱做个通达信选股公式?[查股公式]
股票行情消息数据:

请老师帮我把好公式中的出现紫色柱做个通达信选股公式?[查股公式]

2022/8/17 18:24:33

问:请老师帮我把好公式中的出现紫色柱做个通达信选股公式?

请老师帮我把好公式中的出现紫色柱做个选股公式,谢谢!
源码:X5:=EXPMA(CLOSE,3);
X10:=EXPMA(CLOSE,7);
X20:=EXPMA(CLOSE,20);
五日斜率:=(X5-REF(X5,1))*100/REF(X5,1),LINETHICK2,COLORYELLOW;
十日斜率:=(X10-REF(X10,1))*100/REF(X10,1),LINETHICK2,COLORBLUE;
二十斜率:=(X20-REF(X20,1))*100/REF(X20,1),LINETHICK2,COLORWHITE;
XX5:=XMA(五日斜率,4),LINETHICK2,COLORYELLOW;
XX10:=XMA(十日斜率,7),LINETHICK2,COLORBLUE;
XX200:=XMA(二十斜率,20);
AA1:=XX200>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND  XX10>XX200
  AND  REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX200,2) ;
XX202:=XMA(二十斜率,22);
AA2:=XX202>=0.7 AND REF(XX200,1)<XX200  AND XX5> XX10 AND  XX10>XX202
  AND  REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX202,2) ;
XX204:=XMA(二十斜率,24);
AA3:=XX204>=0.7  AND REF(XX200,1)<XX200 AND XX5> XX10 AND  XX10>XX204
  AND  REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX204,2) ;
XX206:=XMA(二十斜率,26);
AA4:=XX206>=0.7  AND REF(XX200,1)<XX200 AND XX5> XX10 AND  XX10>XX206
  AND  REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX206,2) ;
XX207:=XMA(二十斜率,20);
AA7:=XX207>=0.7 AND REF(XX207,1)<XX207 AND CROSS(XX10,XX207)
  AND CROSS(REF(XX5,1),REF(XX207,1));
XX2071:=XMA(二十斜率,23);
AA71:=XX2071>=0.7 AND REF(XX2071,1)<XX2071 AND CROSS(XX10,XX2071)
  AND CROSS(REF(XX5,1),REF(XX2071,1));
XX2072:=XMA(二十斜率,26);
AA72:=XX2072>=0.7 AND REF(XX2072,1)<XX2072 AND CROSS(XX10,XX2072)
  AND CROSS(REF(XX5,1),REF(XX2072,1));
XX208:=XMA(二十斜率,20);
AA8:=XX208>=0.7 AND REF(XX208,1)<XX208 AND CROSS(XX10,XX208)
  AND CROSS(XX5,XX208);
XX2081:=XMA(二十斜率,23);
AA81:=XX2081>=0.7 AND REF(XX2081,1)<XX2081 AND CROSS(XX10,XX2081)
  AND CROSS(XX5,XX2081);
XX2082:=XMA(二十斜率,26);
AA82:=XX2082>=0.7 AND REF(XX2082,1)<XX2082 AND CROSS(XX10,XX2082)
  AND CROSS(XX5,XX2082);
AA?CCJ: IF((AA1 OR AA2 OR AA3 OR AA4 OR AA7 OR AA71 OR AA72 OR AA8 OR AA81
OR AA82)=1,100,0),STICK,COLORMAGENTA,LINETHICK2;
DRAWTEXT(AA1=1,10,'★AA1'),COLORRED;
DRAWTEXT(AA2=1,15,'★AA2'),COLORRED;
DRAWTEXT(AA3=1,20,'★AA3'),COLORRED;
DRAWTEXT(AA4=1,25,'★AA4'),COLORRED;
DRAWTEXT(AA7=1,30,'★AA7'),COLORRED;
DRAWTEXT(AA71=1,35,'★AA71'),COLORRED;
DRAWTEXT(AA72=1,40,'★AA72'),COLORRED;
DRAWTEXT(AA8=1,45,'★AA8'),COLORRED;
DRAWTEXT(AA81=1,50,'★AA81'),COLORRED;
DRAWTEXT(AA82=1,55,'★AA82'),COLORRED;

答案:

X5:=EXPMA(CLOSE,3);
 X10:=EXPMA(CLOSE,7);
 X20:=EXPMA(CLOSE,20);
 五日斜率:=(X5-REF(X5,1))*100/REF(X5,1),LINETHICK2,COLORYELLOW;
 十日斜率:=(X10-REF(X10,1))*100/REF(X10,1),LINETHICK2,COLORBLUE;
 二十斜率:=(X20-REF(X20,1))*100/REF(X20,1),LINETHICK2,COLORWHITE;
 XX5:=XMA(五日斜率,4),LINETHICK2,COLORYELLOW;
 XX10:=XMA(十日斜率,7),LINETHICK2,COLORBLUE;
 XX200:=XMA(二十斜率,20);
 AA1:=XX200>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND  XX10>XX200
  AND  REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX200,2) ;
 XX202:=XMA(二十斜率,22);
 AA2:=XX202>=0.7 AND REF(XX200,1)<XX200  AND XX5> XX10 AND  XX10>XX202
  AND  REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX202,2) ;
 XX204:=XMA(二十斜率,24);
 AA3:=XX204>=0.7  AND REF(XX200,1)<XX200 AND XX5> XX10 AND  XX10>XX204
  AND  REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX204,2) ;
 XX206:=XMA(二十斜率,26);
 AA4:=XX206>=0.7  AND REF(XX200,1)<XX200 AND XX5> XX10 AND  XX10>XX206
  AND  REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX206,2) ;
 XX207:=XMA(二十斜率,20);
 AA7:=XX207>=0.7 AND REF(XX207,1)<XX207 AND CROSS(XX10,XX207)
  AND CROSS(REF(XX5,1),REF(XX207,1));
 XX2071:=XMA(二十斜率,23);
 AA71:=XX2071>=0.7 AND REF(XX2071,1)<XX2071 AND CROSS(XX10,XX2071)
  AND CROSS(REF(XX5,1),REF(XX2071,1));
 XX2072:=XMA(二十斜率,26);
 AA72:=XX2072>=0.7 AND REF(XX2072,1)<XX2072 AND CROSS(XX10,XX2072)
  AND CROSS(REF(XX5,1),REF(XX2072,1));
 XX208:=XMA(二十斜率,20);
 AA8:=XX208>=0.7 AND REF(XX208,1)<XX208 AND CROSS(XX10,XX208)
  AND CROSS(XX5,XX208);
 XX2081:=XMA(二十斜率,23);
 AA81:=XX2081>=0.7 AND REF(XX2081,1)<XX2081 AND CROSS(XX10,XX2081)
  AND CROSS(XX5,XX2081);
 XX2082:=XMA(二十斜率,26);
 AA82:=XX2082>=0.7 AND REF(XX2082,1)<XX2082 AND CROSS(XX10,XX2082)
  AND CROSS(XX5,XX2082);
(AA1 OR AA2 OR AA3 OR AA4 OR AA7 OR AA71 OR AA72 OR AA8 OR AA81
 OR AA82)=1;

相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红数据 股票评级报告
广告客服:315126368   843010021
股票站免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29