通达信四季变天图源码

2016-09-26 20:53:00来源:本站整理浏览:565

IF(辰星线>REF(辰星线,1),辰星线,DRAWNULL),LINETHICK2,COLOR0000FF;

IF(辰星线<REF(辰星线,1),辰星线,DRAWNULL),COLOR00FF00,LINETHICK1;

STICKLINE(ISLASTBAR AND (红持股 OR REF(红持股,1)=1),今离场价,今离场价,15,1),COLOR0000FF;

STICKLINE(ISLASTBAR AND (阴观望 OR REF(阴观望,1)=1),今进场价,今进场价,15,1),COLOR00FF00;

DRAWICON(卖出,(HIGH * 1.002),15);

{DRAWTEXT(秋离场,HHV(H,3),'→→→→'),COLORFF99FF;}

DRAWICON(老鼠仓 OR 金叉,(LOW - (LOW * 0.01)),1);

{DRAWTEXT(短买春,LLV(L,3),'←←←←'),COLOR00FF00;}

{----------------------------}

{严冬:}STICKLINE((VAR4 > 0.1),HIGH,LOW,0,0),COLORFFFFFF;

{早春:}STICKLINE(((((VAR4 < 天下有雪) AND (VAR4 > 无痕))

OR ((VAR4 < VAR5) AND (VAR4 > 无痕))) OR ((VAR4 > 无痕)

AND (VAR111 > 无痕))),HIGH,LOW,0,0),COLOR00FF00;

{初夏:}STICKLINE((((((VAR4 > 天下有雪) AND (VAR4 > VAR111))

AND (VAR4 > VAR5)) AND (VAR222 > REF(VAR222,1))) OR ((((VAR4 > VAR222)

AND (VAR4 > VAR111)) AND (VAR4 > VAR5)) AND (VAR222 > REF(VAR222,1)))),

HIGH,LOW,0,0),COLOR0000FF;

{深秋:}STICKLINE(((((VAR4 > VAR6) AND (VAR4 > VAR3)) AND (大雪 > 无痕))

AND (VAR111 > REF(VAR111,1))),HIGH,LOW,0,0),COLOR00FFFF;

STICKLINE(((VAR4 > 0.1) AND (CLOSE < OPEN)),OPEN,CLOSE,2.8,0),COLORCCCCCC;

STICKLINE(((VAR4 > 0.1) AND (CLOSE >= OPEN)),OPEN,CLOSE,2.8,1),COLORCCCCCC;

STICKLINE(((VAR4 > 0.1) AND (CLOSE >= OPEN)),OPEN,OPEN+(CLOSE-OPEN)/3,2.8,0),COLORFFFFFF;

STICKLINE((((((VAR4 < 天下有雪) AND (VAR4 > 无痕)) AND (CLOSE < OPEN))

OR (((VAR4 < VAR5) AND (VAR4 > 无痕)) AND (CLOSE < OPEN)))

OR (((VAR4 > 无痕) AND (VAR111 > 无痕)) AND (CLOSE < OPEN))),

OPEN,CLOSE,2.8,0),COLOR00FF00;

STICKLINE((((((VAR4 < 天下有雪) AND (VAR4 > 无痕)) AND (CLOSE > OPEN))

OR (((VAR4 < VAR5) AND (VAR4 > 无痕)) AND (CLOSE > OPEN)))

OR (((VAR4 > 无痕) AND (VAR111 > 无痕)) AND (CLOSE >= OPEN)))

,OPEN,CLOSE,2.8,1),COLOR00FF00;

STICKLINE(((((((VAR4 > 天下有雪) AND (VAR4 > VAR111)) AND (VAR4 > VAR5))

AND (VAR222 > REF(VAR222,1))) AND (CLOSE < OPEN)) OR (((((VAR4 > VAR222)

AND (VAR4 > VAR111)) AND (VAR4 > VAR5)) AND (VAR222 > REF(VAR222,2)))

AND (CLOSE < OPEN))),OPEN,CLOSE,2.8,0),COLOR0000FF;

STICKLINE(((((((VAR4 > 天下有雪) AND (VAR4 > VAR111)) AND (VAR4 > VAR5))

AND (VAR222 > REF(VAR222,1))) AND (CLOSE > OPEN)) OR (((((VAR4 > VAR222)

AND (VAR4 > VAR111)) AND (VAR4 > VAR5)) AND (VAR222 > REF(VAR222,1)))

AND (CLOSE >= OPEN))),OPEN,CLOSE,2.8,1),COLOR0000FF;

STICKLINE((((((VAR4 > VAR6) AND (VAR4 > VAR3)) AND (大雪 > 无痕))

AND (VAR111 > REF(VAR111,1))) AND (CLOSE < OPEN)),OPEN,CLOSE,2.8,0)

,COLOR00FFFF;

STICKLINE((((((VAR4 > VAR6) AND (VAR4 > VAR3)) AND (大雪 > 无痕))

AND (VAR111 > REF(VAR111,1))) AND (CLOSE >= OPEN)),OPEN,CLOSE,2.8,1)

,COLOR00FFFF;

TAB:=CURRBARSCOUNT=25;

IF(( BARSLAST(TAB)>10),REF((C*2-REF(C,3)),3),DRAWNULL),LINETHICK1,DOTLINE,COLORYELLOW;
 


 


 

上一页  [1] [2] [3] [4] [5] 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式