五行八卦图,和谐通达信公式源码分享(通达信公式 副图 ...
{公式名称: 五行八卦图公式源码:}STICKLINE(CLOSE,0,10,4,1),COLORGRAY;STICKLINE(CLOSE,0,9,4,1),COLORGRAY;STICKLINE(CLOSE,0,8,4,1),COLORGRAY;STICKLINE(CLOSE,0,7,4,1),COLORGRAY;STICKLINE(CLOSE,0,6,4,1),COLORGRAY;STICKLINE(CLOSE,0,5,4,1),COLORGRAY;STICKLINE(CLOSE,0,4,4,1),COLORGRAY;STICKLINE(CLOSE,0,3,4,1),COLORGRAY;STICKLINE(CLOSE,0,2,4,1),COLORGRAY;STICKLINE(CLOSE,0,1,4,1),COLORGRAY;VAR1:=MA(LOW+(HIGH-LOW)/2,25)*1.15;VAR2:=MA(LOW+(HIGH-LOW)/2,25)*0.95;VAR3:=(VAR1+VAR2)/2;VAR4:=(MA(CLOSE,5)+MA(OPEN,5))/2*1.06;VAR5:=(MA(CLOSE,5)+MA(OPEN,5))/2*0.98;VAR6:=(VAR4+VAR5)/2;VAR7:=VAR4>VAR2;VAR8:=VAR4>VAR3;VAR9:=VAR4>VAR1;