当前位置: 网站首页 > 股票软件公式 > 同花顺公式 > 文章 当前位置: 同花顺公式 > 文章

同花顺斐波那契数列,强弱变色指标红强黄弱,主力吸筹A指标

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

斐波那契数列:

 IF(1){

NS=0;
RS:(LOW-LLV(LOW,NS))/(HHV(HIGH,NS)-LLV(LOW,NS))*100,colorlired,Linethick2,nodraw;
PH:LOW/HHV(HIGH,NS)*100,colorligreen,Linethick2,nodraw;
VH:VOL/HHV(VOL,NS)*100,colorlicyan,Linethick2;
//RETURN RS,PH,VH;
}
/********************************/
/********************************/
IF(1){
p:=CLOSE;
N:=3;
X:=(N+1)/2;
XX:=(N+1)*(2*N+1)/6;
XY:=(1*REF(p,N-1)+2*REF(p,N-2)+3*REF(p,N-3))/3;
Y:=(1*REF(p,N-1)+1*REF(p,N-2)+1*REF(p,N-3))/3;
A:=ATAN((XY-X*Y)/(XX-X*X))*180/3.1415926,colorred,Linethick2;
D:=STD(p,N),colorgreen,Linethick2;
//ADD:CORREL(A,D,N)*100,Linethick2,colorgreen;
AB:=(1*REF(A,N-1)+1*REF(A,N-2)+1*REF(A,N-3))/3;
DB:=(1*REF(D,N-1)+1*REF(D,N-2)+1*REF(D,N-3))/3;
ADC:=A*D;
ADB:=(1*REF(ADC,N-1)+1*REF(ADC,N-2)+1*REF(ADC,N-3))/3;
//ADB:(REF(A,N-1)*REF(D,N-1)+REF(A,N-2)*REF(D,N-2)+REF(A,N-3)*REF(D,N-3))/3;
CAD:(ADB-AB*DB)/(STD(A,N)*STD(D,N))*100*N/(N-1),Linethick2;
//test:ADD/CAD;
}/********************************/
/********************************/
UL:=CLOSE/REF(CLOSE,1)>=1.099;
LL:=CLOSE/REF(CLOSE,1)<=0.901;
//BL:=BARSLAST(UL),colormagenta,Linethick2,nodraw;
/********************************/
/********************************/
IF(UL){
UP=90;
STICKLINE(1>0,7+UP,10+UP,10,0),colorred;
STICKLINE(1>0,0+UP,7+UP,2,0),colorred;
}
/*****/
S:=RS>90 AND PH>85 AND VH>50 AND CAD>90;
IF(S){
UP=81;
STICKLINE(1>0,6+UP,9+UP,12,0),colorgreen;
STICKLINE(1>0,3+UP,6+UP,6,0),colorgreen;
STICKLINE(1>0,0+UP,3+UP,2,0),colorgreen;
}
/********************************/
/********************************/
IF(LL){
DOWN=100;
STICKLINE(1>0,3-DOWN,10-DOWN,2,0),colorgreen;
STICKLINE(1>0,0-DOWN,3-DOWN,10,0),colorgreen;
}
/*****/
B:=RS<60 AND PH<70 AND VH<30 AND CAD<-90;
IF(B){
DOWN=91;
STICKLINE(1>0,6-DOWN,9-DOWN,2,0),colorred;
STICKLINE(1>0,3-DOWN,6-DOWN,6,0),colorred;
STICKLINE(1>0,0-DOWN,3-DOWN,12,0),colorred;
}
/********************************/
/********************************/





强弱变色指标,红强黄弱:

VARAB:=1;

A:MA(CLOSE,20)*VARAB,colorblue;
B:MA(CLOSE,10)*VARAB,colorred;
CC:=LLV(LOW,36)*VARAB;
DD:=HHV(HIGH,30)*VARAB;
EE:=(EMA(((CLOSE-CC)/(DD-CC))*(4),4))*(25);
STICKLINE(C>=A AND C>=O,C,O,7,1),colorred;
STICKLINE(C>=A AND C>=O,H,L,0,1),colorred;
STICKLINE(C>=A AND C<O,C,O,7,1),colorred;
STICKLINE(C>=A AND C<O,O,H,0,1),colorred;
STICKLINE(C>=A AND C<O,C,L,0,1),colorred;
DRAWTEXT(CROSS(B,A),B,''),color00ff00,linethick2;
DRAWTEXT(CROSS(A,B),A,''),colorwhite,linethick2;
STICKLINE(C<A AND C>O,C,O,7,1),coloryellow;
STICKLINE(C<A AND C<=O,C,O,7,1),coloryellow;
STICKLINE(C<A AND C<=O,H,L,0,1),coloryellow;
STICKLINE(C<A AND C>O,C,H,0,1),coloryellow;
STICKLINE(C<A AND C>O,O,L,0,1),coloryellow;
山水:=(((EE-LLV(EE,21))/(HHV(EE,21)-LLV(EE,21)))*(4))*(25);
DRAWICON(CROSS(山水,90) AND (EE<40),C,1);
买线:EMA(C,2),colorred;
卖线:EMA(SLOPE(C,21)*20+C,42),coloryellow;
买:=CROSS(买线,卖线);
卖:=CROSS(卖线,买线);
DRAWTEXT(CROSS(山水,90) AND (EE<20),C,'抄底') ,linethick2 , colorwhite;



主力吸筹A:

出现红柱拉长关注之后变绿买入参考,注意仓位控制。 使用时请结合其他技术指标、成交量、大盘走势
等多因素进行综合判断。(顶尖财经:股票学院 http://www.58188.com)
 
 

VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW=VAR4,VAR3,0),3);
VAR6:0;
主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),colorred,NODRAW;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0),colorred;
洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),colorgreen,NODRAW;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0),colorgreen;

上一篇:同花顺弘历背离王,波浪买卖点,长趋势线指标

下一篇:同花顺知行合一,穿越筹码,天线加布林线指标