以下是同花顺资金起跑源码
VAR1:=SMA(AMOUNT/10,13,1)/10000;
VAR2:=REF(VAR1,1);
VAR3:=SMA(AMOUNT/10,13,1)/10000;
资金运转 : STICKLINE(VAR1>VAR2,VAR1,VAR2,3,1),colorred;
资金流失 : STICKLINE(VAR1< VAR2,VAR1,VAR2,3,1),colorgreen;
起跑线 : MA(VAR1,5),colorwhite;
警戒线 : MA(VAR1,10),coloryellow;
分界线 := MA(VAR1,20),colormagenta;
{DRAWTEXT(CROSS( 警戒线 ,VAR3), 警戒线 *1.1,\’ 警 \’),colorwhite;
DRAWTEXT(CROSS( 分界线 ,VAR3), 分界线 *1.1,\’ 走 \’); };
DRAWTEXT(CROSS(起跑线,警戒线),起跑线,\’始\’);
DRAWTEXT(CROSS(警戒线,起跑线),警戒线,\’终\’);