當前位置:首頁 > 社會 > 正文

五、“決策天機”指标源碼(主圖)

五、“決策天機 ”指 标源碼(主圖):

EMA6:MA(C,6),COLORRED LINETHICK2;

EMA18:MA(C,18),COLORYELLOW;

EMA55:MA(C,55),COLORFF00FF;

EMA144:MA(C,144),COLORGREEN;

EMA250:MA(C,250),COLORRED;

EMA288:MA(C,288),COLORBLUE;

中線【買入】:=COUNT(CLOSE

CLOSE/EMA18>1.004 AND CROSS(CLOSE,EMA18) AND EMA18>=

REF(EMA18,1),LINETHICK,COLORRED;

DRAWTEXT(中線【買入】,LOW*0.95,' 中線【買入】'),COLORRED;

VL:=REF(LOW,1);

VAR12:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100;

VAR14:=MA(VAR12,13);

VAR15:=LLV(LOW,34);

VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3);

VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);

VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR110*10.9;

T:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),20);

DRAWTEXT(T,LOW-0.4,'←洗盤結束'),COLORFF00FF;

DRAWTEXT(T,LOW-0.2,'|'),COLORFF00FF;

VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;

VAR22:=SMA(VAR21,3,1);

VAR23:=SMA(VAR22,3,1);

VAR24:=SMA(VAR23,3,1);

VAR25:=CROSS(VAR23,VAR24) AND VAR23<20;

DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.4,'←抄底'),COLORRED;

DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.2,'|'),COLORRED;

VAR29:=CROSS(VAR24,VAR23) AND VAR23>80;

DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.4,'←逃頂'),COLORBLUE;

DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.2,'|'),COLORBLUE;

六、決策天機”指标源碼(選股):

VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;

VAR22:=SMA(VAR21,3,1);

VAR23:=SMA(VAR22,3,1);

VAR24:=SMA(VAR23,3,1);

VAR25:=CROSS(VAR23,VAR24) AND VAR23<20;

FILTER(VAR25,10)=1;

七、“二十日戰法”指标源碼(簡潔版主圖):

買線:=EMA(C,4);

賣線:=EMA(SLOPE(C,20)*10+C,35);

DRAWTEXT(CROSS(買線,賣線),LOW*1.00,'←買'),COLORRED,LINETHICK2;

DRAWTEXT(CROSS(賣線,買線),HIGH*1.01,'←賣'),COLORGREEN;

LC:=REF(CLOSE,1);

RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

DRAWTEXT(CROSS(90,RSI) , HIGH*1.01,'←逢高出局!'),COLOR00FF00 ;

A:=(3*C+L+O+H)/6;

X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;

主力成本:EMA(X,13),COLORFF00FF,LINETHICK0;

ZZ:=(O+H+L)/3;

YC:=(H+L)/2;

YCHJX:=(EMA(ZZ,4))+(YC-REF(ZZ,3))/4;

今日買點:EMA(ZZ,3),COLORYELLOW,LINETHICK0;

明日買點:YCHJX,LINETHICK0;

昨測今日買點:REF(YCHJX,1),LINETHICK0;

FF:=EMA(CLOSE,3);

MA15:=EMA(CLOSE,21);

DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.02),'←拐點賣'),COLOR00FF00;

DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'←拐點買'),COLOR00FFFF;

八、“二十日戰法”指标源碼(拐點買選股):

FF:=EMA(CLOSE,3);

MA15:=EMA(CLOSE,21);

拐點買:CROSS(FF,MA15);

你可能想看:

有話要說...

取消
掃碼支持 支付碼