同花顺FSTD分时通道副图指标
源码
最新:=(IF(ISNULL(NEW),PRE,NEW));
IF(ISNULL(NEW),PRE,NEW);
IF (MARKETTYPE == 176 OR MARKETTYPE==64)
{
b=SUBSAMEDAY(&VOL) ;
m=SUM(b*最新,0);
均价:IF(m>0,m/VOL,PRE);
}
ELSE IF(CODETYPE!=0)
{
IF(ISNULL(MONEY) OR ISNULL(VOL) OR VOL==0 OR MONEY==0)
均价:PRE;
ELSE IF(VOL==VOL[1] OR MONEY==MONEY[1])
均价:均价[1];
ELSE
均价:MONEY/VOL;
}
DRAWGBK(FORMATTIME(1)<10 AND TRADETIME>242),RGB(0,0,128);
MA30:=MA(NEW,24);
上轨:MA30 + 2*STD(NEW,57),POINTDOT,COLORFFf00F;
下轨:MA30 - 2*STD(NEW,57),POINTDOT,COLORFFf00F;
中轨:(EMA(NEW,7)+EMA(NEW,14)+EMA(NEW,34)+EMA(NEW,54))/4,colorgreen;
RETURN;
hx_star;
hx_star_p;
hx_grow_p;
hx_walk_p;
hx_risk_p;
hx_grow;
hx_plate;
hx_walk;
hx_risk;
hx_PriceLow;
hx_PriceUp;
hx_PriceMemo;