大智慧谷底淘金指标公式股票软件源码如下: 拉升力:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE; 拉升力A:=SMA(拉升力,6.3,1); 波峰波谷:SMA(拉升力A,3,1),COLORFFFFFF; 拉升力B:=3*拉升力A-2.1*波峰波谷; 空方:=3*波峰波谷-1* 拉升力A; 做空:IF(空方>拉升力B,拉升力B,空方),LINETHICK2,COLOR00FF00; 做空周期:HHV(做空,21); PARTLINE(做空,做空>=REF(做空,1)),COLORRED,LINETHICK3; PARTLINE(做空,做空短线:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20,LINETHICK0,COLORYELLOW; 中线:(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORWHITE; 红柱:SMA(短线,3,1),LINETHICK0,COLOR0000FF; 蓝柱:SMA(中线,3,1),COLORSTICK,COLORFFFF00; {红柱} STICKLINE(红柱[0,0,红柱,2,1),COLORRED;] STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,2,0),COLORRED; STICKLINE(蓝柱[0,0,蓝柱,2,0),COLOR00FFFF;] {蓝柱} {股票软件下载网-股票公式网站 www.gpxiazai.com} STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,2,0),COLORCYAN; STICKLINE(红柱STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,3,0),COLORWHITE; |