市场动态如何影响行业发展 [理会信狡计]概括冲破主图公式

摘要:狡计源码 图片 01 LT:=LLVBARS(L,60); LTT:=BARSLAST(CURRBARSCOUNT=CONST(LT)+1); HT:=FINDHIGHBARS(H,LT+1,60,1); TPZ:DRAWLINE(CURRBARSCOUNT=CONST(HT)+1,H,ISLASTBAR,REF(H,HT),0),COLORYELLOW,LINETHICK2; TD:=CROSS(C,TPZ); DRAWTEXT(TD,L,'水平冲破'),COLORRED; JDTP1:=1...

市场动态如何影响行业发展 [理会信狡计]概括冲破主图公式

狡计源码

图片

01

LT:=LLVBARS(L,60);

LTT:=BARSLAST(CURRBARSCOUNT=CONST(LT)+1);

HT:=FINDHIGHBARS(H,LT+1,60,1);

TPZ:DRAWLINE(CURRBARSCOUNT=CONST(HT)+1,H,ISLASTBAR,REF(H,HT),0),COLORYELLOW,LINETHICK2;

TD:=CROSS(C,TPZ);

DRAWTEXT(TD,L,'水平冲破'),COLORRED;

JDTP1:=15;

JDTP2:=20;

JDTP3:=40;

JDTP4:=FILTERX(CURRBARSCOUNT>20 AND CURRBARSCOUNT<120 AND HIGH=HHV(HIGH,120),100);

JDTP5:=BARSLAST(JDTP4);

JDTP6:=REF(HIGH,JDTP5);

JDTP7:=10/TAN(JDTP1*3.1416/180);

JDTP8:=JDTP6*0.1/JDTP7;

JDTP9:IF(RANGE(JDTP5,(-1),100),JDTP6-JDTP8*JDTP5,DRAWNULL),COLORMAGENTA;

JDTP10:=IF(JDTP5=JDTP2,(JDTP6-HIGH)/JDTP2,DRAWNULL);

JDTP11:=IF(CURRBARSCOUNT=1 AND JDTP5>JDTP2,REF(JDTP10,JDTP5-JDTP2),DRAWNULL);

JDTP12:=CONST(JDTP11);

JDTP13:=IF(RANGE(JDTP5,(-1),100),JDTP6-JDTP12*JDTP5,DRAWNULL);

JDTP14:=IF(CURRBARSCOUNT<10,CONST(JDTP13),DRAWNULL);

JDTP15:IF(EVERY(LOW>JDTP13,10),DRAWNULL,JDTP13),COLORGREEN;

STICKLINE(JDTP5=JDTP2,LLV(LOW,JDTP2)*0.95,JDTP6,0,0),COLORLIGRAY;

JDTP16:=IF(JDTP5=JDTP3,(JDTP6-HIGH)/JDTP3,DRAWNULL);

JDTP17:=IF(CURRBARSCOUNT=1 AND JDTP5>JDTP3,REF(JDTP16,JDTP5-JDTP3),DRAWNULL);

JDTP18:=CONST(JDTP17);

JDTP19:=IF(RANGE(JDTP5,(-1),100),JDTP6-JDTP18*JDTP5,DRAWNULL);

JDTP20:=IF(CURRBARSCOUNT<10,CONST(JDTP19),DRAWNULL);

JDTP21:JDTP19,COLORYELLOW;

STICKLINE(JDTP5=JDTP3,LLV(LOW,JDTP3)*0.95,JDTP6,0,0),COLORLIGRAY;

JDTP22:=JDTP5>40 AND REF(CROSS(LOW,JDTP9),1) AND CLOSE<OPEN;

JDTP23:=JDTP5>40 AND REF(CROSS(LOW,JDTP9),1) AND CLOSE>OPEN;

DRAWICON(JDTP23,LOW*0.95,1);

TUY1:=EMA(C,13);

TUY2:=EMA(C,21);

TUY3:=EMA(TUY2,13);

TUY4:=EMA(TUY2,17);

TUY5:(TUY3+TUY4)/2,NODRAW;

TUY6:(EMA(TUY1,2)+EMA(TUY1,7))/2,COLORGREEN;

TUY7:IF(TUY6>REF(TUY6,1),TUY6,DRAWNULL),COLORRED;

STICKLINE(TUY5>REF(TUY5,1),TUY3,TUY4,1,0),COLORRED;

