GMX psy分析

float calc_PSY(const int days){
int n = days;
float close,yclose;
int off = 0,count = 0;
while ( n > 0 ){
close = get_CLOSE(off);
yclose = get_CLOSE(off+1);
if ( close > yclose ){ ++count;}
++off;
--n;
}
return count * 100.f / days;
}

心里线/中短期,取值0-100,25~75之间为常态分布

10以下极度超卖,>90是极度超买

由计算公式来看,受配股影响不大。

指标和个股均可使用,但需要考虑一下配股修正(日线)情况

17以下,2以下短线购入,90以上短线卖出

   
posted @ 2019-07-24 21:54  Reboost  阅读(98)  评论(0)    收藏  举报