【通达信】高低四区指标公式

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是天的参数可根据需要设定}
P2:=N1;{N1也是天的参数,可根据需要设定,但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;
{www.gainiangu.com 概念股网_通达信股票指标公式}
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;
高抛区:85,COLORRED;
低吸区: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;

 

0 0 0

数字时代的手工艺人

我要投稿

申明:本文为作者投稿或转载,在概念股网 http://www.gainiangu.com/ 上发表,为其独立观点。不代表本网立场,不代表本网赞同其观点,亦不对其真实性负责,投资决策请建立在独立思考之上。

< more >

ABCDEFGHIJKLMNOPQRSTUVWXYZ0-9
暂无相关概念股
暂无相关概念股
go top