股票论坛
标题:
通达信KDJ、副图、预警
[打印本页]
作者:
(百川)
时间:
2016-8-9 19:33
标题:
通达信KDJ、副图、预警
{百川KDJ}
{参数:N:最小1 最大288 缺省36, M1:最小1 最大96 缺省12, M2:最小1 最大96 缺省12}
{额外Y轴分界:0,20,80}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
金叉:=CROSS(K,D);
大海捞针:=FILTER(COUNT(金叉,30)>=2 AND D<20,30);
DRAWTEXT(大海捞针,(COUNT(金叉,30)>=2 AND D<20)*28,'大海捞针');
{大海捞针副图}
{参数:N:最小1 最大288 缺省36, M1:最小1 最大96 缺省12, M2:最小1 最大96 缺省12}
{额外Y轴分界:0,20,80}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
金叉:=CROSS(K,D);
大海捞针:FILTER(COUNT(金叉,30)>=2 AND D<20,30),COLORYELLOW;
DRAWTEXT(大海捞针,(FILTER(COUNT(金叉,30)>=2 AND D<20,30))*0.68,'大海捞针'),COLORYELLOW;
DRAWTEXT(大海捞针<-110 AND 大海捞针>0,1.9,'大海捞针');
{大海捞针预警}
{参数:N:最小1 最大288 缺省36, M1:最小1 最大96 缺省12, M2:最小1 最大96 缺省12}
{额外Y轴分界:0,20,80}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
金叉:=CROSS(K,D);
大海捞针:FILTER(COUNT(金叉,30)>=2 AND D<20,30);
作者:
飞河龟
时间:
2016-11-13 19:18
作者:
江大圣
时间:
2016-11-16 16:59
顶~
欢迎光临 股票论坛 (http://100000w.com/)
Powered by Discuz! X3.2