公式网 股票指标公式源码分享 登录 注册
公式指标平网
未来函数检测
首页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 东财通公式 飞狐公式 操盘手公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式网 > 同花顺公式 > 正文 → 正文

同花顺日K线公式

发布时间:2016/1/4 6:07:14  浏览次数:

同花顺日K线公式

可直接按照买卖点做参考操作,

红柱区域表示为股价上涨阶段(其中的绿柱由红色点缀代表是正常调整),

绿柱区域表示为股价下跌阶段(其中的红柱由绿色点缀代表是诱多行为),

源码

MA5:MA(CLOSE,5),ColorCCCCCC;

//MA10:MA(CLOSE,10),Color00BBBB;

MA21:MA(CLOSE,21),Color00AA00;

//MA30:MA(CLOSE,30),Color990099;

MA60:MA(CLOSE,60),Color000088;

//MA120:MA(CLOSE,120),Color777700;

EM1:=EMA(C,3),colorwhite;

EM2:=EMA(C,5),colorred;

EM3:=EMA(C,8),colorgreen;

TJ:=BETWEEN(EM2,EM1,EM3);

立桩量:=FILTER(TJ=0,5);

平台价:REF(H,BARSLAST(立桩量)),coloryellow;

//DRAWICON(CROSS(C,平台价),L*0.996,1);

//DRAWICON(CROSS(平台价,C),H*1.019,2);

现价:CLOSE;

涨幅:现价/平台价*100-100;

B:=ZIG(3,10);

G:MA(B,3);

BU:=CROSS(B,G);

SEL:=CROSS(G,B);

DRAWICON(CROSS(B,G),L*0.996,7);

DRAWICON(CROSS(G,B),H*1.019,8);

//DRAWTEXT(bu,L*0.99,'买'),linethick1,color00aaff;

//DRAWTEXT(sel,H*1.01,'卖'),linethick1,color00ff00;

DRAWTEXT(CROSS(B,G),L*0.990,'↖B'),coloryellow,LINETHICK5;

DRAWTEXT(CROSS(G,B) AND B<G,H*1.018,'↙S'),colorgreen,LINETHICK5;

DRAWTEXT("X09A.T">0,L*0.99,'B'),linethick1,colorFFffff;

DRAWTEXT("X09A.T1">0,L*0.99,'B'),linethick1,color0000ff;

//STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),color0000CC;

//STICKLINE(买线>=卖线,CLOSE,OPEN,7,1),color0000CC;

//STICKLINE(买线<卖线,CLOSE,OPEN,7,1),colorCCCC00;

//STICKLINE(买线<卖线,LOW,HIGH,0.1,0),colorCCCC00;

//STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,1),color00AAFF;

//STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0),color00DD00;

STICKLINE(B>G AND CLOSE>=OPEN,OPEN,CLOSE,9,1),colorred;

STICKLINE(B>G AND CLOSE>=OPEN,OPEN,LOW,0,0),colorred;

STICKLINE(B>G AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorred;

STICKLINE(B>G AND CLOSE<OPEN,OPEN,CLOSE,9,0),colorred;

STICKLINE(B>G AND CLOSE<OPEN,LOW,HIGH,0,0),colorred;

STICKLINE(B<G AND CLOSE<=OPEN,OPEN,CLOSE,9,0),colorcyan;

STICKLINE(B<G AND CLOSE<=OPEN,LOW,HIGH,0,0),colorcyan;

STICKLINE(B<G AND CLOSE>OPEN,OPEN,CLOSE,9,1),colorcyan;

STICKLINE(B<G AND CLOSE>OPEN,OPEN,LOW,0,0),colorcyan;

STICKLINE(B<G AND CLOSE>OPEN,CLOSE,HIGH,0,0),colorcyan;

STICKLINE(B=G AND CLOSE>=OPEN,OPEN,CLOSE,9,1),colorblue;

STICKLINE(B=G AND CLOSE>=OPEN,OPEN,LOW,0,0),colorblue;

STICKLINE(B=G AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorblue;

STICKLINE(B=G AND CLOSE<OPEN,OPEN,CLOSE,9,0),colorblue;

STICKLINE(B=G AND CLOSE<OPEN,LOW,HIGH,0,0),colorblue;

STICKLINE((B='-' OR G='-') AND CLOSE>=OPEN,OPEN,CLOSE,9,1),colorblue;

STICKLINE((B='-' OR G='-') AND CLOSE>=OPEN,OPEN,LOW,0,0),colorblue;

STICKLINE((B='-' OR G='-') AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorblue;

STICKLINE((B='-' OR G='-') AND CLOSE<OPEN,OPEN,CLOSE,9,0),colorblue;

STICKLINE((B='-' OR G='-') AND CLOSE<OPEN,LOW,HIGH,0,0),colorblue;
 

 

同花顺日K线公式

资源下载链接   资源大小:unknow
精品资源推荐

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号-3 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZX.COM.CN ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识