通达信公式转东方财富的k线

三堂网 > | 发布时间:2018-08-04T09:51:10 更新时间:2024-11-13T01:04:50
【求通达信用的,东方财富中的资金博奕k线副图指标公式】

通达信主力资金博弈指标公式:

VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;

主力:VAR1,COLORRED,LINETHICK1;

V1:=(C*2+H+L)/4*10;

V2:=EMA(V1,13)-EMA(V1,34);

V3:=EMA(V2,5);

V4:=2*(V2-V3)*5.5;

大户:V4,COLORFF00FF;

V8:=(INDEXC*2+INDEXH+INDEXL)/4;

V9:=EMA(V8,13)-EMA(V8,34);

VA:=EMA(V9,3);

VB:=(V9-VA)/2;

大资金:VB,COLORYELLOW;

STICKLINE(CLOSE0,0,0,-1,0),COLORFF9966;

DRAWTEXT(ISLASTBAR AND C,VAR1,' 主力线:零轴上方可进场 中线可持股'),COLOR0000BB;

DRAWTEXT(ISLASTBAR AND C,V4,' 大户线:零轴下方短线必出且不抄底'),COLOR0000BB;

DRAWTEXT(ISLASTBAR AND C,VB,' 大资金线:零轴下方需小心'),COLOR0000BB;

XG1:=COUNT(V40,10)=5 AND CROSS(VAR1,0.5) AND 0REF(VAR1,1) AND V40 AND VB0{AND VBREF(VB,1)};

XG2:=COUNT(VAR10,10)=5 AND CROSS(V4,0.5) AND 0REF(V4,1) AND VAR10 AND VB0{AND VBREF(VB,1)};

DRAWTEXT(XG1,0,'主力进'),COLORYELLOW;

DRAWTEXT(XG2,0,'大户进'),COLORYELLOW;

QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

XVL:=(IF(CLOSEOPEN,QJJ*(HIGH-LOW),IF(CLOSEOPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSEOPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSEOPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));

HSL:=(XVL/20)/1.15;

攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));

LLJX:=EMA(攻击,3);

B1:=SUM(LLJX,1);

B2:=SUM(LLJX,2);

B3:=SUM(LLJX,3);

B4:=SUM(LLJX,4);

B5:=SUM(LLJX,5);

B6:=SUM(LLJX,6);

B7:=SUM(LLJX,7);

B8:=SUM(LLJX,8);

B9:=SUM(LLJX,9);

B10:=SUM(LLJX,10);

G1:=B1REF(B1,1) AND B2REF(B2,1) AND B3REF(B3,1) AND B4REF(B4,1) AND B5REF(B5,1);

G2:=B2REF(B2,1) AND B3REF(B3,1) AND B4REF(B4,1) AND B5REF(B5,1) AND B6REF(B6,1);

G3:=B3REF(B3,1) AND B4REF(B4,1) AND B5REF(B5,1) AND B6REF(B6,1) AND B7REF(B7,1);

G4:=B4REF(B4,1) AND B5REF(B5,1) AND B6REF(B6,1) AND B7REF(B7,1) AND B8REF(B8,1);

G5:=B5REF(B5,1) AND B6REF(B6,1) AND B7REF(B7,1) AND B8REF(B8,1) AND B9REF(B9,1);

G6:=B6REF(B6,1) AND B7REF(B7,1) AND B8REF(B8,1) AND B9REF(B9,1) AND B10REF(B10,1);

条件:=G1 OR G2 OR G3 OR G4 OR G5 OR G6;

DRAWTEXT(XG1 AND 条件,0,'主力'),COLORCYAN;

DRAWTEXT(XG2 AND 条件,0,'大户'),COLORCYAN;

提醒:指标不是万能的,股市有风险,入市须谨慎。

【怎样把通达信的公式改为东方财富的?谢谢!】

这段公式代码在东方财富上是可以用的.

A7:=C-REF(C,1);

A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);

SHORT:=7; LONG:=19;

RMA:=EMA(CLOSE,SHORT);

NMA:=EMA(CLOSE,LONG);

UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0);

DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0);

买进:(LLV(A8,2)=LLV(A8,7) AND COUNT(A80,2) AND CROSS(A8,MA(A8,2))) AND REF(DOWN,1)REF(DOWN,1);

通达信公式转东方财富的k线相关文章:

分析口字纹和财富纹的手掌纹路
分析口字纹和财富纹的手掌纹路

口字纹的纹路你知晓吗?那么财富纹的纹路呢?如果你不知晓的话没关系,本文将会一一介绍!其实口字纹和财富纹都是手掌里面的纹路,很多人并不了解手里的纹路,所以不知晓也情有可缘...