文华指标公式分享,满足一下大家!

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

文华指标公式分享,满足一下大家!
大家在评论都一直跟我说要文化的指标,时间有限,先做这么多吧,很多朋友问我怎么使用,等我下午或者明天有空的时候在整理吧。

还想知道其他的,都可以在评论区提出来,看到我会及时回复的!
第一、文华财经副图指标仓量王
NN:=BARSLAST(DATE<>REF(DATE,1))+1;
KH:=HHV(NN,300);
VERTLINE(DATE<>REFX(DATE,1) AND ISLASTBAR<>1 AND KH<>1,COLORBLUE);
QQ:=OPI-REF(OPI,1);
K1:=IF(CLOSE>OPEN AND QQ>=0,QQ,0);
KK1:=IF(CLOSE
KKK1:=IF(CLOSE=OPEN,QQ*0.5,0);
K2:=IF(CLOSE=0,QQ,0);
KK2:=IF(CLOSE>OPEN AND QQ<0,QQ,0);
DO:=SUM(K1,NN)+SUM(KK1,NN)+SUM(KKK1,NN);
KO:=SUM(K2,NN)+SUM(KK2,NN)+SUM(KKK1,NN);
N4:=IF(NN<=4,NN,4);
VK1:=IF(CLOSE>=OPEN,VOL,0);
VK2:=IF(CLOSE<=OPEN,VOL,0);
VDO:=SUM(VK1,N4);
VKO:=SUM(VK2,N4);
VDK:=VDO-VKO;
//STICKLINE(VDK>=0,VDK,0,COLORRED,0);
//STICKLINE(VDK<=0,VDK,0,COLORCYAN,0);
CC:=SUM(QQ,NN);
DRAWNUMBER(ISLASTBAR AND
CC>0,0,CC,0,COLORMAGENTA);
DRAWNUMBER(ISLASTBAR AND CC<0,0,CC,0,COLORBLUE);
POLYLINE(CLOSE>0,DO,COLORRED);
POLYLINE(CLOSE>0,KO,COLORGREEN);
W:=MOD(NN,5);
J:=BACKSET(ISLASTBAR,5);
DRAWNUMBER(ISLASTBAR,DO,DO,0,COLORYELLOW);
DRAWNUMBER(ISLASTBAR,KO,KO,0,COLORGREEN);
DRAWNUMBER(W=0 AND J=0,DO,DO,0,COLORYELLOW);
DRAWNUMBER(W=0 AND J=0,KO,KO,0,COLORGREEN);
第二、顶底背离主图源码
DIFELSEF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:= EMA(DIFELSEF,9);
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
PDM:= SUM(IFELSE(HD>0 && HD>LD,HD,0),14);
MDM:= SUM(IFELSE(LD>0 && LD>HD,LD,0),14);
PDI:= PDM*100/TR;
MDI:= MDM*100/TR;
A1:=BARSLAST(REF(CROSS(DIFELSEF,DEA),1));
B1:=REF(CLOSE,A1+1)>CLOSE && REF(DIFELSEF,A1+1) A2:=BARSLAST(REF(CROSS(K,D),1));
B2:=REF(CLOSE,A2+1)>CLOSE && REF(K,A2+1)
A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1));
B3:=REF(CLOSE,A3+1)>CLOSE && REF(RSI1,A3+1)
C1:=BARSLAST(REF(CROSS(DEA,DIFELSEF),1));
D1:=REF(CLOSE,C1+1)
>DIFELSEF && CROSS(DEA,DIFELSEF);
C2:=BARSLAST(REF(CROSS(D,K),1));
D2:=REF(CLOSE,C2+1)K && CROSS(D,K);
C3:=BARSLAST(REF(CROSS(RSI2,RSI1),1));
D3:=REF(CLOSE,C3+1)
>RSI1 && CROSS(RSI2,RSI1);
C4:=BARSLAST(REF(CROSS(MDI,PDI),1));
D4:=REF(CLOSE,C4+1)MDI && CROSS(MDI,PDI);
A4:=BARSLAST(REF(CROSS(PDI,MDI),1));
B4:=REF(CLOSE,A4+1)>CLOSE && REF(PDI,A4+1) STICKLINE(B4,LOW,LOW-0.06,COLORBLUE,0); DRAWTEXT(B4,LOW-20,'D底');
PLAYSOUND(CROSSUP(B4,LOW),'F');
STICKLINE(D4,HIGH,HIGH+0.06,COLORWHITE,0); DRAWTEXT(D4,HIGH+20,'D顶');
PLAYSOUND(CROSSDOWN(D4,HIGH),'E'); STICKLINE(B1,LOW,LOW-0.06,COLORGREEN,0); DRAWTEXT(B1,LOW-10,'M底');
PLAYSOUND(CROSSUP(B1,LOW),'F');
STICKLINE(B2,LOW,LOW-0.06,COLORYELLOW,0); DRAWTEXT(B2,LOW-6,'K底');
PLAYSOUND(CROSSUP(B2,LOW),'F');
STICKLINE(B3,LOW,LOW-0.04,COLORRED,0);
DRAWTEXT(B3,LOW-16,'R底');
PLAYSOUND(CROSSUP(B3,LOW),'F');
STICKLINE(D1,HIGH,HIGH+0.06,COLORMAGENTA,0);
DRAWTEXT(D1,HIGH+10,'M顶');
PLAYSOUND(CROSSDOWN(D1,HIGH),'E');
STICKLINE(D2,HIGH,HIGH+0.06,COLORLIGHTRED,0);
DRAWTEXT(D2,HIGH+6,'K顶');
PLAYSOUND(CROSSDOWN(D2,HIGH),'E');
STICKLINE(D3,HIGH,HIGH+0.06,COLORLIGHTGREEN,0);
DRAWTEXT(D3,HIGH+16,'R顶');
PLAYSOUND(CROSSDOWN(D3,HIGH),'E');
MA13:=MA(CLOSE,13),COLORWHITE;
VLL:=CROSS(MA(CLOSE,13),MA(CLOSE,21));
DRAWTEXT(VLL,MA13-10,'圆底');
PLAYSOUND(CROSSUP(VLL,MA13),'F');
第三、瀑布线远离选股
公式源码:(通信达把IFELSE改成IF就可以了)
M1:=4;M2:=6;M3:=9;M4:=13;M5:=18;M6:=24;
PBX1:=(EMA(CLOSE,M1)+MA(CLOSE,M1*2)+MA(CLOSE,M1* 4))/3;
PBX2:=(EMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2* 4))/3;
PBX3:=(EMA(CLOSE,M3)+MA(CLOSE,M3*2)+MA(CLOSE,M3* 4))/3;
PBX4:=(EMA(CLOSE,M4)+MA(CLOSE,M4*2)+MA(CLOSE,M4* 4))/3;
PBX5:=(EMA(CLOSE,M5)+MA(CLOSE,M5*2)+MA(CLOSE,M5* 4))/3;
PBX6:=(EMA(CLOSE,M6)+MA(CLOSE,M6*2)+MA(CLOSE,M6*
4))/3;
AAA:=MAX(MAX(MAX(MAX(MAX(PBX1,PBX2),PBX3),PBX4), PBX5),PBX6);
SY:IFELSE(CLOSE>AAA AND ISDOWN,85,100),RGB(0,240,0);//上远离收阴
BBB:=MIN(MIN(MIN(MIN(MIN(PBX1,PBX2),PBX3),PBX4),PBX 5),PBX6);
SY1:IFELSE(CLOSE
以上就是我分享的所有东西,虽然我做过期货,但是这个指标不知道适不适合大家,如果有什么问题可以提出来,我会继续改正!希望能帮到大家,还想知道更多可以在评论区提出来,我都会及时回复的!。

相关文档
最新文档