【通达信源码分享】精品指标公式-相对大盘源码
2023-03-04未知 编 辑:掌上指标
公式源码:
DRAWGBK(C>0, RGB(40,120,20),RGB(00,00,00),0,0,1),LINETHICK2;
1,LINETHICK2;
A:=(C/REF(C,1))/(INDEXC/REF(INDEXC,1));
STICKLINE(A>1,A,1,2,1),COLORRED;
STICKLINE(A<1,A,1,2,1),COLORLIGREEN;
B:=C/REF(C,1);
STICKLINE(B>1,B,1,2,0),COLORRED;
STICKLINE(B<1,B,1,2,0),COLORLIGREEN;