分时支撑压力: {分时支撑压力} H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 阻力:L1+P1*7/8,COLOR00DD00; 支撑:L1+P1*0.5/8,COLOR00DD00; 现价:CLOSE,COLORWHITE,LINETHICK1; STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW; DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'买'),COLORRED;{吸} DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★卖'),COLOR00DD00;{抛}; 日时转换:=IF(PERIOD=5,120,240); QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2; VAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2; VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2; VAR3:=(VAR1+VAR2)/2; VAR4:=EMA(VAR3,30); VAR5:=EMA(VAR3,60); VAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5); DRAWBAND(VAR1,RGB(150,30,30),EMA(VAR1,60),RGB(0,110,30)); 牵引线:VAR1,COLORYELLOW,LINETHICK3; 强弱线:EMA(VAR1,日时转换),COLORWHITE; 趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED; 量价关注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE; 冲击量:IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORYELLOW; 强势区:IF(VAR1>强弱线,1,DRAWNULL),NODRAW,COLORRED; 止损区:IF(VAR1<强弱线,1,DRAWNULL),NODRAW,COLORGREEN; STICKLINE(QZS>VAR1,QZS,VAR1,1,0),COLORFF00FF; STICKLINE(冲击量=1,QZS,VAR1,1,0),COLORYELLOW; DRAWICON(趋势关注=1,EMA(VAR1,60),13); DRAWTEXT(趋势关注=1,EMA(VAR1,60),'转折'),COLORWHITE; DRAWTEXT(量价关注=1,EMA(VAR1,60),'L0V'),COLORWHITE; MA30:=EMA(CLOSE,30); 强弱:=EMA(CLOSE,900); DRAWICON(CROSS(MA30,强弱),H,9); 财神引路: 使用方法: 财神引路,红色彩带,是持股,绿色是持币 文字提示:共振,是可靠的买入信号 {财神引路} RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100; J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3); J1:=IF(CLOSE>QJ,VOL,0); J2:=IF(CLOSE<QJ,VOL,0); 量能:IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,22),3)),COLOR00DDDD,NODRAW; 趋势:IF(CAPITAL<1,EMA(量能,360),EMA(量能,21)),COLOR008800,NODRAW; VAR3:=(量能-趋势); VAR44:=SMA(RV,3,1); VAR55:=SMA(VAR44,3,1); STICKLINE(VAR3>0,20,10,5,1),COLOR0000FF; STICKLINE(VAR3<0,100,90,10,1),COLOR00FF00; DRAWICON(CROSS(VAR44,VAR55) AND VAR55<30,2,1); DRAWICON(CROSS(VAR55,VAR44) AND VAR55>30,97,2); DRAWBAND(VAR55,RGB(0,22,224),VAR44,RGB(255,50,50)); KK:=EMA(SMA(RG,3,1),2),COLORFFFFFF; DD:=SMA(KK,3,1),COLOR00FFFF; DRAWTEXT(CROSS(VAR44,VAR55) AND CROSS(KK,DD),10,'共振'),COLOR00FFFF; 共振点:=(CROSS(VAR44,VAR55) AND CROSS(KK,DD)); STICKLINE(共振点>0,0,100,2,0),COLOR008888; STICKLINE(共振点>0,0,100,1.5,0),COLOR00AAAA; STICKLINE(共振点>0,0,100,0.8,0),COLOR00DDDD; STICKLINE(共振点>0,0,100,0.3,0),COLOR00FFFF; VAR1:=1; VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4); VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4); C1:=(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORFF00FF,LINETHICK2; C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF,LINETHICK2; 条件:=CROSS(C1,C2) AND C1<40; 条件0:=CROSS(C2,C1) AND C1>90; TJ1:=CROSS(C1,C2); TJ2:=CROSS(C2,C1); TJ3:=CROSS(C1,C2) AND REF(C1,1)<20; TJ4:=CROSS(C2,C1) AND REF(C1,1)>80; VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57; VAR400:=EMA(VAR300,5); 操盘:=3*VAR300-2*VAR400; A1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O; STICKLINE(A1,30,0,4,0),COLOR770077; STICKLINE(A1,30,0,3,0),COLOR990099; STICKLINE(A1,30,0,2,0),COLORBB00BB; STICKLINE(A1,30,0,1,0),COLORDD00DD; STICKLINE(A1,30,0,0.3,0),COLORFF00FF; DRAWTEXT(A1,36,'财神到'),COLORRED; MACD升级: 注意红箭头买入( 顶尖财经 股票学院: http://www.58188.com ) DIFF:=( EMA(CLOSE,12) - EMA(CLOSE,26)); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA),STICK; STICKLINE(DIFF<0,0,DIFF,2,0),COLORGREEN; STICKLINE(DIFF>=0,0,DIFF,2,0),COLORRED; STICKLINE(DEA>=0,0,DEA,2,-1),COLOR0000CC; STICKLINE(DEA<0,0,DEA,2,-1),COLORGREEN; 柱1:=IF(DIFF>DEA,DIFF,0),COLORRED; 柱2:=IF(DEA<DIFF,DEA,0),COLORMAGENTA; DRAWICON(CROSS(DIFF,DEA),柱2,1); DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2); M:=9; SHORT:=12;LONG:=26; JCSC:=(M-1)/(M+1)*DEA/(1-2/(M+1)); DD:=(MACD/2+(DEA*(M-1)/(M+1)))/(1-2/(M+1));{计算出明日MACD=MACD时的DIFF值} DIF拐头价:=(DIFF*(SHORT+1)*(LONG+1)-(LONG+1)*(SHORT-1)*EMA(C,SHORT)+(SHORT+1)*(LONG-1)*EMA(C,LONG))/(2*((LONG+1)-(SHORT+1)))COLORCYAN,LINETHICK3; 柱变向价:=(DD*(SHORT+1)*(LONG+1)-(LONG+1)*(SHORT-1)*EMA(C,SHORT)+(SHORT+1)*(LONG-1)*EMA(C,LONG))/(2*((LONG+1)-(SHORT+1))),COLORGREEN; DRAWTEXT_FIX(1,0.9,0.94,0,STRCAT('1: ',CON2STR(DIF拐头价,2))),COLORYELLOW; DRAWNUMBER(DIFF>DEA,3,BARSLAST(CROSS(DIFF,DEA))+1),COLORRED,NODRAW; DRAWNUMBER(DIFF<DEA,-1,BARSLAST(CROSS(DEA,DIFF))+1),COLORGREEN,NODRAW; VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL); OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0); OBV2:=EMA(OBV1,3)-MA(OBV1,9); OBV3:=EMA(IF(OBV2>0,OBV2,0),3); MAC3:=MA(C,3); STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,DEA/4,2,0),COLORYELLOW; |