软件名称:[B][飞狐大智慧L2公式解密]趋势强度[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2009-01-19 18:22:52
软件简介:
趋势强度
四个趋势公式,看是否对你有用
网上收集的,四个趋势公式,看是否对你有用.
公式1:趋势强度
nx:=9;
ATR := SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),Nx,1);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SMA(IF(HD>0 AND HD>LD,HD,0),Nx,1);
DMM:= SMA(IF(LD>0 AND LD>HD,LD,0),Nx,1);
PDI:= DMP*100/ATR;
MDI:= DMM*100/ATR;
ADX: SMA(ABS(MDI-PDI)/(MDI+PDI)*100,Nx,1);
ADXR:=(ADX+REF(ADX,Nx))/2;
30;50;
STICKLINE(cross(ADX,30),ADX,30,10,0),Color00FFFF,LINETHICK5;
公式2:价量趋势
0;
HSV:=IF(SUM(VOL/CAPITAL,20)<1,SUM(VOL/CAPITAL,20),0.998);
VAR1:=DMA(EMA(CLOSE,13),HSV);
QS:(CLOSE-VAR1)/VAR1*100;
价量线:SMA(QS,3,1);
公式3:四方多空趋势
V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);
HY1:=REF(EMA(V1,3),1);
多空趋势:=MA((CLOSE - HY1) * 10,2);
操盘:STICKLINE(多空趋势>=0 AND 多空趋势>=REF(多空趋势,1),0,多空趋势,4,0),COLORYELLOW;
减仓:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),0,多空趋势,4,0),COLORYELLOW;
反弹:STICKLINE(多空趋势<0 AND 多空趋势>=REF(多空趋势,1),0,多空趋势,4,0),COLORGREEN;
寻底:STICKLINE(多空趋势<0 AND 多空趋势< REF(多空趋势,1),0,多空趋势,4,0),COLORGREEN;
0,pointdot,COLORWHITE;
公式4:资金趋势
VAR1:=C-REF(C,1);
VAR2:=O-REF(O,1);
VAR3:=H-REF(H,1);
VAR4:=L-REF(L,1);
VAR5:=(VAR1+VAR2+VAR3+VAR4)/4;
TIANLIANG:MA(VAR5*VOL,14) ,LINETHICK0;
STICKLINE(TIANLIANG>0,TIANLIANG,0,2,0), COLORRED;
STICKLINE(TIANLIANG<0,TIANLIANG,0,2,0) ,COLORGREEN;
增幅:(TIANLIANG-REF(TIANLIANG,1))/REF(TIANLIANG,1), COLORRED, LINETHICK0;
[url=http://www.70822.com/soft/sort013/sort03/down-5686.html][飞狐大智慧L2公式解密]趋势强度[/url]