HJ_1:=(HIGH+LOW+CLOSE*2)/4;
HJ_2:=EMA((HJ_1-LLV(HJ_1,15))/(HHV(LOW,15)-LLV(HJ_1,15)),2)*38;
HJ_3:=((-1)*EMA((HJ_1-LLV(HJ_1,15))/(HHV(LOW,15)-LLV(HJ_1,15)),2)+0.01)*38;
HJ_4:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
HJ_5:=EMA(HJ_4,10);
HJ_6:=EMA(HJ_5,10);
HJ_7:=3*HJ_5-2*HJ_6;
HJ_8:=EMA(HJ_7,5);
HJ_9:=5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1);
HJ_10:=CLOSE>=REF(CLOSE,1) AND REF(CLOSE,1)>=REF(CLOSE,2) AND REF(CLOSE,1)<=REF(CLOSE,3) AND REF(CLOSE,2)<=REF(CLOSE,3) AND (REF(CLOSE,4)>REF(CLOSE,2) OR REF(CLOSE,4)<=REF(CLOSE,2) AND REF(CLOSE,5)>=REF(CLOSE,3)) OR CLOSE>=REF(CLOSE,1) AND REF(CLOSE,1)<=REF(CLOSE,2) AND CLOSE>=REF(CLOSE,2) AND (REF(CLOSE,3)>REF(CLOSE,1) OR REF(CLOSE,3)<=REF(CLOSE,1) AND REF(CLOSE,4)>=REF(CLOSE,2));
HJ_11:=LLV(LOW,5);
{www.fxjgsw.com}
HJ_12:=HHV(HIGH,5);
HJ_13:=EMA((CLOSE-HJ_11)/(HJ_12-HJ_11)*100,1);
HJ_14:=EMA(0.667*REF(HJ_13,1)+0.333*HJ_13,2);
HJ_15:=HJ_14<24 AND OPEN<MA(CLOSE,20);
XG:CROSS(HJ_10,HJ_15),STICK;
STICKLINE(XG,180,0,0.005,0),COLORRED;
STICKLINE(XG,100,0,3.5,0),COLOR002288;
STICKLINE(XG,100,0,2.6,0),COLOR0033AA;
STICKLINE(XG,100,0,1.9,0),COLOR0044CC;
STICKLINE(XG,100,0,1.2,0),COLOR0055EE;
STICKLINE(XG,100,0,0.6,0),COLOR0077FF;
STICKLINE(XG,100,0,0.3,0),COLORRED;
DRAWICON(XG>0,68,34),COLORYELLOW;
DRAWICON(XG>0,73,34),COLORYELLOW;
DRAWICON(XG>0,78,34),COLORYELLOW;
DRAWICON(XG>0,83,34),COLORYELLOW;
DRAWICON(XG>0,88,34),COLORYELLOW;
DRAWICON(XG>0,93,34),COLORYELLOW;
DRAWICON(XG>0,98,34),COLORYELLOW;
DRAWICON(XG>0,103,34),COLORYELLOW;
DRAWICON(XG>0,108,34),COLORYELLOW;
DRAWICON(XG>0,113,34),COLORYELLOW;
DRAWICON(XG>0,118,34),COLORYELLOW;
DRAWTEXT(XG,130,14),COLORYELLOW;
STICKLINE(HJ_10 AND HJ_15,0,100,3.5,1),COLORRED;
HJ_16:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
HJ_17:=EMA(HJ_16,7);
HJ_18:=EMA(HJ_17,10);
HJ_19:=3*HJ_17-2*HJ_18;
HJ_20:=EMA(HJ_19,5);
HJ_21:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
HJ_22:=MA(HHV(HIGH,485),17);
HJ_23:=MA(HHV(HIGH,222),17);
HJ_24:=MA(HHV(HIGH,96),17);
HJ_25:=MA(LLV(LOW,485),17);
HJ_26:=MA(LLV(LOW,222),17);
HJ_27:=MA(LLV(LOW,96),17);
HJ_28:=MA((HJ_25*0.96+HJ_26*0.96+HJ_27*0.96+HJ_22*0.558+HJ_23*0.558+HJ_24*0.558)/6,17);
HJ_29:=MA((HJ_25*1.25+HJ_26*1.23+HJ_27*1.2+HJ_22*0.55+HJ_23*0.55+HJ_24*0.65)/6,17);
HJ_30:=MA((HJ_25*1.3+HJ_26*1.3+HJ_27*1.3+HJ_22*0.68+HJ_23*0.68+HJ_24*0.68)/6,17);
HJ_31:=MA((HJ_28*3+HJ_29*2+HJ_30)/6*1.738,17);
HJ_32:=IF(CLOSE=CLOSE,HJ_31,HJ_31*DAY);
HJ_33:=LOW;
HJ_34:=REF(LOW,1);
HJ_35:=SMA(ABS(HJ_33-HJ_34),3,1)/SMA(MAX(HJ_33-HJ_34,0),3,1)*100;
HJ_36:=MA(IF(CLOSE*1.35<=HJ_32,HJ_35*10,HJ_35/10),3);
HJ_37:=LLV(LOW,30);
HJ_38:=HHV(HJ_36,30);
看线是否买入?:IF(CLOSE=CLOSE,MA(IF(LOW<=HJ_37,(HJ_36+HJ_38*5)/5,0),3),100000000)/200,COLORMAGENTA,LINETHICK2;
HJ_39:=IF(CLOSE<REF(CLOSE,1),0,VOL/CAPITAL);
HJ_40:=EMA(CLOSE,12)-EMA(CLOSE,26);
HJ_41:=EMA(HJ_40,9);
HJ_42:=2*(HJ_40-HJ_41)*231;
STICKLINE(HJ_42<REF(HJ_42,1) AND HJ_42>0,0,HJ_42,2.3,0),COLORWHITE;
STICKLINE(HJ_42<REF(HJ_42,1) AND HJ_42>0,0,HJ_42,1.6,0),COLOR555555;
STICKLINE(HJ_42<REF(HJ_42,1) AND HJ_42>0,0,HJ_42,1.2,0),COLOR999999;
STICKLINE(HJ_42<REF(HJ_42,1) AND HJ_42>0,0,HJ_42,0.8,0),COLORCCCCCC;
STICKLINE(HJ_42<REF(HJ_42,1) AND HJ_42>0,0,HJ_42,0.4,0),COLORCCDDBB;
STICKLINE(HJ_42<=REF(HJ_42,1) AND HJ_42<0,0,HJ_42,2.3,0),COLOR006600;
STICKLINE(HJ_42<=REF(HJ_42,1) AND HJ_42<0,0,HJ_42,1.6,0),COLOR008800;
STICKLINE(HJ_42<=REF(HJ_42,1) AND HJ_42<0,0,HJ_42,1.2,0),COLOR00AA00;
STICKLINE(HJ_42<=REF(HJ_42,1) AND HJ_42<0,0,HJ_42,0.8,0),COLOR00CC00;
STICKLINE(HJ_42<=REF(HJ_42,1) AND HJ_42<0,0,HJ_42,0.4,0),COLORGREEN;
STICKLINE(HJ_42>=REF(HJ_42,1) AND HJ_42>0,0,HJ_42,2.3,0),COLORMAGENTA;
STICKLINE(HJ_42>=REF(HJ_42,1) AND HJ_42>0,0,HJ_42,1.6,0),COLOR990099;
STICKLINE(HJ_42>=REF(HJ_42,1) AND HJ_42>0,0,HJ_42,1.2,0),COLORBB00BB;
STICKLINE(HJ_42>=REF(HJ_42,1) AND HJ_42>0,0,HJ_42,0.8,0),COLORDD00DD;
STICKLINE(HJ_42>=REF(HJ_42,1) AND HJ_42>0,0,HJ_42,0.4,0),COLORMAGENTA;
STICKLINE(HJ_42>REF(HJ_42,1) AND HJ_42<0,0,HJ_42,2.3,0),COLOR117777;
STICKLINE(HJ_42>REF(HJ_42,1) AND HJ_42<0,0,HJ_42,1.6,0),COLOR119999;
STICKLINE(HJ_42>REF(HJ_42,1) AND HJ_42<0,0,HJ_42,1.2,0),COLOR11BBBB;
STICKLINE(HJ_42>REF(HJ_42,1) AND HJ_42<0,0,HJ_42,0.8,0),COLOR11DDDD;
STICKLINE(HJ_42>REF(HJ_42,1) AND HJ_42<0,0,HJ_42,0.4,0),COLOR44FFFF;
DRAWTEXT(CROSS(看线是否买入?,4.5),33,10),COLORMAGENTA,LINETHICK2;
DRAWTEXT_FIX(1,0.95,0,1,16),COLORWHITE;
{-----------------------------------}
|