同花顺发现大资金指标公式
-
相关简介:市值:=500; VOL_MA5 = MA(VOL, 5); VOL_MA10 = MA(VOL, 10); VOL_VS_MA5 = VOL = (REF(VOL_MA5, 1) * 2); VOL_VS_MA10 = VOL = (REF(VOL_MA10, 1) * 2); VOL_MATCH = (VOL_VS_MA5 OR VOL_VS_MA10); IF VOL_MATCH THEN{ VOL_VS_MA5_VALUE = VOL / REF(VOL_MA5, 1); VOL_VS_
-
文章来源:股海网作者:股海网发布时间:2017-07-29浏览次数:
市值:=500;
VOL_MA5 = MA(VOL, 5);
VOL_MA10 = MA(VOL, 10);
VOL_VS_MA5 = VOL >= (REF(VOL_MA5, 1) * 2);
VOL_VS_MA10 = VOL >= (REF(VOL_MA10, 1) * 2);
VOL_MATCH = (VOL_VS_MA5 OR VOL_VS_MA10);
IF VOL_MATCH THEN{
VOL_VS_MA5_VALUE = VOL / REF(VOL_MA5, 1);
VOL_VS_MA10_VALUE = VOL / REF(VOL_MA10, 1);
IF VOL_VS_MA5_VALUE > VOL_VS_MA10_VALUE THEN
SIGNAL_STENGTH : VOL_VS_MA5_VALUE;
ELSE
SIGNAL_STENGTH : VOL_VS_MA10_VALUE;
}
//SIGNAL_STENGTH : VOL_VS_MA5 OR VOL_VS_MA10;
//IF VOL_MATCH THEN
//SIGNAL: 3 ;
//-----------------选股条件-----------------
//市值
SMALL_STOCK_SHARE = ZGB * CLOSE / 100000000;
COND2 = SMALL_STOCK_SHARE <= 市值;
SELECT_MATCH = VOL_MATCH AND COND2;
SELECT SELECT_MATCH;
// OR REF(SELECT_MATCH, 1) OR REF(SELECT_MATCH, 2)
// OR REF(SELECT_MATCH, 3) OR REF(SELECT_MATCH, 4)