编写要求:
总手:VOL;
zz:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND Cv5*1.2 AND V>v12*1.2 AND zz>2 AND C>H*0.975,0,VOL,8,0),RGB(255,0,0);
STICKLINE(CROSS(C6,C) AND V>v5*1.2 AND V>v12*1.2,0,VOL,8,0),RGB(0,255,0);
STICKLINE(VOL>MA(VOL,5)*2 AND V>V34*3 AND C[MA(VOL,5)*2 AND V>V34*3 AND C][v5*1.2 AND V>v12*1.2 AND zz>2 AND C>H*0.975,VOL*0.5,0,8,0),RGB(255,0,0);
STICKLINE(VOL>MA(VOL,5)*2 AND V>V34*3 AND C][v5*1.2 AND V>v12*1.2,VOL*0.5,0,8,0),RGB(0,255,0);
DRAWTEXT (VOL>MA(VOL,5)*2 AND V>V34*3 AND C][v5*1.2 AND V>v12*1.2 AND zz>2 AND C>H*0.975,0,'吸'),colorred;
DRAWTEXT (CROSS(C6,C) AND V>v5*1.2 AND V>v12*1.2,0,'出'),colorgreen;
IF(1>0)
{
说明:"红吸,绿出,黄天,蓝地";
RETURN;
}
这是同花顺的太极量公式,请帮忙改成通达信的选股,条件是日线为周期,选出当天出现天量股票,万分感谢。]
解答:
?V34:=MA(V,34);
天量:VOL>MA(VOL,5)*2 AND V>V34*3 AND C