通达信硬疙瘩选股指标公式,通达信光光指标公式
admin888
|通达信硬疙瘩选股指标公式,通达信光光指标公式
通达信硬疙瘩选股指标公式
RSV:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);
K:=SMA(RSV,3,1);
D:=Sma(K,3,1);
difF:=ema(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
GVV:=EMA(CLOSE,12) - EMA(CLOSE,15);
AA1:=crOSS(K,D);
AA2:=CROSS(DIFF,DEA);
AA3:=CROSS(DIFF,0);
AA4:=CROSS(GVV,(-0.01));
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
OK1:=(CLOSE > MA5) and (CLOSE > MA10) and (CLOSE > MA20) and (CLOSE > MA30) and ((LOW)*(0.9) < MA5) and ((LOW)*(0.9) < MA10) and ((LOW)*(0.9) < MA20) and ((LOW)*(0.9) < MA30);
OK2:=(CLOSE > MA5) and (CLOSE > MA10) and (CLOSE > MA20) and (CLOSE > MA30) and (CLOSE > MA30) and ((LOW)*(0.9) < MA5) and ((LOW)*(0.9) < MA10) and ((LOW)*(0.9) < MA20) and ((LOW)*(0.9) < MA30) and ((LOW)*(0.9) < MA60);
银疙瘩1:=AA1 and (BArslAst(AA2) < 6) and OK1;
银疙瘩2:=AA2 and (BARSLAST(AA1) < 6) and OK1;
银疙瘩3:=AA3 and (BARSLAST(AA1) < 6) and OK1;
银疙瘩4:=AA4 and (BARSLAST(AA1) < 6) and OK1;
需要判研点:银疙瘩1 or 银疙瘩2 or 银疙瘩3 or 银疙瘩4,coloryellow;
银疙瘩5:=AA1 and (BARSLAST(AA2) < 6) and OK2;
银疙瘩6:=AA2 and (BARSLAST(AA1) < 6) and OK2;
银疙瘩7:=AA3 and (BARSLAST(AA1) < 6) and OK2;
银疙瘩8:=AA4 and (BARSLAST(AA1) < 6) and OK2;
重点判研点:银疙瘩5 or 银疙瘩6 or 银疙瘩7 or 银疙瘩8,Color00FF00;
综合信号点:银疙瘩5 or 银疙瘩6 or 银疙瘩7 or 银疙瘩8,ColorFF50FF;
通达信光光指标公式
D1:= (ema((OPEN+HIGH+LOW+CLOSE)/4,3)+Ema((OPEN+HIGH+LOW+CLOSE)/4,6)+EMA((OPEN+HIGH+LOW+CLOSE)/4,9))/3;
D2:= (EMA((OPEN+HIGH+LOW+CLOSE)/4,5)+EMA((OPEN+HIGH+LOW+CLOSE)/4,10)+EMA((OPEN+HIGH+LOW+CLOSE)/4,20))/3;
D3:(EMA((OPEN+HIGH+LOW+CLOSE)/4,7)+EMA((OPEN+HIGH+LOW+CLOSE)/4,14)+EMA((OPEN+HIGH+LOW+CLOSE)/4,28))/3;
D4:= (EMA((OPEN+HIGH+LOW+CLOSE)/4,9)+EMA((OPEN+HIGH+LOW+CLOSE)/4,18)+EMA((OPEN+HIGH+LOW+CLOSE)/4,36))/3;
D5:= (EMA((OPEN+HIGH+LOW+CLOSE)/4,11)+EMA((OPEN+HIGH+LOW+CLOSE)/4,22)+EMA((OPEN+HIGH+LOW+CLOSE)/4,44))/3;
D6:= (EMA((OPEN+HIGH+LOW+CLOSE)/4,13)+EMA((OPEN+HIGH+LOW+CLOSE)/4,26)+EMA((OPEN+HIGH+LOW+CLOSE)/4,52))/3;
D7:= (EMA((OPEN+HIGH+LOW+CLOSE)/4,21)+EMA((OPEN+HIGH+LOW+CLOSE)/4,34)+EMA((OPEN+HIGH+LOW+CLOSE)/4,68))/3;
{PARTLINE(D1,D1>=REF(D1,1),RGB(255,255,255),D1
PARTLINE(D2,D2>=REF(D2,1),RGB(255,0,0),D2
PARTLINE(D3,D3>=REF(D3,1),RGB(255,0,0),D3
PARTLINE(D4,D4>=REF(D4,1),RGB(255,0,0),D4
PARTLINE(D5,D5>=REF(D5,1),RGB(255,0,0),D5
PARTLINE(D6,D6>=REF(D6,1),RGB(255,0,0),D6
PARTLINE(D7,D7>=REF(D7,1),RGB(255,250,0),D7
{这部分括起,就不出现深蓝部分}STICKLINE(D7>REF(D7,1),0,7,3,1),COLORRED;
STICKLINE(D6>REF(D6,1),0,6,3,1),COLORFF00FF;
STICKLINE(D5>REF(D5,1),0,5,3,1),COLORBROWN;
STICKLINE(D4>REF(D4,1),0,4,3,1),COLORYELLOW;
STICKLINE(D3>REF(D3,1),0,3,3,1),COLORWHITE;
STICKLINE(D2>REF(D2,1),0,2,3,1),COLORCYAN;
STICKLINE(D1>REF(D1,1),0,1,3,1),COLORGREEN;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。