赚大钱用的主图A2版本
强底:MA(CLOSE,63),LINETHICK1,COLORGREEN;
VAR1000:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));
VAR2000:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));
VAR3000:=(100 - MA(((100 * (HHV(HIGH,5) - CLOSE)) / (HHV(HIGH,5) - LLV(LOW,5))),34));
关注:IF(CROSS(VAR2000,MA(VAR3000,5)),LOW * 0.98,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;
安全:MA(CLOSE,22),LINETHICK2,COLORWHITE;
A5:=EMA(CLOSE,12)-EMA(CLOSE,26);
A6:=EMA(A5,9);
A7:=(A5<-0.1 AND A5>A6);
近底:IF(A7,LLV(L,21),DRAWNULL)COLORRED,CIRCLEDOT;
现价:C;
买线:EMA(CLOSE,2),COLOR0000FF;
卖线:EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),POINTDOT,COLOR00FF00;
{ZIG未来判断当天收市是否强势,次日收盘前指标黄线消失的话,短期上涨趋势已坏撤退 }
黄线消失当天清:IF(ZIG(MA((H+L)/2,3),3)>REF(ZIG(MA((H+L)/2,3),3),1),ZIG(MA((H+L)/2,3),3),DRAWNULL),COLORYELLOW,LINETHICK3;
DRAWTEXT(FILTER(H>黄线消失当天清*1.07=1,5),H,'☆黄线上卖'),COLORYELLOW;
DRAWTEXT(FILTER(L<黄线消失当天清*0.93=1,5),L,'☆黄线下买'),COLORYELLOW;
{PEAKBARS未来判断明日顶部,收市前指标不消失请逃顶}
VAR3A:=PEAKBARS(3,15,1)<10;
VAR5A:=IF(VAR3A=1,2,0);
顶:= IF(VAR5A=2,2,0);
顶A:=IF(顶>REF(顶,1),50,0);
DRAWTEXT(顶A=50,HIGH * 1.03,'明日速逃'),COLOR00FF00;
M2:=EMA(CLOSE,8);
M4:=EMA(M2,55);
牛熊:EMA(M4,81), COLORRED;
BBUY:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE((买线 >= 卖线),LOW,HIGH,0.4,0),COLOR0000FF;
STICKLINE((买线 >= 卖线),CLOSE,OPEN,3,1),COLOR000077;
STICKLINE((买线 >= 卖线),CLOSE,OPEN,2.6,1),COLOR000099;
STICKLINE((买线 >= 卖线),CLOSE,OPEN,2,1),COLOR0000BB;
STICKLINE((买线 >= 卖线),CLOSE,OPEN,1.3,1),COLOR0000DD;
STICKLINE((买线 >= 卖线),CLOSE,OPEN,0.4,1),COLOR0000FF;
STICKLINE((买线 < 卖线),LOW,HIGH,0.4,0),COLORFFFF00;
STICKLINE((买线 < 卖线),CLOSE,OPEN,3,1),COLOR777700;
STICKLINE((买线 < 卖线),CLOSE,OPEN,2.6,1),COLOR999900;
STICKLINE((买线 < 卖线),CLOSE,OPEN,2,1),COLORBBBB00;
STICKLINE((买线 < 卖线),CLOSE,OPEN,1.3,1),COLORDDDD00;
STICKLINE((买线 < 卖线),CLOSE,OPEN,0.4,1),COLORFFFF00;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),OPEN,CLOSE,5,0),COLOR0055FF;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),OPEN,CLOSE,4.2,0),COLOR0077FF;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),OPEN,CLOSE,3,0),COLOR0099FF;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),OPEN,CLOSE,2.2,0),COLOR00BBFF;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),OPEN,CLOSE,1.5,0),COLOR00DDFF;
STICKLINE((CROSS(买线,卖线) OR CROSS(卖线,买线)),OPEN,CLOSE,0.4,0),COLOR00FFFF;
DRAWICON(BBUY,(LOW * 0.99),5);
DRAWICON(SEL,(HIGH * 1.01),6);
VAR11:=REF(CLOSE,1);
VAR12:=SMA(MAX(CLOSE-VAR11,0),13,1)/SMA(ABS(CLOSE-VAR11),13,1)*100;
VAR13:=CROSS(69,VAR12);
VARA:=FILTER(VAR13,4);
DRAWICON(VARA,HIGH*1.035,3),COLORGREEN;
DRAWTEXT(VARA,HIGH*1.04,'顶'),COLORWHITE;
VAR111:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
VAR122:=REF(C,1);
VAR133:=SMA(MAX(C-VAR122,0),6,1)/SMA(ABS(C-VAR122),6,1)*100;
DRAWTEXT(CROSS(84,VAR133),H*1.06,'跑'),COLORGREEN ;
VARC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VARC),HIGH,2);
VAR6:=REF(C,1);
VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
DRAWTEXT(CROSS(84,VAR7),H*1.01,'逃顶'),COLORYELLOW ;
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
RE:=CROSS(J,REF(J+0.01,1)) AND X AND J<19;
DRAWTEXT(RE,LOW*0.95,'☆转强'),COLORYELLOW ;
CSS:=((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100);
HH:=CROSS(20,EMA(CSS,3));
CE:=REF(HH,1);
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000;
HHH:=BBB-LLV(BBB,10);
SS:=(MA(HHH,2)*3+HHH*13)/16;
短线买点:=IF(SS>13,MA(SS,2),SS)/6;
短线出击:=IF(CROSS(短线买点,1) AND (短线买点<30),30,1);
II:=短线出击=30;
合成:=CE AND II;
DRAWTEXT(合成,LOW*0.92,'☆短线出击'),COLORYELLOW ;
VAR1T:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2T:=SMA(VAR1T,3,1);
VAR3T:=SMA(VAR2T,3,1);
VAR4T:=SMA(VAR3T,3,1);
VAR6T:=CROSS(VAR3T,VAR4T) AND VAR3T<20;
DRAWTEXT(FILTER(VAR6T,10)=1,LOW * 0.96,'抄底'),COLORYELLOW;
VAR7T:=CROSS(VAR4T,VAR3T) AND VAR3T>80;
DRAWTEXT(FILTER(VAR7T,5)=1,HIGH * 1.08 ,'逃顶') ,COLORGREEN ;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
长趋势:=3*Q3-2*Q4,COLORWHITE,LINETHICK3;
趋势线:=EMA(Q3, 3),COLORRED,LINETHICK3;
DRAWTEXT((CROSS(趋势线, 长趋势) AND REF(长趋势,1)>80, REF(长趋势,3)),HIGH * 1.06, '短顶'),COLORGREEN;
逢低买:=DRAWTEXT((REF(CROSS(趋势线,长趋势),82) AND 趋势线>1.3*长趋势,长趋势),LOW * 0.96,'逢低买'),COLORYELLOW;
短买:=DRAWTEXT((REF(CROSS(长趋势,趋势线),1) AND 长趋势>1.3*趋势线,趋势线),LOW * 0.96,'短买'),COLORYELLOW;
VAR2J:=(2*CLOSE+HIGH+LOW)/4;
VAR4J:=LLV(LOW,5);
VAR5J:=HHV(HIGH,4);
散户:=EMA((VAR2J-VAR4J)/(VAR5J-VAR4J)*100,4);
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2);
DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.18,'←低吸'),COLORYELLOW;
DRAWTEXT(CROSS(庄家,散户) AND 散户>70,H+0.18,'←高抛'),COLORGREEN;
CM1:=EMA(CLOSE,3);
CM2:=EMA(CLOSE,8);
CM3:=EMA(CM2,13);
CM4:=EMA(CM2,55);
CVAR1:=EMA(CM3,55);
CM5:=EMA(CM4,81);
CVAR2:=(REF(HIGH,1)+REF(LOW,1))/2;
CVAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);
DRAWTEXT(CROSS(CVAR2,CVAR3),HIGH*1.02,'←卖出'), COLORGREEN;
CVAR4:=REF(CLOSE,1);
CVAR5:=SMA(MAX(CLOSE-CVAR4,0),7,1)/SMA(ABS(CLOSE-CVAR4),7,1)*100;
CVAR6:=CROSS(79,CVAR5);
CVAR7:=FILTER(CVAR6,4);
DRAWTEXT(CVAR7,HIGH*1.02,'←卖出'), COLORGREEN;
CA7:=(2*C+H+L)/4;
CVAR10:=LLV(LOW,34);
CVAR11:=HHV(HIGH,34);
CSK:=EMA((CA7-CVAR1)/(CVAR2-CVAR1)*100,7);
CSD:=EMA(0.667*REF(CSK,1)+0.333*CSK,5);
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND VOL>=1.5*MA(VOL,5) AND
COUNT(CSK>=CSD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.93,'●买进') ,COLORRED;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 AND
COUNT(CSK>CSD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND
REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND
OPEN>REF(CLOSE,1),1,0),LOW*0.93,'●买进'), COLORRED;
CCD:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSE<CCD AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08
AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.93,'●极品底'),COLORRED;
|