编写要求:
源码猛虎: 600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30); 风险:EMA(猛虎,7),COLORRED; 笼顶:(WINNER(120*C/100)-WINNER(100*C/100))*100,COLORGREEN; 笼底:-100*(WINNER(120*C/100)-WINNER(100*C/100))+5,COLORF00FF0; 底部区:=猛虎<笼顶 AND 猛虎<笼底; 打压吸筹区:STICKLINE(底部区,猛虎+10,猛虎-10,2,0),COLOR669933; 底成:=(CLOSE-MA(CLOSE,28))/MA(CLOSE,28)*100<-23; STICKLINE(底成,笼底+40,笼底-50,3,0),COLOR00FF00; DRAWTEXT(底成,笼底-40,'★:底成'),COLOR00FF00; VARX:=LLV(LOW,75); VARX1:=HHV(HIGH,75); VARX2:=(VARX1-VARX)/100; VARX3:=SMA((CLOSE-VARX)/VARX2,20,1); VARX4:=3*VARX3-2*SMA(VARX3,15,1); VARX5:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; VARX6:=SMA(VARX5,3,1); VARX7:=SMA(VARX6,3,1); DBX:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100; 要涨:=(CROSS(DBX,-5.4) AND (8+DBX)*10>=29 AND (100-VARX4)>49 AND (VARX4>SUM(VARX4,20)/20 AND VARX7>REF( VARX7,1)))*10; STICKLINE(要涨,笼底-10,笼底+50,4,0),COLORBLUE; DRAWTEXT(要涨,笼底+40,'★:要涨'),COLORBLUE; 求设:风险大于笼顶,猛虎上穿风险预警,再次谢谢
解答:
?猛虎:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
风险:=EMA(猛虎,7),COLORRED;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!