您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:通达信大底小底副图指标 源码

通达信大底小底副图指标 源码


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2019-01-30 09:37:00
公式简介:

DRAWBAND(0.5,RGB(230,235,0),0,RGB(0,0,0));
DRAWBAND(0.3,RGB(250,135,50),0,RGB(0,0,0));
VR1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
VR2:=EMA(VR1,13);
VR3:=EMA(VR2,13);
VR4:=3*VR2-2*VR3;
VR5:=LLV(L,13);
VR6:=HHV(H,21);
VR7:=EMA((C-VR5)/(VR6-VR5)*100,3);
决策线:=EMA((EMA(VR4,3)+VR7)/2,3);
趋势:EMA(决策线,3)/100*3.5;
DRAWBAND(趋势,RGB(205,185,100),0,RGB(83,123,68));
VR8:=IF(趋势<=0,趋势,DRAWNULL);
V1:=LLV(LOW,10);
V2:=HHV(H,25);
价位线:=EMA((C-V1)/(V2-V1)*4,4),COLORYELLOW;
V11:=IF(价位线<=0.3,价位线+3.43,3.8);
DRAWBAND(3.8,RGB(230,230,0),V11,RGB(230,230,0));
VAR2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);
VAR3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;
VAR4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
VAR5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;
VAR6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
VAR7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
VAR8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
VAR9:=(VAR3+VAR4+VAR5+VAR6+VAR7+VAR8)/6;
VARB:=ABS(VAR6-VAR8);
VARC:=(VAR9+VARB)/2;
VARD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
VARE:=VARD+VARC;
VARF:=IF(VAR2>0 AND VARE<0,200,0);
VAR10:=IF(VARC<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);
VAR11:=IF(VARE<0 AND VAR10=-50,100,0);
VAR13:=REF(CLOSE,2)*0.865;
VAR14:=REF(CLOSE,13)*0.772;
VAR15:=MIN(VAR13,VAR14);
VAR16:=100*VOL/CAPITAL;
VAR18:=IF((CLOSE-VAR15)/CLOSE<0.03 AND SUM(VAR16,5)/5<1.8,1,0);
VAR1C:=(VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0) AND (VAR10<0 OR VAR2>0);
VAR1D:=VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;
红红的天:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),COLORLIMAGENTA;
红红:=红红的天/100*3,COLORWHITE;
红红1:=EMA(红红,21),COLORGREEN;
红红2:=SMA(红红1,3,1);
DRAWBAND(红红2,RGB(30,200,250),红红1,RGB(250,50,120));
STICKLINE(CROSS(红红的天,2),7,3.5,0,0),COLORMAGENTA;
HRD11:=EMA(HHV(HIGH,500),21);
HRD2:=EMA(HHV(HIGH,250),21);
HRD3:=EMA(HHV(HIGH,90),21);
HRD4:=EMA(LLV(LOW,500),21);
HRD5:=EMA(LLV(LOW,250),21);
HRD6:=EMA(LLV(LOW,90),21);
HRD7:=EMA((HRD4*0.96+HRD5*0.96+HRD6*0.96+HRD11*0.558+HRD2*0.558+HRD3*0.558)/6,21);
HRD8:=EMA((HRD4*1.25+HRD5*1.23+HRD6*1.2+HRD11*0.55+HRD2*0.55+HRD3*0.65)/6,21);
HRD9:=EMA((HRD4*1.3+HRD5*1.3+HRD6*1.3+HRD11*0.68+HRD2*0.68+HRD3*0.68)/6,21);
HRDA:=EMA((HRD7*3+HRD8*2+HRD9)/6*1.738,21);
HRDB:=REF(LOW,1);
HRDC:=SMA(ABS(LOW-HRDB),3,1)/SMA(MAX(LOW-HRDB,0),3,1)*100;
HRDD:=EMA(IF(CLOSE*1.35<=HRDA,HRDC*10,HRDC/10),3);
HRDE:=LLV(LOW,30);
HRDF:=HHV(HRDD,30);
HRD10:=IF(MA(CLOSE,58),1,0);
AA3:=(EMA(IF(LOW<=HRDE,(HRDD+HRDF*2)/2,0),3)/618*HRD10) ;
BB11:=(AA3>REF(HHV(AA3,60),1))*1.5;
STICKLINE(AA3>REF(HHV(AA3,60),1),0,3,0,0),COLORYELLOW;
CC11:=HHV(AA3,60)/10;
大底1:=FILTER(AA3>10,1)*3;
VA1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买1:=IF(CLOSE>OPEN,VA1*(HIGH-LOW),IF(CLOSE<OPEN,VA1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主卖1:=IF(CLOSE>OPEN,0-VA1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VA1*(HIGH-LOW),0-VOL/2));
AA6:=(主买1-(-主卖1))/主买1;
强买卖:=IF(AA6<-4,-4,AA6)+0.5;
DDD:=MA(强买卖,5)/2,NODRAW;
DRAWBAND(DDD,RGB(225,90,80),0,RGB(0,250,171));
DDE:=IF(DDD>=1,DDD,0);
DDF:=IF(DDD<1 AND DDD>=0.5,DDD,0.5);
DDD1:=(CC11>0 AND 大底1>0 AND C<O) ;
STICKLINE(DDD1 AND 价位线<=0.3,0,2.5,1,0),COLORMAGENTA;
DRAWICON(REF(BB11,1)>0 AND AA3>2 AND AA3<REF(AA3,1) AND REF(AA3,1)>REF(AA3,2),3,5);
DRAWICON(DDD1>0 AND AA3>2 AND AA3<REF(AA3,1) AND REF(AA3,1)>REF(AA3,2),2.5,7);
DRAWICON(REF(DDD1,1)>0 AND AA3>2 AND AA3<REF(AA3,1) AND REF(AA3,1)>REF(AA3,2),2,1);
DRAWICON(强买卖<=-2.5 AND AA3>2 AND AA3<REF(AA3,1) AND REF(AA3,1)>REF(AA3,2),1.5,9);
价位线1:=价位线+3.5,COLORYELLOW;
M5:=MA(价位线1,5),COLORWHITE;
DRAWBAND(价位线1,RGB(250,0,0),M5,RGB(0,50,250));
VV1:=IF(价位线1>=6.5 AND 价位线1<=7,价位线1,6.5);
VV2:=IF(价位线1>=7,价位线1+0.1,7);
DRAWBAND(VV1,RGB(0,250,191),6.5,RGB(0,0,0));
DRAWBAND(VV2,RGB(230,230,0),7,RGB(0,0,0));
大底区:IF((VAR1C OR VAR1D),4.5,3.5),COLORLIMAGENTA;
大底域:IF((VAR1C OR VAR1D AND 价位线<=0.15),4.1,3.5),COLORYELLOW;
小底:IF(CROSS(0.41,趋势) AND (HHV(H,16)-LLV(L,16))/LLV(L,16)>=0.11,5,4.6),COLORMAGENTA;
大底:IF(CROSS(0,趋势),7.4,7),COLORLIRED;
DRAWBAND(小底,RGB(230,130,30),4.6,RGB(0,0,0));
DRAWBAND(大底,RGB(230,30,10),7,RGB(0,0,0));
长线:SMA(EMA(SMA(((C+L)/2-LLV(L,250))/(HHV((H+C)/2,250)-LLV(L,250))*3.5,2,1),2),3,1)+3.5,COLORYELLOW,LINETHICK2;
长线1:=IF(CROSS(长线,3.55),0.43,0),COLORLIMAGENTA;
DRAWBAND(长线1,RGB(250,0,0),0,RGB(0,0,0));
DRAWTEXT(长线1>0,6.8,'大底'),COLORYELLOW;
{DRAWTEXT(小底>4.7,5.1,'小底'),COLORYELLOW;}
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
长趋势:=3*Q3-2*Q4,COLORWHITE;
QJ8:=HHVBARS(HIGH, 50);
QJ10:=(CLOSE-REF(OPEN, QJ8))/REF(OPEN, QJ8)*100;
DRAWBAND(VR8,RGB(205,185,100),0,RGB(50,30,250));
DRAWTEXT(CROSS(长趋势, 20) AND QJ10<-13,6,'低吸'),COLORLIRED;


 

通达信大底小底副图指标 源码


[url=http://www.goodgupiao.com/gupiaogongshi/53152.html][B]通达信大底小底副图指标 源码[/B][/url]