通達(dá)信牛牛趨勢主圖公式 中線主力多空 源碼公開自行導(dǎo)入 STICKLINE(C>=O,H,L,0,1), COLORRED; STICKLINE(C>=O,C,O,3,0), COLORRED; STICKLINE(C< O,H,L,0,0), COLORFFFF00; STICKLINE(C< O,C,O,3,0),COLORFFFF00; VAR80:MA(CLOSE,5); VAR20:=MA(CLOSE,10); VAR94:MA(CLOSE,20); VAR75:=MA(CLOSE,30); VAR51:MA(CLOSE,60); VAR58:=MA(CLOSE,120); VAR70:=(HIGH+LOW)/2; VAR19:=MAX(MAX(HIGH-LOW,Abs(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW)); VAR61:=VAR70+MA(VAR19,10)*2.5; VAR39:=VAR70-MA(VAR19,10)*2.5; VAR86:=(CLOSE+LLV(CLOSE,5)); VAR90:=(HIGH+LLV(HIGH,5)); VAR85:=(LOW+LLV(LOW,5)); VAR82:=REF(VAR61,BARSLAST(VAR61<=REF(VAR61,1))); VAR98:=LLV(VAR61,15); VAR700:=IF(VAR98!=REF(VAR98,1) AND VAR82< REF(VAR82,1),VAR82,IF(VAR82=VAR98,VAR82,VAR98)); VAR701:=BARSLAST(crOSS(0.5,VAR61=VAR700))+1; VAR702:=CROSS(COUNT(CROSS(CLOSE,VAR700) OR CROSS(CLOSE,REF(VAR700,2)) AND VAR61>VAR700,VAR701),0.5);{WWW.GOODGONGSHI.COM} VAR703:=BARSLAST(VAR702); VAR704:=BARSLAST(CROSS(HHV(VAR39,VAR703+1),CLOSE)); VAR705:=CROSS(VAR704,VAR703); VAR706:=CROSS(VAR703,VAR704); DRAWKLINE(HIGH,OPEN,LOW,CLOSE); VAR83:IF(VAR704>VAR703,HHV(VAR39,BARSLAST(VAR705)+1),LLV(VAR61,BARSLAST(VAR706)+1)),COLOR00FF00,LINETHICK4; VAR25:IF(VAR704>VAR703,VAR83,DRAWNULL),COLORFF00FF,LINETHICK4; DRAWICON(CROSS(VAR704,VAR703),VAR83,42); DRAWICON(CROSS(VAR703,VAR704),VAR83*1.015,43);
|