VAR2:=LLV(LOW,12);
VAR3:=HHV(HIGH,52);
动力线:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*8,7)-1;
趋势:MA(动力线,3),COLORRED;
PARTLINE(动力线>REF(趋势,1),趋势),LINETHICK2,COLORRED;
PARTLINE(动力线
{ _股票飞狐指标公式}
均价:=(2*C+(H-L)/2+L+o)/4,COLORWHITE;
价差:=SUM(均价-REF(均价,1),3)/3;
实价:=均价+价差,COLORYELLOW;
VAR12:=EMA(EMA(EMA(实价,12),3),3);
k:(VAR12-REF(VAR12,1))/REF(VAR12,1)*100+1,COLORYELLOW;
D:MA(k,3),COLORGREEN;
j:=3*K-2*d;
STICKLINE(K>1,1,K,1,0),COLORRED;
STICKLINE(K<1,1,K,1,0),COLORCYAN;
底部:-0.6,COLORC6C600;
关注:0,COLORFF75FF;
强弱分界:2.0,COLORRED;
小心: 5.0,COLORYELLOW;
风险: 6,COLORBLUE;
出击:=IF((趋势>REF(趋势,1)) AND (REF(趋势,1)
DRAWICON(趋势>2 AND 趋势<5 AND 趋势>REF(趋势,1) AND(crOSS(K,D)),趋势-0.3,8);
DRAWICON(趋势<1 AND(CROSS(K,D))AND D<0.1,趋势-0.1 ,1);