VAR102:=IF(DATE<9999999 ,1,1); 方差 := REF(HIGH,1)-REF(LOW,1); 中位 := (HIGH + LOW + CLOSE)/3; 强阻力 : 中位 + 方差,NODRAW; 强支撑 : 中位 - 方差,NODRAW; 阻力 : 2*中位-LOW,NODRAW; 支撑 : 2*中位-HIGH,NODRAW; //{www.tzj123.com} 反压线:HHV(FORCAST(C,10),18)*VAR102,LINETHICK2,colorgreen; MA(C,60)*VAR102,COLOR808040,LINETHICK1; A7:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,21)+EMA((OPEN+HIGH+LOW+CLOSE)/4,34)+EMA((OPEN+HIGH+LOW+CLOSE)/4,68))/3*VAR102; 弘历中期:FORCAST(A7,6)*VAR102,COLOREE8FFF,LINETHICK2; TOWERC:FORCAST(EMA((3*CLOSE+2*OPEN+HIGH+LOW)/7*VAR102,3),6),colorred ,LINETHICK2; AA:=(C-REF(C,1))/REF(C,1)*100>9.95; STICKLINE(AA,C,OPEN,2.0,0),coloryellow; 喜 := CLOSE-REF(CLOSE,3)*VAR102; 欢 := MA(喜,3); DRAWTEXT((H>REF(H,1) AND REF(H,1)>REF(H,2) AND 喜<REF(喜,1)),H*1.01,↓),coloryellow; QVAR2:=LLV(LOW,10); QVAR3:=HHV(HIGH,25); 动力线:= EMA((CLOSE-QVAR2)/(QVAR3-QVAR2)*4,4)/3*VAR102; BD:=H>REF(H,1) AND C>O AND C>REF(C,1) AND 动力线>1.00 AND 欢<REF(欢,1) AND C>O AND C>REF(C,1) AND REF(欢,1)>REF(欢,2); DRAWTEXT(BD=1,H*1.003,★),coloryellow; BE:=H>REF(H,1) AND C>O AND C>REF(C,1) AND REF(动力线,1)>1.2 AND REF(动力线,1)>REF(动力线,2) AND 动力线<REF(动力线,1); DRAWTEXT(BE=1,H*1.003,★),colorgreen; 短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))*VAR102; 中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10))*VAR102; 中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); 长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); 高浪日:=(REF(短期,1)<2 AND REF(中期,1)<2 AND REF(中长期,1)<2 AND REF(长期,1)<2)*VAR102; DRAWTEXT (高浪日,L*0.999,★),colorred; 机会来临:=REF(IF((MA(C,5)-C)/C>0.04*VAR102 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,1,0),1); DRAWTEXT (IF((机会来临=1),1,0) AND C>O AND REF(C<=O,1),L*0.998,买),coloryellow; BL:=(VOL>=REF(V,1)*2*VAR102 AND C>REF(C,1)*1.025 AND VOL>=HHV(VOL,9))*VAR102; DRAWTEXT(BL,L*0.98,神),coloryellow; DRAWTEXT(BL,L*0.96,龙),coloryellow; DRAWTEXT(BL,L*0.94,柱),coloryellow; VAR2:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2))); VAR3:=((REF(VAR2,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR4:=((REF(VAR3,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR5:=((REF(VAR4,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR6:=((REF(VAR5,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR7:=((REF(VAR6,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR8:=((REF(VAR7,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR9:=((REF(VAR8,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VARA:=((REF(VAR9,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VARB:=((REF(VARA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VARC:=((REF(VARB,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VARD:=((REF(VARC,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VARE:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2))); VARF:=((REF(VARE,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)))*VAR102; VAR10:=((REF(VARF,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR11:=((REF(VAR10,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR12:=((REF(VAR11,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR13:=((REF(VAR12,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR14:=((REF(VAR13,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR15:=((REF(VAR14,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR16:=((REF(VAR15,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR17:=((REF(VAR16,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR18:=((REF(VAR17,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR19:=((REF(VAR18,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); 买:=(REF((((((((((((VARE OR VARF) OR VAR10) OR VAR11) OR VAR12) OR VAR13) OR VAR14) OR VAR15) OR VAR16) OR VAR17) OR VAR18) OR VAR19),1) AND VAR2)*VAR102; DRAWTEXT(买,L*0.995,▲),colorred; 卖:=(REF((((((((((((VAR2 OR VAR3) OR VAR4) OR VAR5) OR VAR6) OR VAR7) OR VAR8) OR VAR9) OR VARA) OR VARB) OR VARC) OR VARD),1) AND VARE)*VAR102; DRAWTEXT(卖,H*1.001,),coloryellow; HH5:=HHV(H,40); LL5:=LLV(L,40); //{www.tzj123.com} AA5:=(HH5-LL5)/LL5*100; WW:=((HIGH=HHV(H,40)) AND AA5<30 AND (C-REF(C,1))/REF(C,1)*100>2 AND (C-O)>(H-C))*VAR102; WC:=FILTER(WW,1); STICKLINE(WC=1,C,OPEN,0.8,0),COLORFF00FF; 平均成本:(COST(50)*100)/100,coloryellow,LINETHICK2;
|
阅读:392 评论:0
声明:站内所有文章、公式均来自互联网或网友分享提供,如侵犯您的权利请告知,我们会在24小时内及时删除!
【电脑版】 【回到顶部】