公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

通达信走势强弱指标公式

2012-10-30 00:24| 发布者: admin| 查看: 82| 评论: 0

VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
A:=VOL/CAPITAL;
N:=(A>2.5*REF(A,1) OR A>3*MA(A,20));
MA5:=MA(C,5);
MA25:=MA(C,25);
MA60:=MA(C,60);
VAR1:=EMA(EMA(CLOSE,13),13);
KP:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*10000;
清仓卖出: IF(N,IF(KP>=0,3.5*1.3,3.5),3.5),DOTLINE,COLOR082E54;
DLX:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
DT:DLX-REF(DLX,1),LINETHICK0;
关注:0.5,DOTLINE,COLOR082E54;
1.75,DOTLINE,COLORWHITE;
3.0,DOTLINE,COLOR082E54;
数值:DLX,LINETHICK0,COLORYELLOW;
M:=(DT+REF(DT,1)+REF(DT,2)+REF(DT,3));
BB:=(A<2 AND HHV(A,7)<1.5*EMA(A,7) AND MA(A,10)K:=IF(KP<0,IF(BB,0.55,0.85),IF(N,1,0.85));
T:=IF(CMA60 OR MA5>MA25),0.85,0.35),IF(DT<0.05 AND REF(DT,1)<0,0.85,1)),1);
T1:=IF(MA(C,60)>REF(MA(C,60),1),IF(MA(C,5)>MA(C,60),1,0.85),0.65);
P:DLX*K*T,LINETHICK2,COLORFF00FF;
{PARTLINE(P,(1.75>P AND P>REF(P,1)),RGB(139,69,19),(1.75

REF(P,1)),RGB(255,0,255),(1.75

DRAWTEXT(CROSS(P,1.75),1.75*0.97,'▲买'),COLORRED;
DRAWTEXT(CROSS(1.75,P),1.75*1.05,'↓衰'),COLORYELLOW;
DRAWTEXT(CROSS(P,3.2),3.2,'◆小心'),COLORYELLOW;




鲜花

握手

雷人

路过

鸡蛋
返回顶部