股龙之水精品公式之【股龙必杀技】合体版
心有多宽,世界就有多大!股市也一样,心态很重要!
来创幻座座,可不能空手而来,带了点小礼物,希望大家喜欢!
【股龙必杀技】合体版是整合【股龙寻金】于其中,两位一体。
公式思路:作用于寻找阶段性底部形态,放量前形态,主升浪形态。
KDJ比传统稳定,没有高低位纯化,MACD也比传统的要快速些确认。
{股龙必杀技}
{参数N=3,M1=10}
VAR1:=(C-EMA(C,6))/EMA(C,6)*100;
VAR2:=(C-MA(C,24))/MA(C,24)*100;
VAR3:=(C-MA(C,32))/MA(C,32)*100;
VAR4:=(VAR1+VAR2+VAR3)/3;
KX:MEMA(VAR4,N),NODRAW,COLORFF00FF;
DX:MEMA(KX,3),NODRAW,COLORBROWN;
DRAWBAND(KX,RGB(150,0,100),DX,RGB(100,100,50));
MCD:EMA(EMA(VAR1,3),N)*2,COLORSTICK;
VAR5:=EMA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
VAR6:=SMA(SMA(100-3*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+SMA(2*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
VAR7:=VAR6<REF(VAR6,1) AND MCD>REF(MCD,1) AND DX>REF(DX,1) AND V>REF(V,1) AND C>O*1.011;
VAR8:=LLV(VAR5,3)<VAR5;
VAR9:=KX>DX AND DX<7;
必杀①:IF(VAR8>=1 AND VAR9 AND REF(KX<DX,1),1,0),NODRAW,COLORRED;
必杀②:IF(VAR7 AND VAR8 AND VAR9,1,0),NODRAW,COLORYELLOW;
XZ1:=(C/REF(C,1)-1)*100;
XZ2:=CONST(HHV(XZ1,60));
XZ3:=CONST(LLV(XZ1,60));
XZ4:=XZ3-((XZ2+XZ3)/2-XZ3);
XZ5:=(XZ3+XZ4)/2;
TR:=EXPMEMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),M1);
HD:=HIGH-REF(H,1);
LD:=REF(L,1)-LOW;
DMP:=EXPMEMA(IF(HD>0 AND HD>LD,HD,0),M1);
DMM:=EXPMEMA(IF(LD>0 AND LD>HD,LD,0),M1);
V1:=DMP/TR;
V2:=DMM/TR;
V3:=EXPMEMA(V1,M1);
V4:=EXPMEMA(V2,M1);
V5:=IF(V3>V4,(XZ3+XZ5)/2,XZ5);
V6:=IF(必杀①=1,XZ3,XZ5);
V7:=CROSS(V3,V4) AND (EXIST(CROSS(V4,V3),2) OR EXIST(CROSS(V4,V3),3));
DRAWBAND(V5,RGB(110,0,100),XZ5,RGB(100,100,50));
DRAWBAND(V6,RGB(150,50,50),XZ5,RGB(100,100,50));
黄金位:IF(V1>V3 AND V2<V3,1,0),NODRAW,COLORLIRED;
黄金坑¤:IF(V7=1,1,DRAWNULL),NODRAW,COLORGREEN;
STICKLINE(黄金位,0,MCD,0,1),COLORLIRED;
STICKLINE(必杀②=1 AND REF(必杀②,1)<=0,(XZ3+XZ5)/2,XZ5,0.1,0),COLORYELLOW;
DRAWTEXT(黄金坑¤,XZ5,'¤'),COLORGREEN;
{以下文字可不要}
DRAWTEXT(必杀①=1,XZ3,'①'),COLORRED;
DRAWTEXT(必杀②=1 AND REF(必杀②,1)<=0,XZ5,'②'),COLORYELLOW;
公式只作用于个人的盘感,盘感不好,公式也就没用了。
以下是选股:
N:=3;
VAR1:=(C-EMA(C,6))/EMA(C,6)*100;
VAR2:=(C-MA(C,24))/MA(C,24)*100;
VAR3:=(C-MA(C,32))/MA(C,32)*100;
VAR4:=(VAR1+VAR2+VAR3)/3;
KX:=MEMA(VAR4,N);
DX:=MEMA(KX,3);
MCD:=EMA(EMA(VAR1,3),N)*2;
VAR5:=EMA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
VAR6:=SMA(SMA(100-3*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+SMA(2*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
VAR7:=VAR6<REF(VAR6,1) AND MCD>REF(MCD,1) AND DX>REF(DX,1) AND V>REF(V,1) AND C>O*1.011;
VAR8:=LLV(VAR5,3)<VAR5;
VAR9:=KX>DX AND DX<7;
必杀①:IF(VAR8>=1 AND VAR9 AND REF(KX<DX,1),1,0);
--------------------------------------------------------------------------------
VAR1:=(C-EMA(C,6))/EMA(C,6)*100;
VAR2:=(C-MA(C,24))/MA(C,24)*100;
VAR3:=(C-MA(C,32))/MA(C,32)*100;
VAR4:=(VAR1+VAR2+VAR3)/3;
KX:=MEMA(VAR4,N);
DX:=MEMA(KX,3);
MCD:=EMA(EMA(VAR1,3),N)*2;
VAR5:=EMA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
VAR6:=SMA(SMA(100-3*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+SMA(2*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
VAR7:=VAR6<REF(VAR6,1) AND MCD>REF(MCD,1) AND DX>REF(DX,1) AND V>REF(V,1) AND C>O*1.011;
VAR8:=LLV(VAR5,3)<VAR5;
VAR9:=KX>DX AND DX<7;
VAR10:=IF(VAR7 AND VAR8 AND VAR9,1,0);
必杀②:VAR10=1 AND REF(VAR10,1)<=0;
---------------------------------------------------------------------------------------
M1:=10;
TR:=EXPMEMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),M1);
HD:=HIGH-REF(H,1);
LD:=REF(L,1)-LOW;
DMP:=EXPMEMA(IF(HD>0 AND HD>LD,HD,0),M1);
DMM:=EXPMEMA(IF(LD>0 AND LD>HD,LD,0),M1);
V1:=DMP/TR;
V2:=DMM/TR;
V3:=EXPMEMA(V1,M1);
V4:=EXPMEMA(V2,M1);
黄金坑:CROSS(V3,V4) AND (EXIST(CROSS(V4,V3),2) OR EXIST(CROSS(V4,V3),3));
|