STICKLINE(TUY5<REF(TUY5,1),TUY3,TUY4,1,0),COLORGREEN;

STICKLINE(TUY5=REF(TUY5,1),TUY3,TUY4,1,0),COLORGRAY;

TUY8:EMA(C,144),POINTDOT,COLORRED;

TUY9:IF(TUY8<REF(TUY8,1),TUY8,DRAWNULL),POINTDOT,COLORGREEN;

DRAWICON(CROSS(TUY5>REF(TUY5,1),0.5) AND TUY8>REF(TUY8,1),L,42);

DRAWICON(CROSS(TUY5<REF(TUY5,1),0.5) AND TUY8<REF(TUY8,1),H,43);

TUY10:=IF(H<REF(H,1)&&REF(H,1)<REF(H,2),REF(H,2),0);

TUY11:=IF(L>REF(L,1)&&REF(L,1)>REF(L,2),REF(L,2),0);

TUY12:=VALUEWHEN(TUY10>0,TUY10);

TUY13:=VALUEWHEN(TUY11>0,TUY11);

TUY14:=DATE;

TUY15:=TUY12,LINETHICK2;

TUY16:=TUY13;

TUY17:=O,LINETHICK2;

TUY18:=C;

TUY19:=H;

TUY20:=L;

TUY21:=VALUEWHEN(TUY15>0,TUY15),LINETHICK2;

TUY22:=VALUEWHEN(TUY16>0,TUY16),LINETHICK2;

TUY23:=IF(CLOSE>TUY21,-3,IF(CLOSE<TUY22,1,0));

TUY24:=VALUEWHEN(TUY23<>0,TUY23);

TUY25:=IF(TUY24=1,TUY21,TUY22);

TUY26:=VALUEWHEN(ISLASTBAR,TUY25);

TUY27:=IF(TUY24=1,TUY21,TUY22);

TUY28:=VALUEWHEN(ISLASTBAR,TUY27);

DRAWNUMBER(L>0,TUY28,TUY28),COLORBLUE;

DRAWNUMBER(H>0,TUY28,TUY28),COLORBLUE;

TUY29:=TUY24,LINETHICK2;

TUY30:=TUY24,LINETHICK2;

TUY31:=TUY29,LINETHICK2;

TUY32:=OPEN-CLOSE,LINETHICK2;

TUY33:=TUY32,LINETHICK2;

TUY34:=IF(OPEN>CLOSE,OPEN,CLOSE),LINETHICK2;

TUY35:=IF(OPEN<CLOSE,OPEN,CLOSE),LINETHICK2;

STICKLINE(TUY31=1,TUY19,TUY34,0,0),COLORGREEN;

STICKLINE(TUY31=1,TUY20,TUY35,0,0),COLORGREEN;

STICKLINE(TUY31=-3,TUY19,TUY34,0,0),COLORRED;

STICKLINE(TUY31=-3,TUY20,TUY35,0,0),COLORRED;

STICKLINE(TUY31>0,TUY17,TUY18,2.5,1),COLORGREEN;

STICKLINE(TUY31<=0,TUY17,TUY18,2.5,1),COLORRED;

STICKLINE(TUY33>0&&TUY31<=0,TUY17,TUY18,2.5,0),COLORRED;

STICKLINE(TUY33>0&&TUY31>0,TUY17,TUY18,2.5,0),COLORGREEN;

TUY36:DRAWSL(TUY24=1 && BACKSET(ISLASTBAR,SUMBARS(TUY24=1 && TUY25<>REF(TUY25,1),1)),TUY25,0,1,2),COLORBLUE;

TUY37:DRAWSL(TUY24=-3 && BACKSET(ISLASTBAR,SUMBARS(TUY24=-3 && TUY25<>REF(TUY25,1),1)),TUY25,0,1,2),COLORBLUE;

TUY38:=12;

TUY39:=REF(H,5)=HHV(H,2*6+1);

TUY40:=FILTER(TUY39,5);

TUY41:=BACKSET(TUY40,5+1);

TUY42:=FILTER(TUY41,5+1);

TUY43:=REF(L,5)=LLV(L,2*10+1);

TUY44:=FILTER(TUY43,5+1);

TUY45:=BACKSET(TUY44,5+1);

TUY46:=FILTER(TUY45,5);

TUY47:=(REF(LLV(L,2*3),1)+REF(HHV(H,2*3),1))/2;

