|
2#
楼主 |
发表于 2008-2-9 21:15:43
|
只看该作者
1.庄家主升浪
var3:=LLV(HIGH,240);
var4:=((100 * (CLOSE - var3)) / var3);
var5:=REF(LLV(CLOSE,480),1);
var6:=REF(HHV(CLOSE,480),1);
var7:=((100 * (CLOSE - var5)) / (var6 - var5));
var8:=(((CLOSE - LLV(CLOSE,981)) / (HHV(CLOSE,981) - LLV(CLOSE,981))) * 100);
var9:=(((CLOSE - LLV(CLOSE,393)) / (HHV(CLOSE,393) - LLV(CLOSE,393))) * 100);
vara:=(((CLOSE - LLV(LOW,981)) / (HHV(HIGH,981) - LLV(LOW,981))) * 100);
varb:=(((CLOSE - LLV(LOW,393)) / (HHV(HIGH,393) - LLV(LOW,393))) * 100);
varc:=(EMA(((100 * (CLOSE - LLV(LOW,100))) / (HHV(HIGH,100) - LLV(LOW,100))),5) / 4);
vard:=IF((DATE < 1031231),IF((varc > 23.16),varc,0),0);
vare:=(varc < 1);
varf:=vard;
var10:=((var4 < 0) AND (var7 < 0));
var11:=1;
var12:=((((HIGH + LOW) + (CLOSE * 2)) / 4) * var11);
var13:=EMA(var12,21);
var14:=STD(var12,21);
var15:=((((((var12 - var13) / var14) * 100) + 200) / 4) * var11);
var16:=(((EMA(var15,89) - 25) * 1.56) * var11);
var17:=((EMA(var16,5) * 1.22) * var11);
var18:=(EMA(var17,3) * var11);
var19:=((3 * var17) - ((2 * var18) * var11));
var1a:=IF(((CROSS(var19,var17) AND CROSS(var19,var18)) AND CROSS(var17,var18)),1,0);
var1b:=IF(((CROSS(var17,var19) AND CROSS(var18,var19)) AND CROSS(var18,var17)),1,0);
买点:IF((FILTER(((((var8 = 0) AND vare) AND var10) AND var1a),5) = 1),10,0),colorred;
卖点:IF((FILTER((((var8 = 100) AND varf) AND var1b),5) = 1),10,0),colorgreen;
var1c:=(EMA(((100 * (CLOSE - LLV(LOW,100))) / (HHV(HIGH,100) - LLV(LOW,100))),13) / 4);
var1d:=(EMA(CLOSE,2) - EMA(CLOSE,89));
var1e:=EMA(var1d,30);
var1f:=((2 * (var1d - var1e)) * 10);
var20:=((POW(var1f,3) * 0.1) + POW(var1f,2));
var21:=SQRT(SQRT((((LOW * HIGH) * OPEN) * CLOSE)));
var22:=EMA((var21 * 0.97),3);
var23:=(((HIGH + LOW) + CLOSE) / 3);
var24:=((var23 - MA(var23,14)) / (0.015 * XXXEDEV(var23,14)));
var25:=(IF(((YEAR < 2008) AND (var1f > 0.015)),var20,0) / 45);
庄拉线:var25,coloryellow;
var26:=(EMA(CLOSE,2) - EMA(CLOSE,150));
var27:=EMA(var26,100);
var28:=(2 * (var26 - var27));
var29:=((POW(var28,3) * 0.1) + POW(var28,1));
var2a:=SQRT(SQRT((((LOW * HIGH) * OPEN) * CLOSE)));
var2b:=EMA((var2a * 0.97),3);
var2c:=(((HIGH + LOW) + CLOSE) / 3);
var2d:=((var2c - MA(var2c,14)) / (0.015 * XXXEDEV(var2c,14)));
黑马线IF((var28 > 0.1),var29,0) * 5),colorred;
量价线((CLOSE - MA(CLOSE,21)) / MA(CLOSE,21)) * 100),colorffffff;
var2e:=IF((FILTER(((量价线 > 0) AND (量价线 < 3)),5) = 1),12,0);
涨幅前兆:IF((FILTER(((((庄拉线 > 0) AND (庄拉线 < 0.5)) AND var2e) AND (var1c < 3)),10) = 1),10,0),colorffffff;
选股利器:IF((FILTER((((((((var2e > 0) AND (var1c < 2)) AND (庄拉线 > 0)) AND (庄拉线 < 1)) AND (黑马线 > 0)) AND (黑马线 < 1.5)) AND (var2e > 0)),5) = 1),10,0),colorff00ff;
DRAWICON((买点 > 0),10,1);
DRAWICON((卖点 > 0),10,2);
DRAWICON((涨幅前兆 > 0),10,1);
DRAWICON((选股利器 > 0),10,1);
量价先行10 * CROSS(量价线,0)),colorffff00;
DRAWICON((量价先行 > 0),10,11);
拉升开始15 * (((((((庄拉线 > 0.1) AND (COUNT((庄拉线 > 0.1),2) = 1)) AND (CLOSE >= OPEN)) AND (VOL > REF(VOL,1))) AND ((VOL / CAPITAL) > 0.003)) AND (量价线 > 1)) AND (量价线 > 黑马线))),linethick2,color00ffff;
DRAWICON((拉升开始 > 0),15,10);
量价主升浪20 * FILTER((CROSS(量价线,黑马线) AND (庄拉线 > 0.5)),7)),linethick3,colorff00ff;
DRAWICON((量价主升浪 > 0),20,8);
庄拉主升浪:(30 * ((CROSS(庄拉线,黑马线) AND (黑马线 > 0)) AND (量价线 > 0))),linethick3,colorff00ff;
DRAWICON((庄拉主升浪 > 0),30,8);
2.超级短线
使用方法:
当操作线(红线)自下向上穿越阻力线时,买入;操作线走平或拐头向下趋势时卖出;两条线互不交叉时持股或空仓,不予操作。结合大势操作更好。
Var1:=HHV(HIGH,25);
Var2:=LLV(LOW,25);
阻力线:EMA((CLOSE-Var2)/(Var1-Var2)*100,20),colorgreen,Linethick1;
突破线:= EMA((CLOSE-Var2)/(Var1-Var2)*100,5);
操作线:突破线,colorred, Linethick1;
3.速买速卖”公式,省心、直观、稳赚!
VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);
B:ZIG(3,50/5)*100,colorwhite;
G:MA(B,3),coloryellow;
D:=CROSS(B,G)*1000,colorred;
W:=CROSS(G,B)*1000,colorblue;
E:=REF(INDEXC,1);
F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);
VAR10:=F AND F<8;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
MM:=A AND D AND VAR10 AND VAR14 ;
DRAWTEXT(W=1000,B*1.05,'速卖' ),COLOR00FF00;
DRAWTEXT(D=1000,B*1.05,'速买'),colorred;
4.红买绿卖
VAR3:=100-(100-3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1),15,1));
VAR4:=100-(100-3*SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1),15,1));
STICKLINE(VAR3<=REF(VAR4,1),VAR3,VAR4,4,0),COLORGREEN;
STICKLINE(VAR3>REF(VAR4,1),VAR3,VAR4,4,0),COLORRED; |
|