通达信红箭头副图 自用多年捕捉主升浪强势指标 有大肉 源码 附图

 
X_1:=(MA(CLOSE,3)+MA(CLOSE,7)+MA(CLOSE,13)+MA(CLOSE,27))/4;
X_2:=EMA(CLOSE,5);
X_3:=IF(X_1=DRAWNULL,X_2,X_1);
X_4:=(HIGH+LOW+2*OPEN+6*CLOSE)/10;
X_5:=CLOSE<OPEN OR (CLOSE<REF(HIGH,1) AND CLOSE>OPEN) OR (CLOSE>=OPEN AND HIGH-CLOSE>=CLOSE-OPEN AND CLOSE/REF(CLOSE,1)<1.02) OR (CLOSE=OPEN AND HIGH-CLOSE>=CLOSE-LOW AND CLOSE/REF(CLOSE,1)<1.05);
X_6:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>0.94 OR (CLOSE>REF(LOW,1) AND CLOSE<OPEN) OR (CLOSE<=OPEN AND CLOSE-LOW>=OPEN-CLOSE AND CLOSE/REF(CLOSE,1)>0.98) OR (CLOSE=OPEN AND CLOSE-LOW>=HIGH-CLOSE AND CLOSE/REF(CLOSE,1)>0.95);
X_7:=CROSS(X_4,X_3) AND X_5;
X_8:=CROSS(X_3,X_4) AND X_6;
X_9:=IF(X_7,X_3*0.98,IF(X_8,X_3*1.02,X_4));
X_10:=CROSS(X_9,X_3) AND X_5;
X_11:=CROSS(X_3,X_9) AND X_6;
X_12:=IF(X_10,X_3*0.98,IF(X_11,X_3*1.02,X_9));
X_13:=CROSS(X_12,X_3) AND X_5;
X_14:=CROSS(X_3,X_12) AND X_6;
X_15:=IF(X_13,X_3*0.98,IF(X_14,X_3*1.02,X_12));
X_16:=CROSS(X_15,X_3) AND X_5;
X_17:=CROSS(X_3,X_15) AND X_6;
X_18:=IF(X_16,X_3*0.98,IF(X_17,X_3*1.02,X_15));
X_19:=CROSS(X_18,X_3) AND X_5;
X_20:=CROSS(X_3,X_18) AND X_6;
X_21:=IF(X_19,X_3*0.98,IF(X_20,X_3*1.02,X_18));
X_22:=CROSS(X_21,X_3) AND X_5;
X_23:=CROSS(X_3,X_21) AND X_6;
X_24:=IF(X_22,X_3*0.98,IF(X_23,X_3*1.02,X_21));
X_25:=CROSS(X_24,X_3) AND X_5;
X_26:=CROSS(X_3,X_24) AND X_6;
X_27:=IF(X_25,X_3*0.98,IF(X_26,X_3*1.02,X_24));
X_28:=CROSS(X_27,X_3) AND X_5;
X_29:=CROSS(X_3,X_27) AND X_6;
X_30:=IF(X_28,X_3*0.98,IF(X_29,X_3*1.02,X_27));
X_31:=CROSS(X_30,X_3) AND X_5;
X_32:=CROSS(X_3,X_30) AND X_6;
X_33:=IF(X_31,X_3*0.98,IF(X_32,X_3*1.02,X_30));
X_34:=CROSS(X_33,X_3) AND X_5;
X_35:=CROSS(X_3,X_33) AND X_6;
X_36:=IF(X_34,X_3*0.98,IF(X_35,X_3*1.02,X_33));
KK0:CROSS(X_36,X_3);



来函数检测结果如下
该公式没有未来函数


解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

X_1赋值:(收盘价的3日简单移动平均+收盘价的7日简单移动平均+收盘价的13日简单移动平均+收盘价的27日简单移动平均)/4
X_2赋值:收盘价的5日指数移动平均
X_3赋值:如果X_1=无效数,返回X_2,否则返回X_1
X_4赋值:(最高价+最低价+2*开盘价+6*收盘价)/10
X_5赋值:收阴线OROSE (收盘价<1日前的最高价 AND 收阳线) OR (收盘价>=开盘价 AND 最高价-收盘价>=收盘价-开盘价 AND 收盘价/1日前的收盘价<1.02) OR (平盘ANDSE 最高价-收盘价>=收盘价-最低价 AND 收盘价/1日前的收盘价<1.05)
X_6赋值:收阳线ANDSE 收盘价/1日前的收盘价>0.94 OR (收盘价>1日前的最低价 AND 收阴线) OR (收盘价<=开盘价 AND 收盘价-最低价>=开盘价-收盘价 AND 收盘价/1日前的收盘价>0.98) OR (平盘ANDSE 收盘价-最低价>=最高价-收盘价 AND 收盘价/1日前的收盘价>0.95)
X_7赋值:X_4上穿X_3 AND X_5
X_8赋值:X_3上穿X_4 AND X_6
X_9赋值:如果X_7,返回X_3*0.98,否则返回如果X_8,返回X_3*1.02,否则返回X_4
X_10赋值:X_9上穿X_3 AND X_5
X_11赋值:X_3上穿X_9 AND X_6
X_12赋值:如果X_10,返回X_3*0.98,否则返回如果X_11,返回X_3*1.02,否则返回X_9
X_13赋值:X_12上穿X_3 AND X_5
X_14赋值:X_3上穿X_12 AND X_6
X_15赋值:如果X_13,返回X_3*0.98,否则返回如果X_14,返回X_3*1.02,否则返回X_12
X_16赋值:X_15上穿X_3 AND X_5
X_17赋值:X_3上穿X_15 AND X_6
X_18赋值:如果X_16,返回X_3*0.98,否则返回如果X_17,返回X_3*1.02,否则返回X_15
X_19赋值:X_18上穿X_3 AND X_5
X_20赋值:X_3上穿X_18 AND X_6
X_21赋值:如果X_19,返回X_3*0.98,否则返回如果X_20,返回X_3*1.02,否则返回X_18
X_22赋值:X_21上穿X_3 AND X_5
X_23赋值:X_3上穿X_21 AND X_6
X_24赋值:如果X_22,返回X_3*0.98,否则返回如果X_23,返回X_3*1.02,否则返回X_21
X_25赋值:X_24上穿X_3 AND X_5
X_26赋值:X_3上穿X_24 AND X_6
X_27赋值:如果X_25,返回X_3*0.98,否则返回如果X_26,返回X_3*1.02,否则返回X_24
X_28赋值:X_27上穿X_3 AND X_5
X_29赋值:X_3上穿X_27 AND X_6
X_30赋值:如果X_28,返回X_3*0.98,否则返回如果X_29,返回X_3*1.02,否则返回X_27
X_31赋值:X_30上穿X_3 AND X_5
X_32赋值:X_3上穿X_30 AND X_6
X_33赋值:如果X_31,返回X_3*0.98,否则返回如果X_32,返回X_3*1.02,否则返回X_30
X_34赋值:X_33上穿X_3 AND X_5
X_35赋值:X_3上穿X_33 AND X_6
X_36赋值:如果X_34,返回X_3*0.98,否则返回如果X_35,返回X_3*1.02,否则返回X_33
输出KK0:X_36上穿X_3

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图