TUY48:=(H+L)/2;

TUY49:=(TUY42 AND NOT(TUY46 AND TUY47>=TUY48)) OR BARSTATUS=2 OR BARSCOUNT(C)=1;

TUY50:=(TUY46 AND NOT(TUY42 AND TUY47< TUY48));

TUY51:=TUY42 AND NOT(TUY46 AND TUY47>=TUY48);

TUY52:=REF(BARSLAST(TUY49),1)+1;

TUY53:=IF(BACKSET(TUY49 AND COUNT(TUY50,TUY52)>0,LLVBARS(IF(TUY50,L,10000),TUY52))>0,1,0);

TUY54:=TUY53>REF(TUY53,1);

TUY55:=BACKSET(TUY54,2);

TUY56:=TUY55>REF(TUY55,1);

TUY57:=TUY56 OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1;

TUY58:=REF(BARSLAST(TUY57),1)+1;

TUY59:=IF(BACKSET(TUY57 AND COUNT(TUY51,TUY58)>0,HHVBARS(IF(TUY51,HIGH,0),TUY58))>0,1,0);

TUY60:=TUY59>REF(TUY59,1);

TUY61:=BACKSET(TUY60,2);

TUY62:=TUY61>REF(TUY61,1);

TUY63:=TUY62;

TUY64:=TUY56;

DRAWLINE(TUY56,L,TUY62,H,0),COLORRED,DOTLINE;

DRAWLINE(TUY62,H,TUY56,L,0),COLORGREEN,DOTLINE;

TUY65:=VALUEWHEN(TUY63,H),NODRAW;

TUY66:=VALUEWHEN(TUY63,REF(TUY65,1)),NODRAW;

TUY67:=IF(TUY66>TUY65,2,1),NODRAW;

DRAWLINE(CROSS(BACKSET(ISLASTBAR,SUMBARS(TUY63,TUY67)),0.5),H,CROSS(BACKSET(ISLASTBAR,SUMBARS(TUY63,1)),0.5),H,1),LINETHICK1,COLORGREEN;

TUY68:=VALUEWHEN(TUY64,L),NODRAW;

TUY69:=VALUEWHEN(TUY64,REF(TUY68,1)),NODRAW;

TUY70:=IF(TUY69<TUY68,2,1),NODRAW;

DRAWLINE(CROSS(BACKSET(ISLASTBAR,SUMBARS(TUY64,TUY70)),0.5),L,CROSS(BACKSET(ISLASTBAR,SUMBARS(TUY64,1)),0.5),L,1),LINETHICK1,COLORRED;

TUY71:=CROSS(BACKSET(ISLASTBAR,SUMBARS(TUY64,1)),0.5);

TUY72:=CROSS(BACKSET(ISLASTBAR,SUMBARS(TUY64,TUY70)),0.5);

TUY73:=CROSS(BACKSET(ISLASTBAR,SUMBARS(TUY63,1)),0.5);

TUY74:=CROSS(BACKSET(ISLASTBAR,SUMBARS(TUY63,TUY67)),0.5);

DRAWSL(TUY71,VALUEWHEN(TUY71,L)+0.382*(VALUEWHEN(TUY63,H)-VALUEWHEN(TUY72,L)),0,3,0),COLORYELLOW;

DRAWSL(TUY71,VALUEWHEN(TUY71,L)+0.618*(VALUEWHEN(TUY63,H)-VALUEWHEN(TUY72,L)),0,10,0),COLORYELLOW;

DRAWSL(TUY71,VALUEWHEN(TUY71,L)+1.000*(VALUEWHEN(TUY63,H)-VALUEWHEN(TUY72,L)),0,25,0),COLORLIMAGENTA;

DRAWSL(TUY71,VALUEWHEN(TUY71,L)+1.382*(VALUEWHEN(TUY63,H)-VALUEWHEN(TUY72,L)),0,3,0),COLORYELLOW;

DRAWNUMBER(TUY71,VALUEWHEN(TUY71,L)+0.618*(VALUEWHEN(TUY63,H)-VALUEWHEN(TUY72,L)),VALUEWHEN(TUY71,L)+0.618*(VALUEWHEN(TUY63,H)-VALUEWHEN(TUY72,L))),COLORYELLOW;

