大智慧自动45角度主图指标公式股票软件源码如下: aa:=(C+L+H)/3; bb:=atan(EMA(aa,8)-ref(EMA(aa,8),1))*3.14*10; CC:=EMA(c,3); DRAWLINE(filter(bb>1 and EMA(aa,8)>ref(EMA(aa,8),1),8),l,CROSS(REF(CC,1),CC),H,1),colorgreen; DRAWTEXT(filter(bb>1 and EMA(aa,8)>ref(EMA(aa,8),1),8),CC,'∠45上升'),colorwhite; DRAWLINE(filter(bb>1 and EMA(aa,8)>ref(EMA(aa,8),1),8),l,c>0,REF(l,1),1),COLOR00FFFF; |