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IGH,1)-REF(OPEN,1);
 HJ_33:=HJ_30>HJ_31 AND HJ_31>HJ_32;
 HJ_34:=HJ_30>HJ_32 AND HJ_32>HJ_31;
 HJ_35:=HJ_33 OR HJ_34;
 HJ_36:=OPEN-LOW;
 HJ_37:=HIGH-CLOSE;
 HJ_38:=CLOSE-OPEN;
 HJ_39:=HJ_36>HJ_38 AND HJ_38>HJ_37;
 HJ_40:=HJ_36>HJ_37 AND HJ_37>HJ_38;
 HJ_41:=HJ_39 OR HJ_40;
 HJ_42:=HJ_35 AND HJ_41;
阴阳双下:IF(HJ_29=1,HJ_42,0),COLORGREEN;

{-----------------------------------}




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


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

相关指标公式

HJ_1赋值:1日前的收盘价<1日前的开盘价 AND 收阳线
HJ_2赋值:1日前的最高价-1日前的开盘价
HJ_3赋值:1日前的开盘价-1日前的收盘价
HJ_4赋值:1日前的收盘价-1日前的最低价
HJ_5赋值:HJ_2>HJ_3 AND HJ_3>HJ_4
HJ_6赋值:HJ_2>HJ_4 AND HJ_4>HJ_3
HJ_7赋值:HJ_5 OR HJ_6
HJ_8赋值:开盘价-最低价
HJ_9赋值:最高价-收盘价
HJ_10赋值:收盘价-开盘价
HJ_11赋值:HJ_8>HJ_10 AND HJ_10>HJ_9
HJ_12赋值:HJ_8>HJ_9 AND HJ_9>HJ_10
HJ_13赋值:HJ_11 OR HJ_12
HJ_14赋值:HJ_7 AND HJ_13
输出阴阳上下:如果HJ_1=1,返回HJ_14,否则返回0,画白色
HJ_15赋值:1日前的收盘价>1日前的开盘价 AND 收阳线
HJ_16赋值:1日前的最高价-1日前的收盘价
HJ_17赋值:1日前的收盘价-1日前的开盘价
HJ_18赋值:1日前的开盘价-1日前的最低价
HJ_19赋值:HJ_16>HJ_17 AND HJ_17>HJ_18
HJ_20赋值:HJ_16>HJ_18 AND HJ_18>HJ_17
HJ_21赋值:HJ_19 OR HJ_20
HJ_22赋值:开盘价-最低价
HJ_23赋值:最高价-收盘价
HJ_24赋值:收盘价-开盘价
HJ_25赋值:HJ_22>HJ_24 AND HJ_24>HJ_23
HJ_26赋值:HJ_22>HJ_23 AND HJ_23>HJ_24
HJ_27赋值:HJ_25 OR HJ_26
HJ_28赋值:HJ_21 AND HJ_27
输出阳阳:如果HJ_15=1,返回HJ_28,否则返回0,COLORFF80FF
HJ_29赋值:1日前的收盘价<1日前的开盘价 AND 收阳线ANDSE 收盘价>1日前的收盘价
HJ_30赋值:1日前的收盘价-1日前的最低价
HJ_31赋值:1日前的开盘价-1日前的收盘价
HJ_32赋值:1日前的最高价-1日前的开盘价
HJ_33赋值:HJ_30>HJ_31 AND HJ_31>HJ_32
HJ_34赋值:HJ_30>HJ_32 AND HJ_32>HJ_31
HJ_35赋值:HJ_33 OR HJ_34
HJ_36赋值:开盘价-最低价
HJ_37赋值:最高价-收盘价
HJ_38赋值:收盘价-开盘价
HJ_39赋值:HJ_36>HJ_38 AND HJ_38>HJ_37
HJ_40赋值:HJ_36>HJ_37 AND HJ_37>HJ_38
HJ_41赋值:HJ_39 OR HJ_40
HJ_42赋值:HJ_35 AND HJ_41
输出阴阳双下:如果HJ_29=1,返回HJ_42,否则返回0,画绿色

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

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