DRAWNUMBER(TUY71,VALUEWHEN(TUY71,L)+1.000*(VALUEWHEN(TUY63,H)-VALUEWHEN(TUY72,L)),VALUEWHEN(TUY71,L)+1.000*(VALUEWHEN(TUY63,H)-VALUEWHEN(TUY72,L))),COLORYELLOW;

DRAWSL(TUY73,VALUEWHEN(TUY73,H)-0.382*(VALUEWHEN(TUY74,H)-VALUEWHEN(TUY64,L)),0,3,0),COLORWHITE;

DRAWSL(TUY73,VALUEWHEN(TUY73,H)-0.618*(VALUEWHEN(TUY74,H)-VALUEWHEN(TUY64,L)),0,10,0),COLORWHITE;

DRAWSL(TUY73,VALUEWHEN(TUY73,H)-1.000*(VALUEWHEN(TUY74,H)-VALUEWHEN(TUY64,L)),0,25,0),COLORGREEN;

DRAWSL(TUY73,VALUEWHEN(TUY73,H)-1.382*(VALUEWHEN(TUY74,H)-VALUEWHEN(TUY64,L)),0,3,0),COLORWHITE;

DRAWNUMBER(TUY73,VALUEWHEN(TUY73,H)-0.618*(VALUEWHEN(TUY74,H)-VALUEWHEN(TUY64,L)),VALUEWHEN(TUY73,H)-0.618*(VALUEWHEN(TUY74,H)-VALUEWHEN(TUY64,L))),COLORLICYAN;

DRAWNUMBER(TUY73,VALUEWHEN(TUY73,H)-1.000*(VALUEWHEN(TUY74,H)-VALUEWHEN(TUY64,L)),VALUEWHEN(TUY73,H)-1.000*(VALUEWHEN(TUY74,H)-VALUEWHEN(TUY64,L))),COLORLICYAN;

TUY75:=REF(CLOSE,1);

TUY76:=SMA(MAX(CLOSE-TUY75,0),4,1)/SMA(ABS(CLOSE-TUY75),4,1)*100,COLORBLUE;

DRAWICON(CROSS(8,TUY76),L*0.999,36);

DRAWICON(CROSS(TUY76,92),H*1.001,37);

TUY77:=SMA(((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100),3,1),NODRAW;

STICKLINE(TUY77>92 AND C>O,H,L,0,0),COLORYELLOW;

STICKLINE(TUY77>92 AND C>O,C,O,2.3,1),COLORYELLOW;

STICKLINE(TUY77>92 AND C<O,H,L,0,0),COLORYELLOW;

STICKLINE(TUY77>92 AND C<O,C,O,2.3,0),COLORYELLOW;

STICKLINE(TUY77<8 AND C<O,H,L,0,0),COLORYELLOW;

STICKLINE(TUY77<8 AND C<O,C,O,2.3,0),COLORYELLOW;

STICKLINE(TUY77<8 AND C>O,H,L,0,0),COLORYELLOW;

STICKLINE(TUY77<8 AND C>O,C,O,2.3,1),COLORYELLOW;

TUY78:VALUEWHEN(TUY63,REF(TUY66,1)),NODRAW;

TUY79:VALUEWHEN(TUY64,REF(TUY69,1)),NODRAW;

TUY80:=IF(TUY78>TUY66,IF(TUY66>TUY65,1,2),IF(TUY78>TUY65,1,3));

TUY81:=CROSS(BACKSET(ISLASTBAR,SUMBARS(TUY63,TUY80)),0.5);

TUY82:=IF(TUY79<TUY69,IF(TUY69>TUY68,2,1),IF(TUY79>TUY68,3,1));

TUY83:=CROSS(BACKSET(ISLASTBAR,SUMBARS(TUY64,TUY82)),0.5);

TUY84:=CONST(MIN(MIN(TUY65,TUY66),TUY78));

TUY85:=CONST(MAX(MAX(TUY68,TUY69),TUY79));

DRAWSL(TUY84,TUY84,0,999,0),LINETHICK2,COLORCYAN;

DRAWSL(TUY85,TUY85,0,99,0),LINETHICK2;

图片

图片

图片

图片示例

图片

图片

风险指示:本狡计公式仅动作学问共享,供相易学习使用,不组成任何投资提议,不动作投资依据。  

图片

本站仅提供存储职业,扫数实践均由用户发布,如发现存害或侵权实践,请点击举报。

市场动态

竞争分析

行业报告