通达信分时图辅助看盘:五指山万泉河逃顶抄底指标(修订版52
版)-〖指标公式交流〗...
通达信分时图辅助看盘:五指山万泉河逃顶抄底指标(修订版52版)
【声明】请先占用你1分钟时间看看下面的文字:
1,公式指标含有未来函数,惧怕者请离开,依公式信号操作责任由操作者自己负责。公式免费送个人参考,不得用于商业行为。公式的使用环境是需要最新的通达信6.1修改版,在通达信辅助分时栏看盘,请勿再短信询问此类问题。
2,这里是唯一的最新代码,代码还不完善,需要持续修订,不要发到外坛去!不需要做广告!
【告知】
11.21(周六)下午4点已经发布最新第54版并命名为分时操盘手,下载地点可短信询问。
(注:第54版不再在这里讨论,当然本贴我会抽空过来看看,我主要在大本营活动)
-----谢谢各位的捧场。这里发布的是MACD论坛纪念版----------修订第52版(即51d版修订版),请注意辨认。
从第52版起,不再发新的代码(也别短信问此类信息),要自己研究公式的,读懂
下面最新代码的思路你就能自己做到。
最新修订版版样图
[attach]1767078[/attach]
[attach]1773910[/attach]
{五指山万泉河第51D版代52版,本版有ZIG未来函数,心脏承受差的不要用!}
T0:=IF(TIME>093000 AND TIME<095500 ,1,0);
T1:=IF(TIME>093100 AND TIME<145500 ,1,0);
T2:=IF(TIME>100000 AND TIME<145500 ,1,0);
T3:=IF(TIME>142500 AND TIME<145500 ,1,0);
T4:=IF(TIME>143000 AND TIME<145500 ,1,0);
T5:=IF(TIME>110000 AND TIME<145500 ,1,0);
T6:=IF(TIME>104200 AND TIME<145500 ,1,0);
涨幅:=DYNAINFO(14)*100;
STS:=FINANCE(32)>=0 AND FINANCE(34)>0 AND DYNAINFO(7)>0 ;
CK:=IF(STS=0 AND 涨幅<4.95 OR STS=1 AND 涨幅<9.95,1,0);
CCT:=DYNAINFO(8);
PPP:= FILTER(CCT=0,500) ;
DRAWTEXT(PPP,45,'★今日该股票未开盘,不能分析★'),COLORFF00FF;
VM1:=(C*2+H+L)/4*10;
VM2:=EMA(VM1,13)-EMA(VM1,34);
VM3:=EMA(VM2,5);
VM4:=2*(VM2-VM3)*5.5;
A:=EMA(WINNER(CLOSE),10);
B:=EMA(WINNER(CLOSE),34);
BA:=100*(CLOSE-REF(CLOSE,12))/REF(CLOSE,12);
BD:=MA(ROC,6)*100;
VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
VAR67:=(LOW+HIGH+CLOSE)/3;
VAR80:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,3,0);
VAR81:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR83:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR82:=ZIG(3,6)[=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);]VAR84:=ZIG(3,22)[=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);]VAR85:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR87:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VARF:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-
LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
VAR9A:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
VAR86:=ZIG(3,51)[=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);]VAR88:=ZIG(3,72)[=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);]VARX1:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
VARX2:=( MA((CLOSE-VARX1)/VARX1,1));
NN1:=VAR80;
VARM1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VARM2:=SMA(VARM1,3,1);
RSVR:=(((CLOSE - LLV(LOW,65)) / (HHV(HIGH,65) - LLV(LOW,65))) * 100);
NN2:=(VAR81+VAR83+VAR85+VAR87);
MM1:=(VAR82+VAR84+VAR86+VAR88);
MM2:= IF(MM1>0,-500,0);
MM:= IF(C>1000,MM2*100,MM2),COLORRED,LINETHICK3;
CT:SUM(MM,0) AND T1=1;{统计}
五指山:EMA((CLOSE-LLV(CLOSE,55))/(HHV(CLOSE,55)-
LLV(LOW,55))*100,5),LINETHICK1,COLORFF00FF;
AAD:=MA(CLOSE,32);
BAD:=MA(CLOSE,12);
DDD:=CROSS(B,A);
万泉河: (7*SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*30,4,1),3,1),2,1)),COLORFF9933;
WH:=五指山;
WL:=万泉河;
VARM3:=SMA(VARM2,3,1);
VARM4:=SMA(VARM3,3,1);
AAC:=MA(C,1);
BBB:=MA(AAD,2);
VAR51:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
BB:=SMA(VAR51,7,1);
SMX:=EMA(C,65)/EMA(REF(C,65),65)*10;
CC:=EMA(C,13)/EMA(REF(C,13),13)*10;
VAR68:=(VAR67-MA(VAR67,14))/(0.015*AVEDEV(VAR67,14));
WR30:=100*(HHV(HIGH,79)-CLOSE)/(HHV(HIGH,79)-LLV(LOW,79));
VAR21:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR22:=LLV(LOW,34);
VAR23:=HHV(HIGH,34);
W1:=WL/10;
W2:=REF(WL,1)/10;
SK1:=EMA((VAR21-VAR22)/(VAR23-VAR22)*100,13);
WR31:=IF(WR30=0 OR SK1>=90 OR VAR68>-250,100,WR30);
舟:IF(NN1>0 OR
NN2>0,35,DRAWNULL)*2,STICK,COLORMAGENTA,LINETHICK3;
花:EMA(IF(WL<35 AND T3=1 AND L<= LLV(L,30),SMA(ABS(L-
REF(L,1)),30,1)/SMA(MAX(L-REF(L,1),0),30,1),0),3)*25,STICK,COLORYELLOW,LINETHICK3;
叶:=(CT=0 AND (CLOSE / COST(9)) <=1 ) * 100,COLORYELLOW,LINETHICK1;
STICKLINE(FILTER(叶=100,32)=1,0,100,10,0),LINETHICK1,COLORYELLOW;
DRAWTEXT(FILTER(叶=100,32)=1,25,'←买进?'),LINETHICK1,COLORYELLOW;
NC2:=WL>25 AND WL<55 AND WL > MA(REF(WL,5),5) AND CT=0 AND T2=1 AND 涨幅<7;
STICKLINE(FILTER(NC2=1,250)=1,0,70,10,0),COLORMAGENTA,LINETHICK1;
DRAWTEXT(FILTER(NC2=1,250)=1,53,'←加仓?'),COLORMAGENTA,LINETHICK1;
VARSA1:=REF(CLOSE,1);
VARSA2:=SMA(MAX(CLOSE-VARSA1,0),7,1)/SMA(ABS(CLOSE-VARSA1),7,1)*100;
VARSA3:=SMA(MAX(CLOSE-VARSA1,0),13,1)/SMA(ABS(CLOSE-VARSA1),13,1)*100;
看涨:CT=0 AND VARC=1;
CH:=SUM(看涨,0) AND T1=1;{统计}
P1:= FILTER(看涨=1,16) ;
DRAWTEXT(P1,45,'←短线看涨!'),COLORYELLOW,LINETHICK2;
EE:=EMA(C,150)/EMA(REF(C,150),150)*10;
HH:=IF(EE>REF(EE,1),1,0);
HS1:=CROSS(EE,SMX) AND EE>CC AND SMX>CC AND HH=1;
HS:=SUM(HS1,0) AND T1=1;{统计}
VAR1Z:=REF(CLOSE,1);
VAR2Z:=SMA(MAX(CLOSE-VAR1Z,0),7,1)/SMA(ABS(CLOSE-VAR1Z),7,1)*100;
VAR3Z:=SMA(MAX(CLOSE-VAR1Z,0),13,1)/SMA(ABS(CLOSE-VAR1Z),13,1)*100;
VAR4Z:=SMA(MAX(VAR1Z-CLOSE,0),7,1)/SMA(ABS(CLOSE-VAR1Z),7,1)*100;
VAR5Z:=SMA(MAX(VAR1Z-CLOSE,0),13,1)/SMA(ABS(CLOSE-VAR1Z),13,1)*100;
VAR6Z:=BARSCOUNT(CLOSE);
波:(T3=1 AND VAR2Z<25 AND VAR3Z<30 AND VAR6Z>35)*3,STICK, COLORSTICK,LINETHICK2;
VAR2A:=VARF[REF(CLOSE,1);]AND VOL>REF(VOL,1) AND
DRAWTEXT(CT=0 AND VAR2A AND COUNT(VAR2A,150)=1,68,'←大资金'),LINETHICK1,COLORYELLOW;
大资金:(CT=0 AND VAR2A AND
COUNT(VAR2A,150)=1)*77,STICK,COLORYELLOW,LINETHICK1;
VAR31:=MA(VOL,5)>MA(VOL,60);
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
VARY1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
SD:=(C>60 AND C<100,200,100);
SF:=IF(C<40 AND C<=60,300,SD);
SG:=IF(C>10 AND C<=25,800,IF(C>25 AND C<40,1000,SF));
SH:=IF(C<5,5000,IF(C>=5 AND C<=10,1500,SG));
SJ:=IF(C>=6000,5,SH);
SK:=IF(C>1000 AND C<6000,25,SJ);
MACD:(DIF-DEA)*SK,COLORSTICK;
CA:=T1=1 AND CT=1 AND 涨幅<9.8;
DD1:= CT=0 AND CROSS(CC,SMX+0.01);
STICKLINE(FILTER(DD1=1,158)=1,0,30,10,0),LINETHICK1,COLORYELLOW;
DRAWTEXT(FILTER(DD1=1,158)=1,8,'←买不亏?'),LINETHICK1,COLORYELLOW;
VARM6:=CC>SMX AND CC>EE AND CROSS(VARM3,VARM4) AND VARM3<30 AND T1=1 AND CCT >0 AND 涨幅<8;
VARM7:=WH>70 AND T4=1 AND CROSS(SMX,CC) AND 涨幅<9.9 OR WH>80 AND
T4=1
AND
CROSS(EE,SMX)
OR
WH>80
AND
T4=1
AND
CROSS(VARM4,VARM3) AND VARM3>80 AND CCT>0 AND 涨幅<9.9;
VM5:=IF(VM4>=0,VM4,0),COLORFF00FF;
VM6:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
VM7:=EMA(VM6,5);
VM8:=(VM7-REF(VM7,3))/REF(VM7,3)*100;
VARSB1:=SMA(MAX(VARSA1-CLOSE,0),7,1)/SMA(ABS(CLOSE-VARSA1),7,1)*100;
VARSB2:=SMA(MAX(VARSA1-CLOSE,0),13,1)/SMA(ABS(CLOSE-VARSA1),13,1)*100;
VARSB3:=BARSCOUNT(CLOSE);
DESY:=100*(HHV(HIGH,33)-CLOSE)/(HHV(HIGH,33)-LLV(LOW,33))*100;
DRAWTEXT(FILTER(VARM7=1,16)=1,80,'←逃顶?'),LINETHICK1,COLORYELLOW;
STICKLINE(FILTER(VARM7=1,16)=1,70,90,10,0),LINETHICK1,COLORYELLOW;
STICKLINE(FILTER(CA=1,350)=1,0,90,10,0),LINETHICK1,COLORGREEN;
DDC:=' ★提醒:短线看跌↓本信号若消失则可能转升↑';
DRAWTEXT(FILTER(CA=1,350)=1,45,DDC),COLORGREEN;
DRAWTEXT(FILTER(CA=1,350)=1,70,'←逃顶?'),LINETHICK1,COLORYELLOW;
STICKLINE(FILTER(CA=1,350)=1,75,90,10,0),LINETHICK1,COLORYELLOW;
HYJC:=(CH=0 AND VARSB1<25 AND VARSB2<30 AND
VARSB3>35)*100,COLORGREEN;
HYJJ:=ABS(VARSB1<25 AND VARSB2<30 AND VARSB3>35) AND WH>80 AND 涨幅>6;
DRAWTEXT(FILTER(HYJJ=1 XX'),LINETHICK1,COLORYELLOW;
AND CK=1,16)=1,90,'←逃顶
DRAWTEXT(FILTER(HYJC=100 AND CK=1 ,32)=1,90,'←逃顶
X'),LINETHICK1,COLORYELLOW;
STICKLINE(FILTER(HYJC=100
CK=1 ,32)=1,80,98,10,0),LINETHICK1,COLORYELLOW;
AND
警戒:85,COLOR5AFF9E;
轴:0;