N:=20; CC:=(3*CLOSE+HIGH+LOW+OPEN)/6; KS:=BARSCOUNT(CLOSE)+2; M:=IF(KS<=N,KS,N); 绝对乖离:=ABS((M*CC-SUM(CC,M))/SUM(CC,M)); 动态周期:2*(1/绝对乖离+2.70),NODRAW; JIP:=IF(KS<3,(HIGH+LOW)/2,DMA(CLOSE,2/动态周期)); JFC:=SQRT(SUM((CLOSE-JIP)*(CLOSE-JIP),M)/(M-1)); 上界:IF(KS<3,HIGH,JIP+2*JFC); 强势核心:IF(KS<3,(2*HIGH+LOW)/3,JIP+1*JFC); 趋势中心:JIP; 弱势核心:IF(KS<3,(2*LOW+HIGH)/3,JIP-1*JFC); 下界:IF(KS<3,LOW,JIP-2*JFC);
看股吧 公式 www.kanguba. com