股票黄金:=15;过滤:=8;
分割线公式:=-26;抄底:=-40;
ffffe2:=MA(CLOSE,5);
ffffe3:=MA(CLOSE,10);
ffffe4:=MA(CLOSE,20);
ffffe5:=MA(CLOSE,30);{股票公式-股票指标www.gs6699.com}
ffffe6:=(ffffe2+ffffe3+ffffe4+ffffe5)/(4);
ffffe7:=((ffffe6-REF(ffffe6,股票黄金))/(REF(ffffe6,股票黄金)))*(100);
ffffe8:=((ffffe6-REF(ffffe6,股票黄金))/(REF(ffffe6,股票黄金)))*(100);
ffffe9:=EMA(ffffe7,过滤);
ffffea1:STICKLINE(ffffe7>1*REF(ffffe7, 1), ffffe7, ffffe9, 5, 0), COLORRED;
ffffea2:STICKLINE(ffffe7<1*REF(ffffe7, 1), ffffe7, ffffe9, 5, 1), COLORGREEN;
N:=40;JJ:=(HIGH+LOW+CLOSE)/3;fffdd0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
fffdd1:=IF(CAPITAL=0,fffdd0*(JJ-MIN(CLOSE,OPEN)),fffdd0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
fffdd2:=IF(CAPITAL=0,fffdd0*(MIN(OPEN,CLOSE)-LOW),fffdd0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
fffdd3:=IF(CAPITAL=0,fffdd0*(HIGH-MAX(OPEN,CLOSE)),fffdd0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
fffdd4:=IF(CAPITAL=0,fffdd0*(MAX(CLOSE,OPEN)-JJ),fffdd0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
fffdda1:((fffdd1+fffdd2)-(fffdd3+fffdd4))/SUM(VOL,60)*1,COLOR00AAAA,LINETHICK0;DX:=MA(fffdda1,5)*N;
fffdda2:SMA(DX,3,1)*100+1,COLORWHITE,LINETHICK2;
fffdda3:0,COLORYELLOW,LINETHICK2;