中文字幕日韩国产,水野优香被中出中文字幕,日本中文字幕在线精品,精品视频中文字幕,九九热中文字幕,中文字幕精品在线视频,中文字幕日韩有码

【同花順】MACD+KDJ+RSI+DMI頂?shù)妆畴x指標公式

2015.11.21 19:40

底:-50;
頂:50;
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(IF(HD>0 AND HD>LD,HD,0),14);
MDM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);
PDI:= PDM*100/TR;
MDI:= MDM*100/TR;
A1:=BARSLAST(ref(cross(“macd.diff”(12,26,9),”macd.dea”(12,26,9)),1));
B1:=ref(c,A1+1)>c and ref(“macd.diff”(12,26,9),A1+1)<"macd.diff"(12,26,9) and cross("macd.diff"(12,26,9),"macd.dea"(12,26,9));
A2:=BARSLAST(ref(cross(“kdj.k”(9,3,3),”kdj.d”(9,3,3)),1));
B2:=ref(c,A2+1)>c and ref(“kdj.k”(9,3,3),A2+1)<"kdj.k"(9,3,3) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3));
A3:=BARSLAST(ref(cross(“RSI.RSI1″(6,12,24),”RSI.RSI2″(6,12,24)),1));
//{lakewaygifts.com 概念股網(wǎng)_同花順股票指標公式}
B3:=ref(c,A3+1)>c and ref(“RSI.RSI1″(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) and cross("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
C1:=BARSLAST(ref(cross(“macd.dea”(12,26,9),”macd.diff”(12,26,9)),1));
D1:=ref(c,C1+1)“macd.diff”(12,26,9) and cross(“macd.dea”(12,26,9),”macd.diff”(12,26,9));
C2:=BARSLAST(ref(cross(“kdj.d”(9,3,3),”kdj.k”(9,3,3)),1));
D2:=ref(c,C2+1)“kdj.k”(9,3,3) and cross(“kdj.d”(9,3,3),”kdj.k”(9,3,3));
C3:=BARSLAST(ref(cross(“RSI.RSI2″(6,12,24),”RSI.RSI1″(6,12,24)),1));
D3:=ref(c,C3+1)“RSI.RSI1″(6,12,24) and cross(“RSI.RSI2″(6,12,24),”RSI.RSI1″(6,12,24));
C4:=BARSLAST(ref(cross(mdi,pdi),1));
D4:=ref(c,C+1)mdi and cross(mdi,pdi);
A4:=BARSLAST(ref(cross(PDI,MDI),1));
B4:=ref(c,A4+1)>c and ref(pdi,A4+1) DMI底背:IF(B4>0,-50,0),COLOR0099FF,POINTDOT;
DRAWTEXT(DMI底背,-5,’DMI底背’),color0099FF;
DMI頂背:IF(D4>0,50,0),COLORBLUE,POINTDOT;
DRAWTEXT(DMI頂背,15,’DMI頂背’),COLORBLUE;
MACD底背:if(B1>0,-50,0),colorred,pointdot;
DRAWTEXT(MACD底背,-15,’MACD底背’),COLORred;
KDJ底背:if(B2>0,-50,0),colorff00ff,pointdot;
DRAWTEXT(KDJ底背,-25,’KDJ底背’),COLORff00ff;
RSI底背:if(B3>0,-50,0),coloryellow,pointdot;
DRAWTEXT(RSI底背,-35,’RSI底背’),COLORyellow;
MACD頂背:if(D1>0,50,0),color00ff00,pointdot;
DRAWTEXT(MACD頂背,25,’MACD頂背’),COLOR00ff00;
KDJ頂背:if(D2>0,50,0),colorffcc66,pointdot;
DRAWTEXT(KDJ頂背,35,’KDJ頂背’),COLORffcc66;
RSI頂背:if(D3>0,50,0),colorffffff,pointdot;
DRAWTEXT(RSI頂背,45,’RSI頂背’),COLORffffff;
STICKLINE(B1>0,-50,0,2,0),colorred;
STICKLINE(B2>0,-50,0,2,0),colorff00ff;
STICKLINE(B3>0,-50,0,2,0),coloryellow;
STICKLINE(d1>0,50,0,2,0),color00ff00;
STICKLINE(d2>0,50,0,2,0),colorffcc66;
STICKLINE(d3>0,50,0,2,0),colorwhite;
STICKLINE(B4>0,-50,0,2,0),color0099ff;
STICKLINE(D4>0,50,0,2,0),colorblue;

 

0 0 0

數(shù)字時代的手工藝人

我要投稿

申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://lakewaygifts.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責,投資決策請建立在獨立思考之上。

< more >

ABCDEFGHIJKLMNOPQRSTUVWXYZ0-9
暫無相關(guān)概念股
暫無相關(guān)概念股
go top 珠海市| 玉田县| 临漳县| 新乡县| 渑池县| 阿拉善右旗| 于田县| 合阳县| 桐乡市| 武清区| 偃师市| 罗平县| 宁城县| 山东省| 叙永县| 湛江市| 祁连县| 宁夏| 德化县| 项城市| 进贤县| 嘉祥县| 井冈山市| 栾川县| 余江县| 香河县| 从江县| 遂川县| 桐庐县| 曲水县| 邵阳市| 东辽县| 上虞市| 柞水县| 衡阳县| 兰坪| 高平市| 松滋市| 大悟县| 凤凰县| 竹山县|