股票论坛

 找回密码
 免费注册
搜索
热搜: 活动 交友 discuz
查看: 1629|回复: 0
打印 上一主题 下一主题

同花顺一刀见血指标公式

[复制链接]

指标研习组

Rank: 11Rank: 11Rank: 11Rank: 11

听众
5
跳转到指定楼层
楼主
发表于 2016-7-2 17:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
N:=5;
N1:=10;
P:=3;
M:=21;
RSV:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);
TJ:=IF((RSV<5),0,RSV);
投机:IF((TJ>95),100,TJ),Color008000,Linethick1;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
中期:=EMA(D,10);
STICKLINE((K>=D),D,REF(D,1),4,0),Color0000FF;
STICKLINE((K<D),D,REF(D,1),4,0),COLORFFF000;
分界线:50,Color00FF00,POINTDOT;
RS1:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);
RS2:=((CLOSE-LLV(LOW,(5)*(9)))/(HHV(HIGH,(5)*(9))-LLV(LOW,(5)*(9))))*(100);
RS3:=((CLOSE-LLV(LOW,(20)*(9)))/(HHV(HIGH,(20)*(9))-LLV(LOW,(20)*(9))))*(100);
K1:=SMA(RS1,3,1);
K2:=SMA(RS2,3+1,1);
K3:=SMA(RS3,3+2,1);
D1:=SMA(K1,3,1);
D2:=SMA(K2,3+1,1);
D3:=SMA(K3,3+2,1);
DRAWTEXT(CROSS(K1,D1),REF(D,1),'●');
DRAWTEXT(CROSS(K2,D2),REF(D,1),'●'),ColorFF00FF;
DRAWTEXT(CROSS(K3,D3),REF(D,1),'●'),Color00FFFF;
●短叉:=IF(CROSS(K1,D1),1,0);
◆中叉:IF(CROSS(K2,D2),1,0),ColorFFAAFF;
◆长叉:IF(CROSS(K3,D3),1,0),Color00FFFF;
您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

QQ|站点首页|手机版|小黑屋|帮助中心|桂ICP备14001964号

GMT+8, 2024-12-5 10:19 , Processed in 0.140258 second(s), 19 queries .

Powered by Discuz! X3.2

© 2004-2014 早晨网股票论坛欢迎您!..

快速回复 返回顶部 返回列表