顶底指标很好用改成预警公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

要求:如果下面指标出现标示★的能够跳出预警,谢谢各位班长帮忙!TYP := (HIGH + LOW + CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));买入线:=IF(CROSS(CCI,-160),100,0);DRAWTEXT(买入线,L,'←CCI底'),COLOR0099FF ;买出线:=IF(CROSS(CCI,200),100,0);DRAWTEXT(买出线,H,'←CCI顶'),coloryellow ;Var3:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;Var4:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;Var5:=Var3 AND Var4;DRAWTEXT(Var5,LOW,'★ '),coloryellow ;极品底:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,50,0),colorwhite,LINETHICK0;DRAWTEXT(极品底=50,LOW,'★ ');

解答:

 VAR3:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;

VAR4:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
VAR5:=VAR3 AND VAR4;
极品底:((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04) OR VAR5;
 

选股票看什么指标最好 >股票指标网