最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 顶底预知指标改成大智慧能用的

顶底预知指标改成大智慧能用的

来源:网络 点击: 时间:2023-01-03 01:15:25

编写要求:

LC:=REF(CLOSE,1); RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORDD55DD,NODRAW; RSI12:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,COLORDD8855,NODRAW; DRAWBAND(RSI6,RGB(100,42,100),RSI12,RGB(20,60,100)); LOWV:=LLV(LOW,9); HIGHV:=HHV(HIGH,9); SRSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3); SK:EMA(SRSV,3),COLORFFFFFF,NODRAW; SD:MA(SK,3),COLOR00FFFF,NODRAW; SJ:3*SK-2*SD,COLORFFFF88,NODRAW; VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); VAR3:=EMA(VAR2,10); VAR4:=LLV(LOW,33); VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3)/2.2; 进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW; 洗盘:IF(VAR5REF(VAR5,1),0,VAR5,3,0 ),COLOR000066; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR0000AA; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.8,0 ),COLOR0000FF; STICKLINE(VAR5=VAR41,VAR31,0),3)/2.2; 主力拉高:IF(VAR51REF(VAR51,1),VAR51,0),COLORFF8822,NODRAW; STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),COLORFF6622; STICKLINE(VAR51>REF(VAR51,1),0,VAR51,1.1,0 ),COLORFF4400; VAR1X:=REF(LOW,1); VAR2X:=SMA(ABS(LOW-VAR1X),3,1)/SMA(MAX(LOW-VAR1X,0),3,1)*20; VAR3X:=EMA(IF(CLOSE*1.2,VAR2X*10,VAR2X/10),3); VAR4X:=LLV(LOW,38); VAR5X:=HHV(VAR3X,38); VAR6X:=IF(LLV(LOW,90),1,0); VAR7X:=EMA(IF(LOW<=VAR4X,(VAR3X+VAR5X*2)/2,0),3)/618*VAR6X; VAR8X:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; VAR9X:=SMA(VAR8X,13,8); 主力吸货:VAR7X,COLOR9966FF,NODRAW; 吸筹:STICKLINE(VAR7X,0,VAR7X,0,0),COLOR9966FF; Y1:=SMA(ABS(L-REF(L,1)),34,1); Y2:=SMA(MAX(L-REF(L,1),0),34,2); W底:=-(EMA(IF(L<= LLV(L,34),Y1/Y2,-3),9)),COLORFF55FF,NODRAW; A:=-(EMA(IF(L<= LLV(L,8),Y1/Y2,-3),9)),COLOR66FFFF,NODRAW; Y3:=SMA(ABS(H-REF(H,1)),34,1); Y4:=-SMA(MIN(H-REF(H,1),0),34,2); X:=6-(EMA(IF(H>= HHV(H,34),-Y3/Y4,3),9)),COLORRED,LINETHICK1; B:=6-(EMA(IF(H>= HHV(H,8),-Y3/Y4, 3),9)),COLOR66CC33,NODRAW; DIFL:=EMA(V,12)-EMA(V,26); DIF:=EMA(C,12)-EMA(C,26); 底BL:=DIFL>REF(DIFL,1) AND DIFREF(DIF,1); 量底:IF(((W底<3 AND W底3 AND X>REF(X,1)) OR (B>3 AND B>REF(B,1))) AND 顶BL,1,0),COLOR88FF88,NODRAW; 价顶:IF(((X>3 AND X>REF(X,1)) OR (B>3 AND B>REF(B,1))) AND 顶BL AND K>80,1,0),COLORFFFF00,NODRAW; DRAWICON(((W底<3 AND W底3 AND X>REF(X,1)) OR (B>3 AND B>REF(B,1))) AND 顶BL,90,2); DRAWICON(((W底<3 AND W底3 AND X>REF(X,1)) OR (B>3 AND B>REF(B,1))) AND 顶BL AND K>80,100,14); RSV0:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K0:=SMA(RSV0,3,1); D0:=SMA(K0,3,1); J0:=3*K0-2*D0; 卖警:IF(COUNT(J0>=100,3)=3,90,100),COLOR008800,DOTLINE; 买警:IF(COUNT(J0<=0,3)=3,10,0),COLOR885588,DOTLINE; DRAWTEXT(卖警=90 AND 卖警REF(买警,1),15,'买警'),COLORFFFFFF; TJ00:=BARSLAST(REF(CROSS(K0,D0) AND REF(K0,1)<35,1)); TJ11:=LLV(L,5)5 AND LLV(K0,6)>REF(LLV(K0,6),TJ00+1) AND CROSS(K0,D0); 加仓:IF(TJ11,15,0),COLOR0000FF; 轻仓:IF(COUNT(K0<20.5,3)=3 AND (K0-D0)>REF(K0-D0,1),15,0),COLOR55FFFF; 波高警:=COUNT(J0>=100,2)=2 AND K0>80 AND (K0-D0)=周DD,50,DRAWNULL),COLOR222222; DRAWICON(CROSS(周KK,周DD),50,7); DRAWICON(CROSS(周DD,周KK),50,8); SK1:SK,LINETHICK1,COLORFFFFFF; SD1:SD,LINETHICK1,COLOR00FFFF; SJ1:SJ,COLORFFFF22,DOTLINE; 卖:DRAWTEXT(CROSS(SD,SK),90,'卖↓'),COLOR22FF22; 买:DRAWTEXT(CROSS(SK,SD),20,'买↑'),COLOR2222FF;

解答:

?LC:=REF(CLOSE,1);

RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORDD55DD,LINETHICK0;

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top