神奇主图
操作:MA((LOW+HIGH+CLOSE)/3,5),LINETHICK2,COLORWHITE;
拉升:HHV(操作,13),COLORRED,LINETHICK1;
压力:HHV(操作,60),COLORRED;
支撑:LLV(操作,13),LINETHICK1,COLOR00FF00;
底部支撑: LLV(LOW,60)*1.02,COLOR00CCFF;
顶部:HHV(HIGH,60)*0.98,COLORFFFFCC;
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND 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);
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR
VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3,0),COLORRED;
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
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);
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14
OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),3,0),COLORFFCC66;
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14
OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORYELLOW;
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR
VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORred;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00C8FF;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10ECFF;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10FFFF;
Pr2:=(2*CLOSE+HIGH+LOW)/4;
Pr4:=llv(LOW,5);
Pr5:=hhv(HIGH,4);
散户:=EMA((Pr2-Pr4)/(Pr5-Pr4)*100,4);
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2);
涨停先锋1:if(CROSS(散户,庄家) AND 散户<50 AND 29<散户 AND C>O,20,0),COLORwhite,LINETHICK0;
DRAWICON(涨停先锋1 ,L-0.3 ,7 );
f:=c>o or (c=o and c>ref(c,1));
支撑价:=llv(LOW,19);
阻力价:=hhv(HIGH,19);
PPr1:=EMA(CLOSE,12)-EMA(CLOSE,26);
PPr2:=EMA(PPr1,9);
PPr3:=(CLOSE*2.5/100+CLOSE);
PPr4:=EMA(C,3);
PPr5:=llv(HIGH,240);
PPr6:=100*(CLOSE-PPr5)/PPr5;
PPr7:=REF(llv(CLOSE,480),1);
PPr8:=REF(hhv(CLOSE,480),1);
PPr9:=100*(CLOSE-PPr7)/(PPr8-PPr7);
PPrA:=(CLOSE-llv(CLOSE,981))/(hhv(CLOSE,981)-llv(CLOSE,981))*100;
PPrB:=(CLOSE-llv(CLOSE,393))/(hhv(CLOSE,393)-llv(CLOSE,393))*100;
PPrC:=(CLOSE-llv(LOW,981))/(hhv(HIGH,981)-llv(LOW,981))*100;
PPrD:=(CLOSE-llv(LOW,393))/(hhv(HIGH,393)-llv(LOW,393))*100;
PPrE:=PPrC>98.5 OR PPrD>98.5;
PPrF:=EMA(100*(CLOSE-llv(LOW,100))/(hhv(HIGH,100)-llv(LOW,100)),5)/4;
PPr13:=PPrA=0 AND PPrC=0 AND PPr6<0;
PPr14:=PPrA=100 AND PPrC=100;
PPr15:=PPrB=0 OR PPrD=0 AND PPr9<0;
PPr16:=PPrB=100 AND PPrD=100;
PPr17:=PPr6<0 AND PPr9<0;
PPr18:=PPr13 AND PPr15;
PPr19:=PPr14 AND PPr16;
PPr1B:=SMA(MAX(CLOSE-REF(CLOSE,1),0),49,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
PPr1C:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;
PPr1D:=BARSCOUNT(CLOSE);
PPr1E:=PPr1B<20 AND PPr1C<23 AND PPr1D>35;
PPr1F:=PPr1E AND COUNT(PPr1E,1)=1;
PPr20:=REF(CLOSE,1);
PPr21:=SMA(MAX(CLOSE-PPr20,0),34,1)/SMA(ABS(CLOSE-PPr20),7,1)*100;
PPr22:=SMA(MAX(CLOSE-PPr20,0),13,1)/SMA(ABS(CLOSE-PPr20),13,1)*100;
PPr23:=BARSCOUNT(CLOSE);
PPr24:=PPr21<20 AND PPr22<23 AND PPr23>35;
PPr25:=PPrA=0 AND PPrF<1.2 AND PPr17;
PPr27:=PPr18 AND PPrF<1.2 AND PPr17;
PPr29:=SUM(HIGH-OPEN,77)/SUM(OPEN-LOW,77)*100;
PPr2A:=SUM(MAX(0,HIGH-REF(CLOSE,1)),77)/SUM(MAX(0,REF(CLOSE,1)-LOW),77)*100;
PPr2B:=CROSS(PPr29,69) AND CROSS(PPr2A,80)<150;
PPr2C:=PPr24 AND PPr1F AND COUNT(PPr24,30)=1;
PPr2D:=PPr1F AND PPr2C AND PPr25;
短买:=(CLOSE/REF(CLOSE,1)>1.04 AND (CLOSE>10.8 AND CLOSE<10.83 OR CLOSE>6.86
AND CLOSE<6.88 OR CLOSE>13.82 AND CLOSE<13.84 OR CLOSE>7.28 AND CLOSE<7.3 OR
CLOSE>12.4 AND CLOSE<12.42 OR CLOSE>22.33 AND CLOSE<22.35 OR CLOSE>4.68 AND
CLOSE<4.7 OR CLOSE>26.29 AND CLOSE<26.31 OR CLOSE>7.65 AND CLOSE<7.67 OR
CLOSE>13.4 AND CLOSE<13.42 OR CLOSE>7.58 AND CLOSE<7.6 OR CLOSE>20.43 AND
CLOSE<20.45 OR CLOSE>19.57 AND CLOSE<19.59 OR CLOSE>6.26 AND CLOSE<6.28 OR
CLOSE>7.14 AND CLOSE<7.16 OR CLOSE>6.61 AND CLOSE<6.63 OR CLOSE>11.9 AND
VOL<11.92 OR CLOSE>6.7 AND CLOSE<6.72 OR CLOSE>8.19 AND CLOSE<8.21));
股海万元:(COUNT(REF(PPr4,1)<REF(PPr4,2),5)=5 AND PPr4>REF(PPr4,1))*20,colorwhite,LINETHICK0;
DRAWICON(股海万元 ,L-0.5 ,1);
PARL0:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,15)+MA(CLOSE,20))/4;
PARL1:=C/REF(C,1)<1.05 AND C/REF(C,1)>1;
PARL2:=hhv(C/REF(C,1),60)>1.06 OR llv(C/REF(C,1),60)<0.94;
PARL3:=C>O AND C<30;
LOWP:=llv(LOW,9);
HIGHP:=hhv(HIGH,9);
RSP:=EMA((CLOSE-LOWP)/(HIGHP-LOWP)*100,3);
X:=EMA(RSP,3);
Y:=MA(X,3);
PARL4:=CROSS(X,Y) AND X<70;
三天:=(CROSS(PARL0,REF(PARL0,2)) OR (PARL4 AND PARL0>REF(PARL0,2))) AND PARL1
AND PARL2 AND PARL3 AND X>Y AND X<70;
P1:=llv(LOW,10);
P2:=hhv(H,25);
价位线:=EMA((C-P1)/(P2-P1)*4,4);
ss:=CROSS(价位线,0.3);
极点买入:ss*20,LINETHICK0;
涨停先锋:=(涨停先锋1 or 极点买入 or 股海万元 or 三天);
DRAWTEXT(涨停先锋=1,支撑,'○'),coloryellow;
多:=EMA(C,3);
空:=EMA(C,5);
均衡:=EMA(空,5);
vFFF1:=COUNT(CROSS(多,均衡),2)=1;
vFFF2:=COUNT(CROSS(空,均衡),2)=1;
ZAI:=FILTER(vFFF1 AND vFFF2,2);
DRAWTEXT(ZAI,均衡*0.98,'买'),colorFF00ff;
VV2:=REF(CLOSE,1);
VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*100;
DRAWICON(REF(VV3,1)>81 AND VV3<80,HIGH,2);
DRAWTEXT(REF(VV3,1)>81 AND VV3<80,HIGH,'卖'),COLORYELLOW;
VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08
AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'买'),COLORRED;
vF |