综合主图(源码)
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:5.00 KB
更新时间:2010-08-30 08:10:00
公式简介:
HH:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:=HH*102/100;
通道2:=HH*(200-102)/100;
WW:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
MM:=DMA(CLOSE,WW);
通道3:=(1+7/100)*MM;
通道4:=(1-7/100)*MM;
牛熊线:MA(CLOSE,144) ,COLORGREEN,LINETHICK4,POINTDOT;
BOLL:=MA(CLOSE,20);
估:=(2*CLOSE+LOW+HIGH)/4;
风险线:EMA(估,40)*1.15,CIRCLEDOT, COLORCYAN;
必卖线:EMA(估,55)*1.3,CIRCLEDOT, COLORBROWN;
回踩线:EMA(C,30), CROSSDOT,COLORFF00FF;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
TR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),
ABS(REF(CLOSE,1)-LOW)),14);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);
PDI:=DMP*100/TR;
MDI:=DMM*100/TR;
ADX:= EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
VAR74:=EXPMA(CLOSE,9);
LDN:=EXPMA(VAR74*0.86,5);
薛通:=C<=LDN ;
DRAWICON(薛通, L-0.3,15);
熊市专用:=C<=通道4 AND C<=LDN AND CCI<-100 AND ADX>=60 AND MDI>=PDI AND CLOSE>OPEN;
DRAWICON(熊市专用, L-0.8,13);
VAR00:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR03:=SMA(VAR00,3,1);
VAR01:=SMA(VAR03,4,1)-10;
VAR04:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR05:=SMA(VAR04,3,1);
VAR02:=SMA(VAR05,4,1)-90;
愿赌服:=VAR01 <1 AND VAR02 >-1;
DRAWICON(愿赌服, L-1.2,1);
MB:MA(CLOSE,99) ,COLOR00FFFF,LINETHICK2;
R:=(CLOSE-MB)*(CLOSE-MB);
X1:=MA(R,99);
X2:=SQRT(X1);
UPPER:MB+(1.95*X2) ,COLORMAGENTA,LINETHICK2;
LOWER:MB-(1.95*X2) , COLORWHITE,LINETHICK2;
DRAWICON(CROSS(C, LOWER), L-1.6,11);
DRAWICON(CROSS(C, MB), H+0.4,7);
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+
(CLOSE-LOW)),VOL/2)),POINTDOT,COLORRED;
卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,
0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;
BB:=(买盘+卖盘);
BB1:=MA(BB,3);
BB2:=MA(BB,5);
V21:=BARSLAST(REF(CROSS(BB1,BB2),1));
纪律:=REF(C,V21+1)>C AND REF(BB1,V21+1)>BB1 AND CROSS(BB1,BB2);
DRAWICON(纪律,L/1.0236,27);
纪律布中:=REF(C,V21+1)>C AND REF(BB1,V21+1)>BB1 AND CROSS(BB1,BB2) AND CROSS(C, BOLL);
DRAWICON(纪律布中, L-1.1,8);
{DRAWICON(CROSS(C,牛熊线), H+0.9,20);};
出现B信号,如第二收阳,出现第二个B时吃进
[url=http://www.goodgupiao.com/gupiaogongshi/9559.html][B]综合主图(源码)[/B][/url]