最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信趋势主力指标公式

    正文概述    2024-05-04 04:10:34  
    EXP1:=EMA(CLOSE,5);EXP2:=EMA(CLOSE,18);EXP3:=EMA(CLOSE,51);XG:EXP2 EXP3ANDCROSS(EXP1,EXP2)ANDATAN(EXP1/EXP2*100-100)*56.3 =35ANDVOL MA(VOL,2); AA:=(CLOSE+LOW+HIGH)/3; BB:=SUM(((AA-REF(LOW,1))-(HIGH-AA))*VOL/100000/(HIGH-LOW),0); DD:=EMA(BB,1); EE:=REF(CLOSE,1); 主:=SMA(MAX(CLOSE-EE,0),12,1)/SMA(ABS(CLOSE-EE),12,1)*100; 力:=SMA(MAX(CLOSE-EE,0),18,1)/SMA(ABS(CLOSE-EE),18,1)*100; 进:=MA(3*主-2*SMA(MAX(CLOSE-EE,0),16,1)/SMA(ABS(CLOSE-EE),16,1)*100,3); 出:=EMA(进,8); MML:=MA(3*力-2*SMA(MAX(CLOSE-EE,0),12,1)/SMA(ABS(CLOSE-EE),12,1)*100,5); DQ:=DD; ZQ:=MA(DD,12); CQ:=MA(DD,26); STICKLINE(DQ ZQ,ZQ,DQ,5,0),COLORRED; STICKLINE(DQ ZQ,ZQ,DQ,5,0),COLORGREEN; STICKLINE(ZQ CQ,ZQ,CQ,5,0),COLORfff000; STICKLINE(ZQ CQ,ZQ,CQ,5,0),COLORCYAN; STICKLINE(DQ ZQ,ZQ,DQ,5,0),COLORGREEN; STICKLINE(DQ CQ,DQ,CQ,5,0),COLORYELLOW; STICKLINE(ZQ CQ,ZQ,CQ,5,0),COLORfff000; :DQ,COLORRED; 主力:CQ,COLORfff000; :ZQ,COLORYELLOW; DM:=CROSS(进,出)ANDDQ ZQANDZQ CQANDDQ REF(DQ,1) AND进 短买:DRAWTEXT(DM 0,CQ,'短买'),COLORWHITE; STICKLINE(DM 0,DQ,CQ,3,0),COLORWHITE; DZXJ:=CROSS(DQ,ZQ)ANDZQ REF(ZQ,1)AND(MML REF(MML,1)) AND进 REF(进,1)ANDCQ REF(CQ,1); ema5:MA(C,5),COLORFF00FF,LINETHICK1;ema10:MA(C,10),COLOR00FFFF,LINETHICK1;EMA20:MA(C,20),COLORC0FF7F,LINETHICK1;EMA60:MA(C,60),COLORFFFFFF,LINETHICK1;VAR1:=(O+H+C)/3;持股线:=EMA(VAR1,3),COLORBLUE,LINETHICK1;VAR2:=(((CLOSE-EMA(CLOSE,13))/EMA(CLOSE,13))*(0-100));趋势线:=EMA(((VAR2/10)+EMA(CLOSE,10)),3);A1:=持股线,COLOR00FFFF,LINETHICK2;B1:=趋势线,COLOR00FF00,LINETHICK2;AA:=A1 BB:=B1 买入:DRAWICON(crOSS(AA,BB),L,1);卖出:DRAWICON(CROSS(BB,AA),H,2);STICKLINE(AA,C,O,3,0),COLORFFBBFF;STICKLINE(AA,H,L,0,0),COLOR00FFFF;STICKLINE(BB,C,O,3,0),COLOR00FF00;STICKLINE(BB,H,L,0,0),COLORFF0000;STICKLINE(AA,CLOSE,OPEN,3.0,0),COLORFF00FF;STICKLINE(AA,CLOSE,OPEN,2.6,0),COLORFF22FF;STICKLINE(AA,CLOSE,OPEN,2.2,0),COLORFF44FF;STICKLINE(AA,CLOSE,OPEN,1.8,0),COLORFF66FF;STICKLINE(AA,CLOSE,OPEN,1.4,0),COLORFF88FF;STICKLINE(AA,CLOSE,OPEN,1,0),COLORFF99FF;STICKLINE(AA,CLOSE,OPEN,0.5,0),COLORFFAAFF;STICKLINE(AA,CLOSE,OPEN,0.1,0),COLORFFBBFF;STICKLINE(BB,CLOSE,OPEN,3,0),COLOR008800;STICKLINE(BB,CLOSE,OPEN,2.6,0),COLOR009900;STICKLINE(BB,CLOSE,OPEN,2.2,0),COLOR00AA00;STICKLINE(BB,CLOSE,OPEN,1.8,0),COLOR00BB00;STICKLINE(BB,CLOSE,OPEN,1.4,0),COLOR00CC00;STICKLINE(BB,CLOSE,OPEN,1,0),COLOR00DD00;STICKLINE(BB,CLOSE,OPEN,0.6,0),COLOR00EE00;STICKLINE(BB,CLOSE,OPEN,0.2,0),COLOR00FF00;STICKLINE(买入,O,(C-O)/2+O,3,0),COLOR335555;STICKLINE(买入,O,(C-O)/2+O,2.2,0),COLOR338888;STICKLINE(买入,O,(C-O)/2+O,1.5,0),COLOR33AAAA;STICKLINE(买入,O,(C-O)/2+O,1,0),COLOR33CCCC;STICKLINE(买入,O,(C-O)/2+O,0,0),COLOR33EEEE;STICKLINE(卖出,O,(C-O)/2+O,3,0),COLOR550055;STICKLINE(卖出,O,(C-O)/2+O,2.2,0),COLOR880088;STICKLINE(卖出,O,(C-O)/2+O,1.5,0),COLORAA00AA;STICKLINE(卖出,O,(C-O)/2+O,1,0),COLORCC00CC;STICKLINE(卖出,O,(C-O)/2+O,0.5,0),COLOREE00EE;

    公式解读:

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信趋势主力指标公式 加入收藏