大智慧官方资金先锋公式 源码
{资金先锋} {副图指标}
input:M(0,0,100,20);
VARIABLE:TTVA1=0,TTVA2=0;
TTVA1:=((M));
TTVA2:=(SUM(TTVA1,0));
VAR0:=(MA(TTVA2,5));
VAR1:=(VAR0 + 20);
VAR2:=(VAR0 - 20);
VAR3:=(REF(TTVA2,20) + 20);
VAR4:=((REF(TTVA2,20)) - 20);
PARTLINE(TTVA2,(TTVA2) > 30,RGB(255,0,0),(TTVA2) < -100,RGB(24,255,0),(TTVA2) > VAR1,RGB(255,0,0),(TTVA2) < VAR2,RGB(24,255,0),(TTVA2) > VAR3,RGB(255,0,0),(TTVA2) < VAR4,RGB(24,255,0)),LINETHICK2;
分钟监控:TTVA1,COLORSTICK,LINETHICK2;
资金先锋:TTVA2,COLORWHITE;
0,DOTLINE,COLOR42D085;
{KXZJXF} {副图指标}
input:M(0,0,100,20);
资金先锋:((M)),COLOR3D;
十日资金:(SUM(资金先锋,10));
MA10:(MA(十日资金,10));