大智慧顶底分明指标公式股票软件源码如下: 买:=MA(CLOSE,1); 卖:=(LOW+HIGH+CLOSE)/3; 奇准:= MA(卖,5); 买卖:=LLV(奇准,10); 急买奇准:=LLV((买<买卖),5); 短买奇准:=LLV((买<买卖),10); STICKLINE(短买奇准,0,80,1,0),COLORRED; STICKLINE(急买奇准,0,50,1,0),COLORFF00FF; 顶: 97,COLORBLUE; 波段高抛注意: 80,COLORMAGENTA; 趋势: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLORFFFFFF; 波段低吸: 20,COLORRED; 底:8,COLORGREEN; 强弱分界: 50,COLORGRAY; DRAWICON(REF(趋势,1)<8 AND REF(趋势,2)>REF(趋势,1) AND 趋势>REF(趋势,1),趋势,1); DRAWICON(REF(趋势,1)>80 AND REF(趋势,2){关注} HLM1:=MA(HHV(H,485),17); HLM2:=MA(HHV(H,222),17); HLM3:=MA(HHV(H,96),17); HLM4:=MA(LLV(L,485),17); HLM5:=MA(LLV(L,222),17); HLM6:=MA(LLV(L,96),17); HLM7:=MA((HLM1*0.558+HLM2*0.558+HLM3*0.558+HLM4*0.96+HLM5*0.96+HLM6*0.96)/6,17); HLM8:=MA((HLM1*0.55+HLM2*0.55+HLM3*0.65+HLM4*1.25+HLM5*1.23+HLM6*1.2)/6,17); HLM9:=MA((HLM1*0.68+HLM2*0.68+HLM3*0.68+HLM4*1.3+HLM5*1.3+HLM6*1.3)/6,17); {股票软件下载网-股票公式网站 www.gpxiazai.com} HLM10:=MA((HLM7*3+HLM8*2+HLM9)/6*1.738,17); HLM11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100; HLM12:=MA(IF(C*1.35<=HLM10,HLM11*10,HLM11/10),3); HLMH:=HHV(HLM12,30); 关注:MA(IF(L<=LLV(L,13),(HLMH+HLM11*2)/2,0),3)/200,COLOR00FFFF; {抄底} 抄底:STICKLINE(IF((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),0.15,(-0)),0,-20,5,0),COLOR00FFFF; |