个股波段起爆点公式

看不懂,收藏先...

 

     附:个股波段起爆点公式

通用公式源码:

VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR2:=EMA(VAR1,8);
VAR3:=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);
趋势线:=EMA(VAR3,3)-10;TYP := (HIGH + LOW + CLOSE)/3;
CC1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
C1:=SMA(CC1,3,1);C2:=SMA(C1,3,1);
C3:=3*C1-2*C2;CB1:=EMA(C3,5);
CB2:=REF(CB1,1);LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI:=(RSI1-50)*5;R1:=SMA(RSI,3,1);
D1:=SMA(R1,3,1);J1:=3*R1-2*D1;
RR1:=EMA(J1,5);RR2:=REF(RR1,1);
RR:=RR1>RR2;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);K1:=(K-50)*5;
K2:=SMA(K1,3,1);D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;BB1:=EMA(J2,5);BB2:=REF(BB1,1);
买入:RR AND NOT(REF(RR,1)) AND (RR1<-100 AND BB1<-100) AND CB1<-100
and CROSS(趋势线,VAR2) AND 趋势线>REF(趋势线,1) AND 趋势线<50;

 

大智慧波段起爆点公式

 

1、获利线:EMA(WINNER(C)*100,3),colorwhite;
庄筹线:EMA(WINNER(C)*70,5),colorred,linethick2;
散筹线:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,5),coloryellow,linethick2;
收:=winner(C)*100;
开:=winner(O)*100;
博弈K线长:MAX(ABS(收-开),ABS(收-REF(收,1))),pointdot,colorwhite;
STICKLINE(庄筹线>散筹线,庄筹线,散筹线,0,0),COLOrwhite;
stickline(收>=REF(收,1),0,博弈K线长,4,0),colorred;
stickline(收<=REF(收,1),0,博弈K线长,4,0),color00ff00;
5,colorwhite,pointdot;
20,coloryellow,pointdot;
40,colorffcc66,pointdot;
60,colorff00ff,pointdot;
cc:FILTER((CROSS(5,庄筹线) and 散筹线<20 )*60,10 ),colorff00ff;
DRAWTEXT(cc ,60 ,'海底捞活鱼(抄底)' ),colorff00ff;
aa:= ref(庄筹线,30)>40 or ref(庄筹线,20)>40;
aa1:=cross(庄筹线,散筹线);
DRAWTEXT(AA1,70,'鸡雀***'),color00ff00;
bb:=CROSS(28,庄筹线) and 散筹线>40 and aa=1 and LLV(l ,60 )>LLV(l ,250 );
DRAWTEXT(bb,30,'决战诱空'),colorwhite;
IF(bb,30,60 ),colorffcccc;


2、主筹估算:EMA(WINNER(C)*70,3),LINETHICK2,COLORRED;
散筹估算:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3),LINETHICK1,colorgreen;
筹码锁定:散筹估算-主筹估算,COLORFFBB00;
stickline(筹码锁定>0,筹码锁定,散筹估算,8,0),color009900;
stickline(筹码锁定<=0,0,散筹估算,8,0),color009900;
stickline(筹码锁定>0,0,筹码锁定,8,0),COLORFFBB00;
stickline(筹码锁定<0,0,筹码锁定,8,0),COLORFFBB00;
stickline(筹码锁定<-50,-50,筹码锁定,8,0),COLORRED;
动态底部:EMA(IF(L<= LLV(l,99),SMA(ABS(L-REF(L,1)),99,1)/SMA(MAX(L-REF(l,1),0),99,1),0)*5,3),COLORYELLOW;
stickline(动态底部>0,0,动态底部,8,0),COLORYELLOW;
主筹估算,LINETHICK2,COLORRED;
DRAWICON(CROSS(主筹估算,散筹估算),散筹估算,1);
DRAWICON(CROSS(主筹估算,筹码锁定),主筹估算-0.2,2);


3、散筹估算:EMA((WINNER((O+C*2+H+L)/5*1.1)-WINNER((O+C*2+H+L)/5*0.9))*80,N),STICK,COLORffeebb;
EMA((WINNER((O+C*2+H+L)/5*1.1)-WINNER((O+C*2+H+L)/5*0.9))*80,N1),COLORffeebb,LINETHICK2;
主筹估算:EMA(WINNER((O+C*2+H+L)/5)*70,M),STICK,COLOR0000ff;
EMA(WINNER((O+C*2+H+L)/5)*70,M1),COLOR0000ff,linethick2;
相对筹码:散筹估算-主筹估算,COLORff9900,linethick2;
动态底部:EMA(IF(L<= LLV(l,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(l,1),0),30,1),0),3)*10,STICK,COLORYELLOW,LINETHICK2;
VAR1:=IF(C>=O,H,0);
VAR2:=IF(C<=O,REF(H,1),VAR1);
VAR3:=IF(C>=O,V,0);
VAR4:=IF(C<=O,REF(V,1),VAR3);
VAR5:=COUNT(VAR2>REF(VAR2,1) AND VAR4<REF(VAR4,1),3)>=2 AND C>O;
量价背离:VAR5*40,STICK,COLORf5cceb,LINETHICK2;
{N,=10,1,100  M,=10,1,100,N1=10,1,100,M1=10,1,100}

你可能感兴趣的:(c,filter)