 | |  |  |
通达信江山通道源码公式:
{N:1,50,26 N1:1,10,2 N2:20,40,31}
天:MA(C,N)+2*STD(C,N),COLOR66BBFF;
地:MA(C,N)-2*STD(C,N),COLORGREEN;
A:=(C+FORCAST(C,N1))/2;
心:FORCAST(FORCAST(A,N2),10),CIRCLEDOT,COLORWHITE;
糡:IF(A<心,A,心),LINETHICK2,COLORFF00FF;
兰:IF(A>心,A,心),LINETHICK2,COLORFF8800;
STICKLINE(C>糡,O,C,4,0),COLOR0011AA;
STICKLINE(C>糡,O,C,2,0),COLOR0011DD;
STICKLINE(C>糡,O,C,1,0),COLOR3333FF;
STICKLINE(C>糡,H,L,0,0),COLOR0000FF;
STICKLINE(C>糡,O,L,1,0),COLOR0011FF;
{STICKLINE(C>糡,O,L,0,0),COLOR3300FF;}
STICKLINE(C<=糡,O,C,4,0),COLORFF8800;
STICKLINE(C<=糡,O,C,2,0),COLORFFCC22;
STICKLINE(C<=糡,O,C,1,0),COLORFFDD22;
STICKLINE(C<=糡,H,L,0,0),COLORFF6600;
STICKLINE(C<=糡,O,L,1,0),COLORFF6600;
{STICKLINE(C<=糡,O,L,0,0),COLORFFDD33;}; |

| |  | |  |
|