![黄金配资公司 [通达信指标]蛟龙出海主图公式](/uploads/allimg/250403/0322332301091O.jpg)
注意:本指标源码用于通达信、通达信金融终端和通达信期货通。01指标源码{温馨提示:画线和突破部分含有未来函数, 其他信号不含未来函数}JIL1:(2*C+H+L)/4,COLOR00FFFF,LINETHICK0;JIL2:=WMA((JIL1-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);JIL3:=WMA(0.618*REF(JIL2,1)+0.382*JIL2,2);DRAWTEXT(CROSS(JIL2,JIL3) AND LAST(JIL2<JIL3,5,1)AND JIL2<30,L-0.1,'←低吸'),COLOR00FF00;DRAWTEXT(CROSS(JIL3,JIL2) AND JIL2>70,H+0.1,'←高抛'),COLOR0077FF;JIL4:MA(C,4);JIL5:=CROSS(JIL2,JIL3) AND LAST(JIL2<JIL3,5,1) AND JIL2<30,COLORRED,NODRAW;DRAWICON(JIL5,REF(CLOSE,1)*0.96,24);JIL6:=IF(L<=LLV(L,100),-10,0);JIL7:=IF(JIL5 AND JIL6=-10,-1,0),COLORRED,NODRAW;JIL8:=REF(JIL5,1) AND C>1.02*MA(C,4)AND CROSS(C,MA(C,4)) AND C>O,COLORRED,NODRAW;N:=5;DRAWTEXT(REF(JIL5,1) AND C>1.02*MA(C,4)AND CROSS(C,MA(C,4)) AND C>O,L,'蛟龙出海'),COLORYELLOW;JIL10:=REF(H,N)=HHV(H,2*N+1);JIL11:=FILTER(JIL10,N);JIL12:=BACKSET(JIL11,N+1);JIL13:=FILTER(JIL12,N);JIL14:=REF(L,N)=LLV(L,2*N+1);JIL15:=FILTER(JIL14,N);JIL16:=BACKSET(JIL15,N+1);JIL17:=FILTER(JIL16,N);JIL18:=(REF(LLV(L,2*N),1)+REF(HHV(H,2*N),1))/2;JIL19:=(H+L)/2;JIL20:=(JIL13 AND NOT(JIL17 AND JIL18>=JIL19)) OR ISLASTBAR OR BARSCOUNT(C)=1;JIL21:=(JIL17 AND NOT(JIL13 AND JIL18<JIL19));JIL22:=JIL13 AND NOT(JIL17 AND JIL18>=JIL19);JIL23:=REF(BARSLAST(JIL20),1)+1;JIL24:=BACKSET(JIL20 AND COUNT(JIL21,JIL23)>0,LLVBARS(IF(JIL21,L,10000),JIL23));JIL25:=JIL24>REF(JIL24,1);JIL26:=BACKSET(JIL25,2);JIL27:=JIL26>REF(JIL26,1);JIL28:=JIL27 OR ISLASTBAR OR BARSCOUNT(C)=1;JIL29:=REF(BARSLAST(JIL28),1)+1;JIL30:=BACKSET(JIL28 AND COUNT(JIL22,JIL29)>0,HHVBARS(IF(JIL22,H,0),JIL29));JIL31:=JIL30>REF(JIL30,1);JIL32:=BACKSET(JIL31,2);JIL33:=JIL32>REF(JIL32,1);JIL34:=BACKSET(ISLASTBAR,BARSLAST(JIL33)+1);JIL35:=JIL34>REF(JIL34,1),COLORRED,NODRAW;JIL36:=BACKSET(ISLASTBAR,BARSLAST(JIL27)+1);JIL37:=JIL36>REF(JIL36,1),COLORRED,NODRAW;JIL38:=BACKSET(JIL35,REF(BARSLAST(JIL33),1)+2);JIL39:=JIL38>REF(JIL38,1),COLORRED,NODRAW;JIL40:=BACKSET(JIL37,REF(BARSLAST(JIL27),1)+2);JIL41:=JIL40>REF(JIL40,1),COLORRED,NODRAW;DRAWICON(JIL37,REF(CLOSE,1)*0.98,13);DRAWICON(JIL35,H*1.01,25);DRAWICON(JIL41,REF(CLOSE,1)*0.98,13);DRAWICON(JIL39,H*1.01,25);JIL42:DRAWLINE(JIL39,H,JIL35,H,1),LINETHICK2,COLORRED;JIL43:DRAWLINE(JIL41,L,JIL37,L,1),LINETHICK2,COLORGREEN;JIL44:DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),COLORYELLOW,LINETHICK2;JIL45:=BARSLAST((VOL=HHV(VOL,14)));JIL46:=JIL45=0;JIL47:=SUMBARS(JIL46,1);JIL48:=SUMBARS(JIL46,2);JIL49:=SUMBARS(JIL46,3);JIL50:=SUMBARS(JIL46,4);JIL51:=SUMBARS(JIL46,5);JIL52:=SUMBARS(JIL46,6);JIL53:=SUMBARS(JIL46,7);JIL54:=SUMBARS(JIL46,8);JIL55:=SUMBARS(JIL46,9);JIL56:=SUMBARS(JIL46,10);JIL57:STICKLINE(JIL47<=30,REF(C,JIL47-1)*1.0001,REF(C,JIL47-1),0.3,0),COLORFFFF00;JIL58:=C/REF(C,1)>1.097;STICKLINE(JIL58,H,O,1,0),COLOR00FFFF;JIL59:=FILTER(JIL58,13);JIL60:=BARSLAST(JIL58);JIL61:=REF(H,JIL60)-REF(L,JIL60);JIL62:=H/REF(C,1);STICKLINE(JIL62>=1.0990 AND C<H,O,C,2,0),COLORMAGENTA;JIL63:=CLOSE/REF(CLOSE,3)>=1.1;JIL64:=BACKSET(JIL63,2);JIL65:=STICKLINE((JIL64 AND COUNT(JIL64,2)=1),0,VOL,3,0),COLORRED;拉:DRAWTEXT(JIL65,H*1.01,'拉'),LINETHICK2,COLOR00FFFF;JIL67:=REF(V,1)<=REF(LLV(VOL,60),1);JIL68:=V/REF(V,1)>1.8;JIL69:=C>O;JIL70:=C/REF(C,1)>1.02;JIL71:=JIL67&&JIL68&&JIL69&&JIL70;DRAWTEXT(JIL71,L-0.1,'抄底'),COLORWHITE;DRAWICON(JIL71,HIGH+0.2,5);JIL72:=CONST(LLVBARS(LOW,N));JIL73:=CONST(REF(HIGH,JIL72));JIL74:=CONST(CURRBARSCOUNT);JIL75:=CONST(BARSLAST((CURRBARSCOUNT >(JIL74+JIL72)) AND (HIGH>JIL73)));JIL76:=CONST(REF(HIGH,JIL75));JIL77:=CONST(BARSLAST((CURRBARSCOUNT >(JIL74+JIL75)) AND (HIGH>JIL76)));JIL78:=CONST(REF(HIGH,JIL77));JIL79:DRAWLINE(CURRBARSCOUNT=10+1,JIL78,ISLASTBAR, JIL78,1),LINETHICK1,COLORLIRED;DRAWTEXT(ISLASTBAR, JIL78,'杀入线')LINETHICK1,COLORLIRED;02图片黄金配资公司黄金配资公司示例
图片
友情提示:本文内容仅作为知识分享,供交流学习使用,不构成任何投资建议,不作为投资依据。
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。