大智慧春夏秋冬主图指标(源码)

2015-02-23 20:18:00来源:本站整理浏览:488

DRAWTEXT((CROSS(MA(CLOSE,5),MA(CLOSE,30)) AND (CLOSE < MA(CLOSE,60))),(LOW - (LOW * 0.02)),"←---★★★ "),color0000FF;
MA21:=REF(CLOSE,1);
ZX:=((SMA(MAX((CLOSE - MA21),0),6,1) / SMA(ABS((CLOSE - MA21)),6,1)) * 100);
DRAWTEXT(CROSS(84,ZX),HIGH,"-----→ ★ "),colorFF00FF;
大雪:MA((((HIGH + LOW) + CLOSE) / 3),8);
无痕:MA((((HIGH + LOW) + CLOSE) / 3),21);
VAR111:=EMA(((OPEN + CLOSE) / 2),26);
VAR222:=MA(COST(30),3);
天下有雪:MA(COST(50),3);
VAR3:=MA(COST(80),3);
VAR4:=(((HIGH + LOW) + CLOSE) / 3);
VAR5:=EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),233);
VAR6:=(VAR5 + ((VAR5 * 6) / 100));
严冬:STICKLINE((VAR4 > 0.1),HIGH,LOW,0.5,0),colorFFFFFF;
早春:STICKLINE(((((VAR4 < 天下有雪) AND (VAR4 > 无痕)) OR ((VAR4 < VAR5) AND (VAR4 > 无痕))) OR ((VAR4 > 无痕) AND (VAR111 > 无痕))),HIGH,LOW,0.5,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.5,0),color0000FF;
深秋:STICKLINE(((((VAR4 > VAR6) AND (VAR4 > VAR3)) AND (大雪 > 无痕)) AND (VAR111 > REF(VAR111,1))),HIGH,LOW,0.5,0),color00FFFF;
STICKLINE(((VAR4 > 0.1) AND (CLOSE < OPEN)),OPEN,CLOSE,9,0),colorFFFFFF;
STICKLINE(((VAR4 > 0.1) AND (CLOSE >= OPEN)),OPEN,CLOSE,9,1),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,9,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,9,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,1))) AND (CLOSE < OPEN))),OPEN,CLOSE,9,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,9,1),color0000FF;
STICKLINE((((((VAR4 > VAR6) AND (VAR4 > VAR3)) AND (大雪 > 无痕)) AND (VAR111 > REF(VAR111,1))) AND (CLOSE < OPEN)),OPEN,CLOSE,9,0),color0000FF;
STICKLINE((((((VAR4 > VAR6) AND (VAR4 > VAR3)) AND (大雪 > 无痕)) AND (VAR111 > REF(VAR111,1))) AND (CLOSE >= OPEN)),OPEN,CLOSE,9,1),color00FFFF;
STICKLINE(1,CLOSE,OPEN,0.5,0),colorFFFFFF;
VAR101:=EMA(CLOSE,3);
vVAR2:=EMA(CLOSE,8);
V2:=EMA(CLOSE,21);
STICKLINE(((VAR101 < vVAR2) AND (VAR101 > V2)),HIGH,LOW,0,1),colorFF5D10;
STICKLINE(((VAR101 < vVAR2) AND (VAR101 > V2)),CLOSE,OPEN,5,0),colorFF5D10;
STICKLINE(((VAR101 > vVAR2) AND (VAR101 < V2)),HIGH,LOW,0,1),colorFF00FF;
STICKLINE(((VAR101 > vVAR2) AND (VAR101 < V2)),CLOSE,OPEN,5,0),colorFF43FF;
KS:=MA(CLOSE,20);
V3:=REF(KS,((20 / 2) + 1));
V4:=((EMA(CLOSE,3) - EMA(CLOSE,6)) - ((EMA(CLOSE,6) - EMA(CLOSE,12)) * (0 - 100)));
VAR12:=EMA(V4,3);
VAR15:=CROSS(V4,VAR12);
VAR16:=CROSS(VAR12,V4);
风险:STICKLINE(VAR16,OPEN,CLOSE,5,0),color222222;
收益:STICKLINE(VAR15,OPEN,CLOSE,5,0),color0000FF;
止损:STICKLINE(VAR15,OPEN,(CLOSE - ((CLOSE - OPEN) * 0.33)),5,0),colorC367B2;
止盈:STICKLINE(VAR15,OPEN,(CLOSE - ((CLOSE - OPEN) * 0.66)),5,0),colorAE996E;
V5:=(((CLOSE - MA(CLOSE,13)) / MA(CLOSE,13)) * (0 - 100));
STICKLINE((V5 >= 8),OPEN,CLOSE,9,1),LINETHICK2,colorFFFFFF;
STICKLINE(1,CLOSE,OPEN,0.5,0),colorFFFFFF;V6:=(((((SMA(AMOUNT,19,3) / 60000) * CLOSE) / MA(REF(CLOSE,1),5)) * 60000) / 5700000);
VAR11:=IF(((V6 > REF(V6,1)) AND (REF(V6,1) >= REF(V6,2))),1,IF(((V6 < REF(V6,1)) AND (REF(V6,1) <= REF(V6,2))),(0 - 1),IF(((V6 > REF(V6,2)) AND (REF(V6,2) > REF(V6,1))),2,IF(((V6 < REF(V6,2)) AND (REF(V6,2) < REF(V6,1))),(0 - 2),0))));
VAR2:=if(ref(V6,1) > ref(V6,2) and ref(V6,1)>ref(V6,3),1,if(ref(V6,1)<ref(V6,2) and ref(V6,1)<ref(V6,3),-1,if(ref(V6,2)>ref(V6,3) and ref(V6,2)>ref(V6,4),2,if(ref(V6,2)<ref(V6,3) and ref(V6,2)<ref(V6,4),-2,if(ref(V6,3)>ref(V6,4) and ref(V6,3)>ref(V6,5),3,if(ref(V6,3)<ref(V6,4) and ref(V6,3)<ref(V6,5),-3,0))))));
带量上涨:STICKLINE((VAR11 = 2),OPEN,CLOSE,5,0),color0000FF;
蓄勢:STICKLINE((((VAR11 = 1) OR (VAR11 = 2)) AND (VAR2 < 0)),OPEN,((CLOSE + OPEN) / 2),5,0),colorFF00FF;
多翻空变盘:STICKLINE((((VAR11 = (0 - 1)) OR (VAR11 = (0 - 2))) AND (VAR2 > 0)),OPEN,((CLOSE + OPEN) / 2),5,0),colorF86A71;
STICKLINE(1,CLOSE,OPEN,0.5,0),colorFFFFFF;



 

上一页  [1] [2] 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式