RSI劃線 RSI頂?shù)妆畴x 崇道者老師判斷趨勢(shì)頂?shù)字笜?biāo)[通達(dá)信公式]
相關(guān)標(biāo)簽: RSI劃線 RSI頂?shù)妆畴x 崇道者老師的判斷趨勢(shì)頂?shù)字笜?biāo) 準(zhǔn)確 判斷 頂?shù)?指標(biāo) 、 判斷頂?shù)椎闹笜?biāo) 、 趨勢(shì)頂?shù)字笜?biāo) 、 通達(dá)信趨勢(shì)頂?shù)字笜?biāo) 、 趨勢(shì)頂?shù)字笜?biāo)源碼 、 頂?shù)宗厔?shì)指標(biāo)公式 、 趨勢(shì)頂?shù)字笜?biāo)原理 、 崇道堂 、 基督教杭州崇一堂講道 、
崇道者老師的判斷趨勢(shì)頂?shù)字笜?biāo)(以下三個(gè)指標(biāo)可分成三個(gè),也可以合成一個(gè))
{RSI劃線 副圖指標(biāo)}
{N1:2,120,5;N2:2,250,10;N3:2,500,20;}
{參數(shù):P:1,20,3;}{支撐壓力線的周期參數(shù) P可調(diào)}
STICKLINE(C>0,0,30,10,0),COLOR353535;
STICKLINE(C>0,30,50,10,0),COLOR454545;
STICKLINE(C>0,50,80,10,0),COLOR555555;
STICKLINE(C>0,80,95,10,0),COLOR757575;
強(qiáng)弱線:50,LINETHICK2,COLOR858585;
警示線:80,POINTDOT,COLORCYAN;
減倉(cāng)線:90,COLOR00AA55,LINETHICK2;
清倉(cāng)線:95,COLOR0000AA,LINETHICK2;
LC:=ref(CLOSE,1);DRAWTEXT_FIX(C>O,0.01,0.9,0,'www.kzuj.com.cn'),COLORRED;
RSI5:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,NODRAW,COLORFFAAFF;
RSI10:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100,NODRAW,COLORDDAADD;
RSI20:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100,NODRAW,COLORAA99AA;
DRAWBAND(RSI5,RGB(195,125,195),RSI10,RGB(0,130,50));
DRAWBAND(RSI10,RGB(165,95,165),RSI20,RGB(0,100,20));
{金叉死叉}
金叉:CROSS(RSI5,RSI20) AND CROSS(RSI10,RSI20),COLORRED,NODRAW;
DRAWTEXT(金叉,RSI5,'←'),COLORRED;
死叉:CROSS(RSI20,RSI10) AND CROSS(RSI20,RSI5),COLORGREEN,NODRAW;
DRAWTEXT(死叉,RSI5,'←'),COLORGREEN;
{RSI頂?shù)妆畴x 副圖指標(biāo)}
RS:=BARSLAST(ref(CROSS(RSI20,RSI5),1));
RS1:=ref(CLOSE,RS+1)<CLOSE AND ref(RSI5,RS+1)>RSI5 AND CROSS(RSI20,RSI5);
頂背離:IF(RS1,RSI5,DRAWNULL),CIRCLEDOT,COLORFFCC00;
STICKLINE(RS1,RSI5,RSI5*0.9,0,0),COLORFFCC00;
DRAWTEXT(RS1,RSI5*0.9,'頂背離'),COLORFFCC00;
S1:=BARSLAST(ref(CROSS(RSI5,RSI20),1));
S1A:=ref(CLOSE,S1+1)>CLOSE AND RSI5>ref(RSI5,S1+1) AND
CROSS(RSI5,RSI20);DRAWTEXT_FIX(C>O,0.01,0.9,0,'www.kzuj.com.cn'),COLORRED;
底背離:IF(S1A,RSI5,DRAWNULL),CIRCLEDOT,COLOR6699FF;
STICKLINE(S1A,RSI5,RSI5*1.1,0,0),COLOR6699FF;
DRAWTEXT(S1A,RSI5*1.1,'底背離'),COLOR6699FF;
{RSI劃線}
OB:=RSI5;
A1:=ref(OB,P)=HHV(OB,2*P+1);
B1:=FILTER(A1,P);
C1:=BACKSET(B1,P+1);
D1:=FILTER(C1,P);{高點(diǎn)}
A2:=ref(OB,P)=LLV(OB,2*P+1);
B2:=FILTER(A2,P);
C2:=BACKSET(B2,P+1);
D2:=FILTER(C2,P);{低點(diǎn)}
R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);
S11:=R11>ref(R11,1);
壓力線:DRAWLINE(D1,OB,S11,OB,1),LINETHICK1,COLORCC33CC;
T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);
U11:=T11>ref(T11,1);DRAWTEXT_FIX(C>O,0.01,0.9,0,'www.kzuj.com.cn'),COLORRED;
支撐線:DRAWLINE(D2,OB,U11,OB,1),COLOR00CCCC;
{本文來至程序化交易網(wǎng) cxh99.com}
(責(zé)任編輯:程序化交易網(wǎng)整理)
如果以上指標(biāo)公式不適用于您常用的行情軟件
或者您想改編成選股公式,以便快速選出某種形態(tài)個(gè)股的話,
- 上一篇:新東方不敗 主圖指標(biāo)源碼 根據(jù)歐陽(yáng)及老師…
- 下一篇:沒有了!
相關(guān)文章
-
沒有相關(guān)內(nèi)容