【通達信】高低四區(qū)指標公式
攻城獅 2016.03.29 18:30
N:=8;
N1:=13;
JL:=EMA(VOL,13);
JE:=EMA(AMOUNT,13);
JX:=((JE / JL) / 100);
GL:=(((CLOSE – JX) / JX) * 100);
絕對底:=GL<(0-18);
大底:=GL<(0-14);
中底:=GL<(0-10);
短底:=GL<(0-6);
P1:=N;{N是天的參數(shù)可根據(jù)需要設(shè)定}
P2:=N1;{N1也是天的參數(shù),可根據(jù)需要設(shè)定,但N必須小于N1}
VAR1:=LLV(LOW,P1);
VAR2:=HHV(HIGH,P1);
STICKLINE((GL < (0 - 18)),60,85,3,0),COLORRED;
STICKLINE((GL < (0 - 14)),40,60,3,0),COLORBLUE;
STICKLINE((GL < (0 - 10)),20,40,3,0),COLORYELLOW;
STICKLINE((GL < (0 - 6)),0,20,3,0),COLORWHITE;
{m.chiang1015.com 概念股網(wǎng)_通達信股票指標公式}
STICKLINE((GL > (0 – 18)),60,85,3,-1),COLORLIMAGENTA;
STICKLINE((GL > (0 – 14)),40,60,3,1),COLORLIRED;
STICKLINE((GL > (0 – 10)),20,40,3,-2),COLORYELLOW;
STICKLINE((GL > (0 – 6)),0,20,3,2),COLORLIGREEN;
短A: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),COLORGREEN,LINETHICK3;
算B: EMA(0.667*REF(短A,1)+0.333*短A,2),COLORBLUE,LINETHICK3;
高拋區(qū):85,COLORRED;
低吸區(qū):20,COLORWHITE;
VARA:=(2*CLOSE+HIGH+LOW+OPEN)/5;
高拋: 80, POINTDOT;
VARB:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
中A: EMA((VARA-VARB)/(VAR3-VARB)*100,13),COLORWHITE,LINETHICK3;
中B: EMA(中A,3),COLORRED,LINETHICK3;
IF(中A IF(中A>REF(中A,1),中A,DRAWNULL),COLORWHITE,LINETHICK4;
強弱分界: 50;
STICKLINE(中A>85,100,88,2,1),COLORMAGENTA;
STICKLINE(中A<20,20,8,2,1),COLORBLUE;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責(zé),投資決策請建立在獨立思考之上。