通达信佛光闪现指标公式
2021/3/21 18:04:05
本文公式指标的选股公式如下:
佛光闪现之底选股指标公式
佛光闪现之红箭头选股指标公式
VAR1:=1;
VAR4:=(C-LLV(L,18))/(HHV(H,18)-LLV(L,18))*100*VAR1;
变速率:(SMA(SMA(VAR4,2,1)+3*VAR1,2,1)-(MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19)+100));
MACD2:=变速率;
TJ:=MACD2>0;T:=MACD2<0;
DRAWTEXT(BARSLAST(TJ)=1,MACD2,'1'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=2,MACD2,'2'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=3,MACD2,'3'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=5,MACD2,'5'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=8,MACD2,'8'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=13,MACD2,'13'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=21,MACD2,'21'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=34,MACD2,'34'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=55,MACD2,'55'),COLORYELLOW;
DRAWTEXT(BARSLAST(T)=1,MACD2,'1'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=2,MACD2,'2'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=3,MACD2,'3'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=5,MACD2,'5'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=8,MACD2,'8'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=13,MACD2,'13'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=21,MACD2,'21'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=34,MACD2,'34'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=55,MACD2,'55'),COLORGREEN;
趋势线: 3*SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1)-2* SMA(SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1),3,1);
天:100,COLOR9F9F5F;
地:-10,COLOR7070DB;
FFD:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
A:=EMA(FFD,3);
B:=EMA(A,2);
E:=3*A-2*B;
LOWV:=LLV(LOW,8);
HIGHV:=HHV(HIGH,8);
A3:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
上:=EMA(A3,3);
下:=EMA(上,2);
A4:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
K:=SMA(A4,3,1);
D:=SMA(K,2.5,1);
进:K,COLORMAGENTA;
退:D,COLORGREEN;
DRAWBAND(D,RGB(10,250,10),K,RGB(250,10,10));
DRAWICON(CROSS(K,D),K,1);
DRAWICON(CROSS(D,K),D,2);
A1:=BARSLAST(REF(CROSS(E,B),1));
底:=REF(CLOSE,A1+1)>CLOSE AND E>REF(E,A1+1) AND CROSS(E,B);
A2:=BARSLAST(REF(CROSS(B,E),1));
顶:=REF(CLOSE,A2+1)<CLOSE AND REF(B,A2+1)>B AND CROSS(B,E);
DRAWTEXT(CROSS(96,E) AND (E<=80),75,'回'),COLORFF6EC7;
DRAWTEXT(CROSS(E,1) AND (E<=20),15,'反'),COLORFF8855 ;
DRAWTEXT(底>0,5,'底'),COLORB0C4DE;
DRAWTEXT(顶>0,98,'顶'),COLOR0099FF;
财:=CROSS(A,50) AND CROSS(B,40);
STICKLINE(财,71,19,2,0),COLORFF8855;
DRAWTEXT(财,46,' 财'),COLORYELLOW;
财5:=CROSS(A,50) AND CROSS(B,50) AND CROSS(上,22);
STICKLINE(财5,71,19,2,0),COLORFF0088;
DRAWTEXT(财5,46,' 财'),COLORYELLOW;
财6:=CROSS(A,50) AND CROSS(B,50) AND CROSS(上,35);
STICKLINE(财6,71,19,2,0),COLORFF0088;
DRAWTEXT(财6,46,' 财'),COLORYELLOW;
财7:=CROSS(A,50) AND CROSS(B,50) AND CROSS(上,45);
STICKLINE(财7,71,19,2,0),COLORFF0088;
DRAWTEXT(财7,46,' 财'),COLORYELLOW;
财8:=CROSS(A,50) AND CROSS(B,50) AND CROSS(上,55.3);
STICKLINE(财8,71,19,2,0),COLORFF0088;
DRAWTEXT(财8,46,' 财'),COLORYELLOW;
看股吧公 式 www.kanguba.co m
其它股票公式列表