大智慧三金叉见底选股指标公式

nday := 5;

down := close/llv(low,60)<=1.2;

pma1 := ma(close,5);

pma2 := ma(close,10);

vma1 := ma(vol,5);

vma2 := ma(VOL,10);

diff := ema(close,12) - ema(close,26);

dea := ema(diff,9);

ppday := barslast(cross(pma1,pma2));

vvday := barslast(cross(vma1,vma2));

macdday := barslast(cross(diff,dea));

sjcjd:= if((ppday<=nday and vvday<=nday and macdday<=nday),1,0);

sjcjd;