特别提醒:一个主图 牛郎织女A
三个副图 资金监测B
鹊桥相会C AI模型 (主图延伸)
喜 相 缝 D AI模型 (主图延伸)
五个选股器
主图
牛郎织女A主图
牛郎线:MA(MA(LOW,3),3),NODRAW,COLORYELLOW;
X_1:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55);
X_2:=EMA(CLOSE/X_1*(1.88*CLOSE+LOW+OPEN)/2.75,3);
X_3:=(X_2-X_1)/X_1/2;
X_4:=EMA(X_2-X_3*X_2,5);
X_5:=EMA(CLOSE,21)-3*STD(CLOSE,21);
织女线:IF(牛郎线>X_4,牛郎线,X_4),NODRAW,COLORMAGENTA;
鹊桥会:IF(CLOSE>织女线,织女线,DRAWNULL),COLORLIMAGENTA,LINETHICK2;
X_6:=IF(X_4<牛郎线 AND X_4<CLOSE*0.15,X_5,X_4);
DRAWBAND(X_6,RGB(0,0,0),织女线,RGB(100,100,0));
DRAWBAND(鹊桥会,RGB(155,155,0),X_6,RGB(155,155,0));
X_7:=IF(织女线>REF(织女线,1),织女线,织女线);
X_8:=BARSLASTCOUNT(X_6!=X_7)=1;
相会:IF(X_8,MIN(X_6,鹊桥会)*1,DRAWNULL),COLOR0066FF;
DRAWICON(X_8,MIN(X_6,鹊桥会)*1.02,26);
DRAWBAND(EMA(鹊桥会,3),RGB(55,55,0),鹊桥会,RGB(180,180,0));
天河:HHV(MA(MA(LOW,3),3),60),COLORYELLOW,LINETHICK3;
IF(牛郎线>=REF(天河,1),牛郎线,DRAWNULL),COLORRED,LINETHICK3;
X_9:=6;
X_10:=6;
X_11:=IF(HIGH=HHV(HIGH,8*X_9),HIGH,DRAWNULL);
X_12:=CONST(BARSLAST(X_11=HIGH))+1;
X_13:=CONST(IF(X_12=1,HIGH,REF(HIGH,X_12-1)));
X_14:=IF(LOW=LLV(LOW,8*X_10),LOW,DRAWNULL);
X_15:=CONST(BARSLAST(X_14=LOW))+1;
X_16:=CONST(IF(X_15=1,LOW,REF(LOW,X_15-1)));
X_17:=CURRBARSCOUNT<=X_15 AND LOW=X_16;
X_18:=CURRBARSCOUNT<=X_12 AND HIGH=X_13;
STICKLINE(IF(X_15>X_12,X_18,X_17),X_16,X_13,0,0),COLOR628962;
STICKLINE(IF(X_15>X_12,X_17,X_18),X_16,X_13,0,0),COLOR628962;
NOTEXT3高:IF(CURRBARSCOUNT<=MAX(X_15,X_12),X_13,DRAWNULL),DOTLINE,COLOR628962;
NOTEXT4峰:REF(LOW,BARSLAST(X_18)),DOTLINE,COLOR628962;
NOTEXT5低:IF(CURRBARSCOUNT<=MAX(X_15,X_12),X_16,DRAWNULL),DOTLINE,COLOR628962;
NOTEXT6谷:REF(HIGH,BARSLAST(X_17)),DOTLINE,COLOR628962;
X_19:=EMA(EMA(CLOSE,1),5);
X_20:=EMA(HHV(X_19,5),1);
X_21:=EMA(HHV(X_20,21),1);
X_22:=EMA(HHV(X_21,21),2);
X_23:=EMA(HHV(X_22,21),3);
X_24:=EMA(HHV(X_23,21),4);
X_25:=EMA(HHV(X_24,21),5);
牛线:EMA(HHV(X_25,21),6),NODRAW,COLORWHITE;
STICKLINE(CLOSE,OPEN,CLOSE,3,0),COLORBLACK,LINETHICK2;
STICKLINE(CLOSE,HIGH,LOW,0,0),COLORBLACK,LINETHICK2;
X_26:=EMA(CLOSE,6);
X_27:=(X_26-REF(X_26,1))/REF(X_26,1)*100;
STICKLINE(X_26>0,OPEN,CLOSE,3,0),COLORLIRED;
STICKLINE(X_26>0,HIGH,LOW,0,0),COLORLIRED;
STICKLINE(X_26>0 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORLIRED;
STICKLINE(X_26>0 AND CLOSE>OPEN,OPEN,LOW,0,0),COLORLIRED;
STICKLINE(X_26>0 AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORLIRED;
STICKLINE(CLOSE>天河 AND CLOSE>=OPEN,OPEN,CLOSE,3,1),COLORLIMAGENTA;
STICKLINE(CLOSE>天河 AND CLOSE>=OPEN,HIGH,CLOSE,0,0),COLORLIMAGENTA;
STICKLINE(CLOSE>天河 AND CLOSE>=OPEN,LOW,OPEN,0,0),COLORLIMAGENTA;
STICKLINE(CLOSE>天河 AND CLOSE<OPEN,OPEN,CLOSE,3,0),COLORLIMAGENTA;
STICKLINE(CLOSE>天河 AND CLOSE<OPEN,HIGH,OPEN,0,0),COLORLIMAGENTA;
STICKLINE(CLOSE>天河 AND CLOSE<OPEN,LOW,CLOSE,0,0),COLORLIMAGENTA;
STICKLINE(X_27<0,OPEN,CLOSE,3,0),COLORCYAN;
STICKLINE(X_27<0,HIGH,LOW,0,0),COLORCYAN;
STICKLINE(X_27<0 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORCYAN;
STICKLINE(X_27<0 AND CLOSE>OPEN,OPEN,LOW,0,0),COLORCYAN;
STICKLINE(X_27<0 AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORCYAN;
STICKLINE(CLOSE>=X_6 AND CLOSE>=OPEN,OPEN,CLOSE,3,1),COLORGREEN;
STICKLINE(CLOSE>=X_6 AND CLOSE>=OPEN,HIGH,CLOSE,0,0),COLORGREEN;
STICKLINE(CLOSE>=X_6 AND CLOSE>=OPEN,LOW,OPEN,0,0),COLORGREEN;
STICKLINE(CLOSE>=X_6 AND CLOSE<OPEN,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(CLOSE>=X_6 AND CLOSE<OPEN,HIGH,OPEN,0,0),COLORGREEN;
STICKLINE(CLOSE>=X_6 AND CLOSE<OPEN,LOW,CLOSE,0,0),COLORGREEN;
STICKLINE(CLOSE>鹊桥会 AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORRED;
STICKLINE(CLOSE>鹊桥会 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORRED;
STICKLINE(CLOSE>鹊桥会 AND CLOSE>OPEN,LOW,OPEN,0,0),COLORRED;
STICKLINE(CLOSE>鹊桥会 AND CLOSE<OPEN,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(CLOSE>鹊桥会 AND CLOSE<OPEN,HIGH,OPEN,0,0),COLORRED;
STICKLINE(CLOSE>鹊桥会 AND CLOSE<OPEN,LOW,CLOSE,0,0),COLORRED;
X_28:=IF(CLOSE>REF(CLOSE,1),88,0);
X_29:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND X_28>0,91,0);
DRAWICON(X_29>90,LOW*0.98,23),COLOR008364;
STICKLINE(LOW>REF(HIGH,1),REF(HIGH,1),LOW,4,(-1)),COLORYELLOW;
STICKLINE(HIGH<REF(LOW,1),REF(LOW,1),HIGH,4,(-1)),COLORDFDF00;
NOTEXT突1:IF(CROSS(CLOSE,天河),天河,DRAWNULL),CIRCLEDOT,COLORWHITE,LINETHICK2;
X_30:=MA((LOW+HIGH+CLOSE)/3,5);
子温(加速):HHV(X_30,60),DOTLINE,COLORLIRED;
牛达(起飞):REF(HHV(HIGH,120),4),DOTLINE,COLOR00AAFF;
鹊桥相会副图
牛郎线:MA(MA(LOW,3),3),COLORYELLOW;
X_1:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55);
X_2:=EMA(CLOSE/X_1*(1.88*CLOSE+LOW+OPEN)/2.75,3);
X_3:=(X_2-X_1)/X_1/2;
X_4:=EMA(X_2-X_3*X_2,5);
X_5:=EMA(CLOSE,21)-3*STD(CLOSE,21);
织女线:IF(牛郎线>X_4,牛郎线,X_4),COLORMAGENTA;
X_6:=IF(织女线>REF(织女线,1),织女线,织女线);
鹊桥会:IF(CLOSE>织女线,织女线,DRAWNULL),NODRAW,COLORLIMAGENTA;
X_7:=IF(X_4<牛郎线 AND X_4<CLOSE*0.15,X_5,X_4);
X_8:=BARSLASTCOUNT(X_7!=X_6)=1;
相会:IF(X_8,MIN(X_7,鹊桥会)*1,DRAWNULL),COLOR0066FF;
DRAWICON(X_8,MIN(X_7,鹊桥会)*1.02,26);
X_9:=牛郎线>REF(牛郎线,1) AND X_7>REF(X_7,1);
X_10:=IF(X_9,牛郎线,牛郎线);
DRAWBAND(X_10,RGB(155,155,0),牛郎线,RGB(130,130,0));
DRAWBAND(X_7,RGB(155,155,0),织女线,RGB(100,100,0));
DRAWBAND(鹊桥会,RGB(155,155,0),X_7,RGB(155,155,0));
天河:HHV(MA(MA(LOW,3),3),60),COLORYELLOW,LINETHICK3;
NOTEXT1:IF(牛郎线>=REF(天河,1),牛郎线,DRAWNULL),COLORRED,LINETHICK3;
NOTEXT突1:IF(CROSS(CLOSE,天河),天河,DRAWNULL),CIRCLEDOT,COLORWHITE,LINETHICK2;
捉牛线:HHV(MA(CLOSE,5),100),COLORAAAAAA,LINETHICK2;
NOTEXT2:IF(MA(CLOSE,5)>=REF(捉牛线,1),捉牛线,DRAWNULL),COLOR800FFF,LINETHICK2;
NOTEXT突2:IF(CROSS(CLOSE,捉牛线),捉牛线,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK2;
X_11:=EMA(EMA(CLOSE,1),5);
X_12:=EMA(HHV(X_11,5),1);
X_13:=EMA(HHV(X_12,21),1);
X_14:=EMA(HHV(X_13,21),2);
X_15:=EMA(HHV(X_14,21),3);
X_16:=EMA(HHV(X_15,21),4);
X_17:=EMA(HHV(X_16,21),5);
牛线:EMA(HHV(X_17,21),6),NODRAW,COLORWHITE;
天仙配MACD资金副图
参数1: SHORT, 最小: 0, 最大: 50, 缺省: 12
参数2: LONG, 最小: 0, 最大: 50, 缺省: 26
参数3: MID, 最小: 0, 最大: 50, 缺省: 9
公式源码:
X_1:=100*(EMA(CLOSE,9)-EMA(CLOSE,26));
X_2:=EMA(X_1,5);
X_3:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
X_4:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55);
X_5:=EMA(CLOSE/X_4*(1.88*CLOSE+LOW+OPEN)/2.75,3);
X_6:=(X_5-X_4)/X_4/2;
X_7:=EMA(X_5-X_6*X_5,5);
X_8:=EMA(CLOSE,21)-3*STD(CLOSE,21);
X_9:=IF(X_3>X_7,X_3,X_7);
X_10:=IF(X_9>REF(X_9,1),X_9,X_9);
X_11:=IF(CLOSE>X_9,X_9,DRAWNULL);
X_12:=IF(X_7<X_3 AND X_7<CLOSE*0.15,X_8,X_7);
STICKLINE(X_11>=X_12,REFDATE(HHV(X_1*1.04,130),DATE),REFDATE(LLV(X_1,130),DATE),6,0),COLOR0088FF;
STICKLINE(X_12<X_9,REFDATE(HHV(X_1*1.06,130),DATE),REFDATE(LLV(X_1,130),DATE),6,0),COLOR005555;
X_13:=X_11;
STICKLINE(X_13<REF(X_13,1),REFDATE(HHV(X_1*1.04,130),DATE),REFDATE(LLV(X_1,130),DATE),6,0),COLORBROWN;
STICKLINE(X_13>REF(X_13,1),REFDATE(HHV(X_1*1.06,130),DATE),REFDATE(LLV(X_1,130),DATE),6,0),COLORBROWN;
X_14:=EMA(HHV(CLOSE,5),5);
X_15:=EMA(HHV(CLOSE,15),15);
X_16:=EMA(MA(CLOSE,5),2);
X_17:=IF(EMA(CLOSE,3)<X_16,EMA(CLOSE,3)-(X_16-EMA(CLOSE,3)),X_16);
X_18:=IF(EMA(CLOSE,6)>=X_16,EMA(CLOSE,6)-(X_16-EMA(CLOSE,6)),X_16);
X_19:=IF(EMA(CLOSE,9)>=X_16,EMA(CLOSE,9)-(X_16-EMA(CLOSE,9)),X_16);
X_20:=REF(HIGH,1)-REF(LOW,1);
X_21:=(HIGH+LOW+CLOSE)/3;
X_22:=X_21+X_20;
X_23:=X_21-X_20;
X_24:=2*X_21-LOW;
X_25:=2*X_21-HIGH;
X_26:=HHV(REF(X_21+X_24+X_25+CLOSE,1)/4,1);
X_27:=HHV(X_26,5);
X_28:=SMA(MAX(CLOSE-X_27,0),10,1)/SMA(ABS(CLOSE-X_27),10,1)*100;
X_29:=EMA(HHV(X_28,1),1);
X_30:=HHV(HHV(X_28,1),10);
X_31:=HHV(HHV(X_28,1),21);
X_32:=EMA(LLV(X_28,1),5);
STICKLINE(X_19>=X_15 AND X_16<=X_17 AND X_29>=X_32,REFDATE(HHV(X_1,130),DATE),REFDATE(LLV(X_1,130),DATE),8,0),COLORAAAAAA,LINETHICK2;
X_33:=EMA(CLOSE,9);
X_34:=EMA(X_33*1.14,5);
X_35:=EMA(CLOSE,2);
STICKLINE(X_35>=X_34,REFDATE(HHV(X_1,130),DATE),REFDATE(LLV(X_1,130),DATE),8,0),COLOR545454;
X_36:=EXPMA(CLOSE,9);
X_37:=EXPMA(CLOSE,26);
X_38:=100*(X_36-X_37);
DRAWBAND(X_38,RGB(100,100,0),0,RGB(0,80,0));
DRAWBAND(X_2,RGB(0,190,0),X_1,RGB(90,0,0));
X_39:=100*(EMA(CLOSE,SHORT)-EMA(CLOSE,LONG));
X_40:=EMA(X_39,MID);
X_41:=(X_39-X_40)*2;
STICKLINE(X_41<0 AND X_41>REF(X_41,2),0,X_41,0,0),COLORGREEN;
STICKLINE(X_41<0 AND X_41<=REF(X_41,2),0,X_41,0.1,0),COLORCYAN;
STICKLINE(X_41>=0 AND X_41>REF(X_41,2),0,X_41,0.1,0),COLORRED;
STICKLINE(X_41>=0 AND X_41<=REF(X_41,2),0,X_41,0,0),COLORYELLOW;
STICKLINE(X_39<0 AND CROSS(X_39,X_40),X_40,0,0,0),COLORRED;
STICKLINE(X_39>0 AND CROSS(X_40,X_39),X_40,0,0,0),COLORGREEN;
STICKLINE(X_39<0 AND CROSS(X_39,X_40),X_40,0,0,0),COLORRED;
STICKLINE(X_39>0 AND CROSS(X_40,X_39),X_40,0,0,0),COLORGREEN;
X_42:=CROSS(X_40,X_39);
X_43:=BARSLAST(X_42);
X_44:=REF(BARSLAST(X_42),X_43+1);
X_45:=REF(BARSLAST(X_42),X_44+X_43+2);
X_46:=LLV(CLOSE,X_43+1);
X_47:=LLV(X_39,X_43+1);
X_48:=REF(X_46,X_43+1);
X_49:=REF(X_47,X_43+1);
X_50:=REF(X_48,X_43+1);
X_51:=REF(X_49,X_43+1);
X_52:=IF(X_49>0,INTPART(LOG(X_49))-1,INTPART(LOG(-X_49))-1);
X_53:=INTPART(X_49/POW(10,X_52));
X_54:=IF(X_51>0,INTPART(LOG(X_51))-1,INTPART(LOG(-X_51))-1);
X_55:=INTPART(X_51/POW(10,X_54));
X_56:=INTPART(X_39/POW(10,X_52));
X_57:=INTPART(X_39/POW(10,X_54));
X_58:=X_46<X_48 AND X_56>X_53 AND (X_41<0 AND REF(X_41,1)<0) AND X_56<=REF(X_56,1);
X_59:=X_46<X_50 AND X_50<X_48 AND X_57>X_55 AND (X_41<0 AND REF(X_41,1)<0) AND X_57<=REF(X_57,1);
底部钝化:X_58 OR X_59,NODRAW,COLORFF9900;
X_60:=(X_56>REF(X_56,1))*REF(X_58,1) OR (X_57>REF(X_57,1))*REF(X_59,1);
X_61:=REF(X_58,1) AND X_47<=X_49 OR (REF(X_59,1) AND X_47<=X_51);
STICKLINE(底部钝化,X_39,X_40,2.5,0),COLORFF9900;
X_62:=CROSS(X_39,X_40);
X_63:=BARSLAST(X_62);
X_64:=REF(BARSLAST(X_62),X_63+1);
X_65:=REF(BARSLAST(X_62),X_64+X_63+2);
X_66:=HHV(CLOSE,X_63+1);
X_67:=HHV(X_39,X_63+1);
X_68:=REF(X_66,X_63+1);
X_69:=REF(X_67,X_63+1);
X_70:=REF(X_68,X_63+1);
X_71:=REF(X_69,X_63+1);
X_72:=IF(X_69>0,INTPART(LOG(X_69))-1,INTPART(LOG(-X_69))-1);
X_73:=INTPART(X_69/POW(10,X_72));
X_74:=IF(X_71>0,INTPART(LOG(X_71))-1,INTPART(LOG(-X_71))-1);
X_75:=INTPART(X_71/POW(10,X_74));
X_76:=INTPART(X_39/POW(10,X_72));
X_77:=INTPART(X_39/POW(10,X_74));
X_78:=X_66>X_68 AND X_76<X_73 AND (X_41>0 AND REF(X_41,1)>0) AND X_76>=REF(X_76,1);
X_79:=X_66>X_70 AND X_70>X_68 AND X_77<X_75 AND (X_41>0 AND REF(X_41,1)>0) AND X_77>=REF(X_77,1);
顶部钝化:X_78 OR X_79,NODRAW,COLOR0080FF;
X_80:=(X_76<REF(X_76,1))*REF(X_78,1) OR (X_77<REF(X_77,1))*REF(X_79,1);
STICKLINE(顶部钝化,X_39,X_40,2,0),COLOR0080FF;
DRAWICON(X_39<0 AND CROSS(X_39,X_40),X_40/1,1);
DRAWICON(X_39>0 AND CROSS(X_40,X_39),X_40/1,2);
STICKLINE(X_41>0,X_41,0,2.5,0),COLORRED;
STICKLINE(X_41>0,X_41,0,2.5,0),COLORRED;
STICKLINE(X_41<0,X_41,0,2.5,0),COLORCYAN;
X_81:=REF(X_41/2,BARSLAST(X_41=HHV(X_41,120)));
X_82:=REF(X_41/2,BARSLAST(X_41=HHV(X_41,250)));
X_83:=NOT(REF(X_81,1)=X_81);
STICKLINE(X_83,0,X_41,2,0),COLORYELLOW;
STICKLINE(X_41>=X_82,X_82,X_41,2,0),COLORMAGENTA;
X_84:=NOT(REF(X_81,1)=REF(X_82,1)) AND X_81=X_82;
DRAWICON(X_83,0,26),COLORYELLOW;
DRAWICON(X_84,0,23),COLORYELLOW;
过量:REF(X_41/2,BARSLAST(X_41=HHV(X_41,120))),COLORWHITE,LINETHICK2;
超量:REF(X_41/2,BARSLAST(X_41=HHV(X_41,250))),COLORWHITE,LINETHICK3;
X_85:=X_41;
X_86:=MA(VOL,5);
X_87:=MA(VOL,35);
X_88:=MA(VOL,135);
X_89:=X_85=HHV(X_85,250);
X_90:=X_85=HHV(X_85,120) AND X_85!=HHV(X_85,250);
X_91:=X_85=HHV(X_85,60) AND X_85!=HHV(X_85,120) AND X_85!=HHV(X_85,250);
X_92:=X_85=HHV(X_85,30) AND X_85!=HHV(X_85,60) AND X_85!=HHV(X_85,120) AND X_85!=HHV(VOL,250);
IF(X_89,X_85*1.18,DRAWNULL),CIRCLEDOT,COLORYELLOW,LINETHICK2;
IF(X_90,X_85*1.18,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK2;
IF(X_91,X_85*1.18,DRAWNULL),CIRCLEDOT,COLOR8800FF,LINETHICK2;
IF(X_92,X_85*1.18,DRAWNULL),CIRCLEDOT,COLORWHITE,LINETHICK2;
牛郎织女选股1
X_1:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
X_2:=IF(YEAR>=2025,0,1);
X_3:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55);
X_4:=EMA(CLOSE/X_3*(1.88*CLOSE+LOW+OPEN)/2.75,3);
X_5:=(X_4-X_3)/X_3/2;
X_6:=EMA(X_4-X_5*X_4,5)*X_2;
X_7:=EMA(CLOSE,300)-3*STD(CLOSE,300);
X_8:=IF(X_1>X_6,X_1,X_6)*X_2;
X_9:=IF(X_6<X_1 AND X_6<CLOSE*0.15,EMA(CLOSE,300)-3*STD(CLOSE,300),X_6);
漏斗开口XG:BARSLASTCOUNT(X_8!=X_9)=1,COLORWHITE;
牛郎织女选股2
X_1:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
X_2:=IF(YEAR>=2025,0,1);
X_3:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55);
X_4:=EMA(CLOSE/X_3*(1.88*CLOSE+LOW+OPEN)/2.75,3);
X_5:=(X_4-X_3)/X_3/2;
X_6:=EMA(X_4-X_5*X_4,5)*X_2;
X_7:=IF(X_1>X_6,X_1,X_6)*X_2;
X_8:=IF(X_6<X_1 AND X_6<CLOSE*0.15,EMA(CLOSE,300)-3*STD(CLOSE,300),X_6);
喇叭口开口XG:BARSLASTCOUNT(X_7!=X_8)=1,COLORWHITE;
牛郎织女选股3
X_1:=CLOSE>REF(CLOSE,1)*1.094 AND CLOSE=HIGH;
X_2:=LLVBARS(LOW,60);
X_3:=BARSLAST(CURRBARSCOUNT=CONST(X_2)+1);
X_4:=FINDHIGHBARS(HIGH,X_2+1,60,1);
X_5:=DRAWLINE(CURRBARSCOUNT=CONST(X_4)+1,HIGH,ISLASTBAR,REF(HIGH,X_4),0);
X_6:=BARSLAST(CURRBARSCOUNT=CONST(X_4)+1);
X_7:=DRAWLINE(X_3=0,(X_5-LOW)*0.618+LOW,ISLASTBAR,REF((X_5-LOW)*0.618+LOW,X_3),0);
X_8:=IF(CLOSE>OPEN OR (CLOSE=OPEN AND CLOSE>=REF(CLOSE,1)),VOL,0);
X_9:=IF(CLOSE<OPEN OR (CLOSE=OPEN AND CLOSE<REF(CLOSE,1)),VOL,0);
X_10:=SUM(X_8,X_3)/SUM(X_9,X_3);
X_11:=COUNT(CROSS(CLOSE>=X_5,0.5),X_3+1)=1 AND CROSS(CLOSE>=X_5,0.5) AND X_10>1.5;
X_12:=X_1 AND EXIST(CROSS(CLOSE,REF(HIGH,X_6)),3) AND CLOSE>REF(HIGH,X_6);
X_12 AND REF(X_12,1)=0 AND CLOSE>EMA(COST(85/1.2),10);