1、顶底一目主图
{顶底一目主图 源码}
STICKLINE(C>=O,C,O,3,0),COLOR0000EE;
STICKLINE(C>=O,C,O,2,0),COLOR0000FF;
STICKLINE(C>=O,C,O,1,0),COLOR0000FF;
STICKLINE(C>=O,H,L,0,0),COLORRED;
STICKLINE(C<=O,C,O,3,0),COLOREEEE00;
STICKLINE(C<=O,C,O,2,0),COLORFFFF00;
STICKLINE(C<=O,C,O,1,0),COLORFFFF00;
STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
STICKLINE(C/REF(C,1)>1.05,(C+O)/2,C,3,0),COLOR00EEEE;
STICKLINE(C/REF(C,1)>1.05,(C+O)/2,C,1,0),COLORYELLOW;
DH:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
STICKLINE(DH<=-4,(C+O)/2,C,3,0),COLOREE0000;
STICKLINE(DH<=-4,(C+O)/2,C,1,0),COLORFF0000;
生命线:MA(CLOSE,24),COLORFF00FF,LINETHICK3;
顶: COST(95)*1, LINETHICK2,COLORRED;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
底: EMA(VAR1,99)*0.91, LINETHICK2,COLORGREEN ;
牛熊线: EMA(COST(27),120), CIRCLEDOT,LINETHICK3;
A1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20));
A2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),A1);
金线王:=EMA(A2,200)*1.118 ,LINETHICK2,COLORYELLOW;
DF2:=(C-REF(C,1))/REF(C,1)*100>9;
金K线:CROSS(C,金线王) AND DF2;
DRAWTEXT(金K线,L*0.98,'↖金K线'),COLORGREEN;
STICKLINE(金K线,CLOSE,OPEN,3.2,0),COLOR0077FF;
STICKLINE(金K线,CLOSE,OPEN,2.5,0),COLOR0099FF;
STICKLINE(金K线,CLOSE,OPEN,1.9,0),COLOR00BBFF;
STICKLINE(金K线,CLOSE,OPEN,1.2,0),COLOR00DDFF;
STICKLINE(金K线,CLOSE,OPEN,0.3,0),COLOR00FFFF;
2、散仙辅助,筹码类公式
散仙辅助
很不错的趋势指标,用法请自己摸索吧,用法丰富的,有点像DMI,仅仅象而已( 股 民 学 院 : )
{散仙辅助}
{参数K:=100}
VARA:=CLOSE/MA(CLOSE,48)*100;
VARB:=CLOSE/MA(CLOSE,50)*100;
VARC:=HIGH/LOW>1.078/K*100;
VARD:=VARC AND COUNT(VARC,4)>2;
VAR1:=CLOSE;
VAR2:=MA(VAR1,6);
VAR3:=MA(VAR1,24);
VAR4:=MA(VAR1,32);
VAR5:=MA(VAR1,62);
VAR6:=MA(VAR1,105);
百:VAR5/VAR6*100;
发:VAR4/VAR2*100;
中:VAR3/VAR2*100;
财:VAR2/VAR1*100;
入:CLOSE/COST(8)*100;
110;
85;
3、底部金叉选股
公式的原理,
股价处于底部,金叉发出信号
{底部金叉选股}
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
长期线:=A+100;
短期线:=B+100;
中期线:=D+100;
底部区域:=(长期线<12 AND 中期线<8 AND (短期线<7.2 OR REF(短期线,1)<5) AND (中期线>REF(中期线,1) OR 短期线>REF(短期线,1)))
OR (长期线<8 AND 中期线<7 AND 短期线<15 AND 短期线>REF(短期线,1)) OR (长期线<10 AND 中期线<7 AND 短期线<1) ;
低位金叉:50*(长期线<15 AND REF(长期线,1)<15 AND 中期线<18 AND 短期线>REF(短期线,1) AND CROSS(短期线,长期线) AND 短期线>中期线
AND (REF(短期线,1)<5 OR REF(短期线,2)<5 ) AND (中期线>=长期线 OR REF( 短期线,1)<1 ));
{股民学院 整理}
[股票入门基础知识]通达信源码精选:顶底一目主图,散仙辅助,底部金叉选股
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。