涨跌天数统计 S阳买,S阴买
公开S阳买指标源码,可以反推S阴买指标源码!
S阳买指标源码:
二十日涨十日:COUNT(C>O,20)>10;
十日涨五日:IF(COUNT(C>O,10)>5,0.8,0);
五日涨三日:IF(COUNT(C>O,5)>3,0.5,0);
三日涨两日:IF(COUNT(C>O,3)>1,0.1,0);
S阴买
二十日跌十日:COUNT(C<O,20)>10;
十日跌五日:IF(COUNT(C<O,10)>5,0.8,0);
五日跌三日:IF(COUNT(C<O,5)>3,0.5,0);
三日跌两日:IF(COUNT(C<O,3)>1,0.1,0);
1149144221.JPG
|