通达信牛熊花开富贵主图筹码类精准指标

X_1:=(COST(97)-COST(3))/10;

X_2:=WINNER(COST(3)+X_1*1)-WINNER(COST(3)+X_1*0);
X_3:=WINNER(COST(3)+X_1*2)-WINNER(COST(3)+X_1*1);
X_4:=WINNER(COST(3)+X_1*3)-WINNER(COST(3)+X_1*2);
X_5:=WINNER(COST(3)+X_1*4)-WINNER(COST(3)+X_1*3);
X_6:=WINNER(COST(3)+X_1*5)-WINNER(COST(3)+X_1*4);
X_7:=WINNER(COST(3)+X_1*6)-WINNER(COST(3)+X_1*5);
X_8:=WINNER(COST(3)+X_1*7)-WINNER(COST(3)+X_1*6);
X_9:=WINNER(COST(3)+X_1*8)-WINNER(COST(3)+X_1*7);
X_10:=WINNER(COST(3)+X_1*9)-WINNER(COST(3)+X_1*8);
X_11:=WINNER(COST(3)+X_1*10)-WINNER(COST(3)+X_1*9);
X_12:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(X_2,X_3),X_4),X_5),X_6),X_7),X_8),X_9),X_10),X_11);
X_13:=IF(X_11>=X_12,COST(3)+X_1*10,IF(X_10>=X_12,COST(3)+X_1*9,IF(X_9>=X_12,COST(3)+X_1*8,IF(X_8>=X_12,COST(3)+X_1*7,IF(X_7>=X_12,COST(3)+X_1*6,IF(X_6>=X_12,COST(3)+X_1*5,IF(X_5>=X_12,COST(3)+X_1*4,IF(X_4>=X_12,COST(3)+X_1*3,IF(X_3>=X_12,COST(3)+X_1*2,IF(X_2>=X_12,COST(3)+X_1*1,0))))))))));
X_14:=IF(X_11<X_12,COST(3)+X_1*10,IF(X_10<X_12,COST(3)+X_1*9,IF(X_9<X_12,COST(3)+X_1*8,IF(X_8<X_12,COST(3)+X_1*7,IF(X_7<X_12,COST(3)+X_1*6,IF(X_6<X_12,COST(3)+X_1*5,IF(X_5<X_12,COST(3)+X_1*4,IF(X_4<X_12,COST(3)+X_1*3,IF(X_3<X_12,COST(3)+X_1*2,IF(X_2<X_12,COST(3)+X_1*1,0))))))))));
X_15:=X_13-X_1*0.5;
X_16:=X_14-X_1*0.5;
DRAWBAND(X_15,RGB(56,94,15),X_16,RGB(56,94,15));
EMA(EMA(EMA(COST(99.900002),5),5),5)*1.15,COLORYELLOW;
EMA(EMA(EMA(COST(99.900002),5),5),5)*1.1,COLORYELLOW;
EMA(EMA(EMA(COST(99.900002),5),5),5)*1.05,COLORYELLOW;
EMA(EMA(EMA(COST(99.900002),5),5),5),COLORYELLOW;
EMA(EMA(EMA(COST(99.900002),5),5),5)*0.95,COLORYELLOW;
EMA(EMA(EMA(COST(99.900002),5),5),5)*0.9,COLORYELLOW;
EMA(EMA(EMA(COST(99.900002),5),5),5)*0.85,COLORYELLOW;
EMA(EMA(EMA(COST(0.01),5),5),5)*1.15,DOTLINE,COLORCYAN;
EMA(EMA(EMA(COST(0.01),5),5),5)*1.1,DOTLINE,COLORCYAN;
EMA(EMA(EMA(COST(0.01),5),5),5)*1.05,DOTLINE,COLORCYAN;
EMA(EMA(EMA(COST(0.01),5),5),5),DOTLINE,COLORCYAN;
EMA(EMA(EMA(COST(0.01),5),5),5)*0.95,DOTLINE,COLORCYAN;
EMA(EMA(EMA(COST(0.01),5),5),5)*0.9,DOTLINE,COLORCYAN;
EMA(EMA(EMA(COST(0.01),5),5),5)*0.85,DOTLINE,COLORCYAN;
牛熊分界:EMA(EMA(EMA(COST(50),5),5),5)*0.85,COLORRED,LINETHICK2;
X_17:=REF(HHV(HIGH,240),1)/1.2;
X_18:=REF(HHV(HIGH,240),1)/1.1;
X_19:=REF(HHV(HIGH,240),1);
X_20:=REF(HHV(HIGH,240),1)*1.1;
X_21:=REF(X_18,BARSLAST(CLOSE<X_18));
X_22:=REF(X_19,BARSLAST(CLOSE<X_18));
X_23:=REF(X_20,BARSLAST(CLOSE<X_18));
X_24:=REF(X_17,BARSLAST(CLOSE<X_17));
X_25:=REF(X_18,BARSLAST(CLOSE<X_17));
X_26:=REF(X_19,BARSLAST(CLOSE<X_17));
X_27:=REF(X_20,BARSLAST(CLOSE<X_17));
X_28:=REF(LLV(LOW,240),1)/1.2;
X_29:=REF(LLV(LOW,240),1)/1.1;
X_30:=REF(LLV(LOW,240),1);
X_31:=REF(LLV(LOW,240),1)*1.1;
X_32:=REF(X_29,BARSLAST(CLOSE>X_29));
X_33:=REF(X_30,BARSLAST(CLOSE>X_29));
X_34:=REF(X_31,BARSLAST(CLOSE>X_29));
X_35:=REF(X_28,BARSLAST(CLOSE>X_28));
X_36:=REF(X_29,BARSLAST(CLOSE>X_28));
X_37:=REF(X_30,BARSLAST(CLOSE>X_28));
X_38:=REF(X_31,BARSLAST(CLOSE>X_28));
X_39:=COST(0.001);
X_40:=COST(0.001)+(COST(99.999001)-COST(0.001))/20*2;
X_41:=COST(0.001)+(COST(99.999001)-COST(0.001))/20*4;
X_42:=COST(0.001)+(COST(99.999001)-COST(0.001))/20*6;
X_43:=COST(0.001)+(COST(99.999001)-COST(0.001))/20*8;
X_44:=COST(0.001)+(COST(99.999001)-COST(0.001))/20*10;
X_45:=COST(0.001)+(COST(99.999001)-COST(0.001))/20*12;
X_46:=COST(0.001)+(COST(99.999001)-COST(0.001))/20*14;
X_47:=COST(0.001)+(COST(99.999001)-COST(0.001))/20*16;
X_48:=COST(0.001)+(COST(99.999001)-COST(0.001))/20*18;
X_49:=COST(99.999001);
X_50:=MAX(MAX(MAX(MAX(MAX(WINNER(X_40)-WINNER(X_39),WINNER(X_41)-WINNER(X_40)),MAX(WINNER(X_42)-WINNER(X_41),WINNER(X_43)-WINNER(X_42))),MAX(WINNER(X_44)-WINNER(X_43),WINNER(X_45)-WINNER(X_44))),MAX(WINNER(X_46)-WINNER(X_45),WINNER(X_47)-WINNER(X_46))),MAX(WINNER(X_48)-WINNER(X_47),WINNER(X_49)-WINNER(X_48)));
X_51:=IF(X_50=WINNER(X_40)-WINNER(X_39),(X_40+X_39)/2,IF(X_50=WINNER(X_41)-WINNER(X_40),(X_41+X_40)/2,IF(X_50=WINNER(X_42)-WINNER(X_41),(X_42+X_41)/2,IF(X_50=WINNER(X_43)-WINNER(X_42),(X_43+X_42)/2,IF(X_50=WINNER(X_44)-WINNER(X_43),(X_44+X_43)/2,IF(X_50=WINNER(X_45)-WINNER(X_44),(X_45+X_44)/2,IF(X_50=WINNER(X_46)-WINNER(X_45),(X_46+X_45)/2,IF(X_50=WINNER(X_47)-WINNER(X_46),(X_47+X_46)/2,IF(X_50=WINNER(X_48)-WINNER(X_47),(X_48+X_47)/2,(X_49+X_48)/2)))))))));
X_52:=DMA(CLOSE,VOL/CAPITAL)*100;
X_53:=(CLOSE-LOW)/(HIGH-LOW)*100;
X_54:=(HIGH-LOW)/(HIGH-LOW)*100;
X_55:=X_54-X_53;
X_56:=CLOSE;
X_57:=COST(X_53);
IF(X_56>X_51 AND X_56>X_24,牛熊分界,DRAWNULL),CROSSDOT,COLORYELLOW,LINETHICK7;
IF(X_56>X_51 AND X_56>X_24,牛熊分界,DRAWNULL),CIRCLEDOT,COLORMAGENTA,LINETHICK2;
IF(X_56>X_57 AND X_56>X_24,牛熊分界,DRAWNULL),CROSSDOT,COLORMAGENTA,LINETHICK7;
IF(X_56>X_57 AND X_56>X_24,牛熊分界,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK2;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
DRAWTEXT_FIX(CLOSE>OPEN,0.01,0.9,0,200),COLORMAGENTA;




未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

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