编写要求:
解答:
?网友求助:
VAR2:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*2000;
买卖力道: SMA(VAR2,3,1),COLORLIGRAY;
VAR3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VAR4:=(IF(CLOSE>OPEN,VAR3*(HIGH-LOW),IF(CLOSE
VAR6:=MA(VAR5,40);
VAR7:=100*(CLOSE-VAR6)/VAR6;
底部追击:= IF(VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.08,300,200),COLORGREEN;
STICKLINE(VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.08,1200,200,10,0) , COLORGREEN;
VAR8:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VAR9:=SMA(VAR8,3,1);
VARA:=SMA(VAR9,3,1);
D: SMA(VARA,5,1)*20, COLORCYAN;
V11:=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(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
BB:(趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10);
买入股票:= (趋势线<=13 AND V12>13),COLORRED;
CCC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);
清仓:=FILTER(趋势线>=90 AND V12 AND CROSS(D,买卖力道),5),COLORYELLOW;
卖出区: 清仓+1800,COLORYELLOW;
中:(0+卖出区)/2, COLORGREEN;
STICKLINE(买卖力道>=中 AND 买卖力道>=REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORMAGENTA;
STICKLINE(买卖力道>=中 AND 买卖力道< REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORBROWN;
STICKLINE(买卖力道<中 AND 买卖力道>=REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORGREEN;
STICKLINE(买卖力道<中 AND 买卖力道< REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORBLUE;
DRAWICON(买入股票,中,15);
DRAWTEXT (BB,0,'买股'),COLORYELLOW;
DRAWTEXT(清仓,买卖力道,'顶'),COLORYELLOW;
STICKLINE(清仓,买卖力道,买卖力道+0.01,2,0),COLORBLUE;
DRAWICON(CROSS(D,中),中,13);
DRAWICON(CROSS(中,买卖力道),买卖力道,2);
DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));
DEA:=(EMA(DIF,6));
MACD:=(DIF-DEA)*3;
红线:=IF(MACD>=0 AND MACD>REF(MACD,1),中,DRAWNULL);
青线:=IF(MACD>=0 AND MACD< REF(MACD,1),中,DRAWNULL);
粉线:=IF(MACD<0 AND MACD>=REF(MACD,1),中,DRAWNULL);
蓝线:=IF(MACD<0 AND MACD< REF(MACD,1),中,DRAWNULL);
STICKLINE(红线,200,250,1,0),COLORRED,LINETHICK1;
STICKLINE(青线,200,250,1,0),COLORCYAN,LINETHICK1;
STICKLINE(粉线,200,250,1,0),COLORMAGENTA,LINETHICK1;
STICKLINE(蓝线,200,250,1,0),COLORBLUE,LINETHICK1;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!