/*欢迎使用
同花顺 公式系统*/
/*按“CTRL+S”启动AI,可输入需求描述生成相应代码*/
DRAWTEXT_FIX(1,0.05,0.99,0, 概念: +BLOCK(3,15)),colorcyan;
NEW1:=IF(ISNULL(NEW[1]),PRE,NEW[1]);
最新:IF(ISNULL(NEW),NEW1,NEW);
IF (ISNULL(
RANG E_AVG_P
RICE ) OR RANGE_AVG_PRICE 1 AND VOL0,m/VOL,PRE);
}
ELSE IF(CODE
TYPE !=0 AND M
ONEY >0 AND
MARK ETTYPE != 48 AND MARKETTYPE != 104)
{
IF(ISNULL(MONEY) OR ISNULL(VOL) OR VOL==0 OR MONEY==0)
均价:IF(ISNULL(均价[1]),PRE,均价[1]);
ELSE IF(VOL==VOL[1] OR MONEY==MONEY[1])
均价:均价[1];
ELSE
均价:MONEY/VOL;
}
ELSE IF (MARKETTYPE == 176)
{
b=
SUBS AMED AY(&MONEY);
m=SUM(b*最新,0);
IF(m>0)
均价:m/MONEY;
}
}
ELSE
{
均价:RANGE_AVG_PRICE;
}
DRAWGBK(MARKETTYPE==32 AND
FORM AT
TIME (1)242),RGB(0,0,128);
RE
TURN ;
hx_star;
hx_star_p;