均线粘合就买安全稳当指标公式[通达信公式]
均线粘合就买,安全稳当!
原理解析:
源码:
{均线粘合就买}
{-----------------------☆功能开关------------------------}
{线}
主线:=EMA(EMA(C,1),5);
本:EMA(HHV(主线,5),1),COLOR00FFFF,LINETHICK1;
急:EMA(HHV(本,21),1),COLOR0089FF,LINETHICK1;
稳:EMA(HHV(急,21),2),COLORDB89FF,COLOR00FF00,LINETHICK1;
投:EMA(HHV(稳,21),3),COLOR8916FF,LINETHICK1;
散:EMA(HHV(投,21),4),COLORFFCC62,LINETHICK1;
集:EMA(HHV(散,21),5),COLORFF9D52,LINETHICK2;
马:EMA(HHV(集,21),6),COLORFF5B5E,LINETHICK1;
界:MA(CLOSE,60),COLORFF66FF,LINETHICK1;
K2:=BACKSET(界<REF(界,1),2);
IF(K2,界,DRAWNULL),COLOR00A600,LINETHICK1;
{-----------------【图解模板】---------------------}
{K线}
STICKLINE(O>=C,H,L,0,0),COLORCYAN;
STICKLINE(O>=C,C,O,3,0),COLORCYAN;
STICKLINE(C>=O,L,H,0,0),COLORRED;
STICKLINE(C>=O,C,O,3,1),COLORRED;
{线}
IF(本<REF(本,1),本,DRAWNULL),COLOR00FFFF;
IF(急<REF(急,1),急,DRAWNULL),COLORFF9D52;
IF(稳<REF(稳,1),稳,DRAWNULL),COLORCCCCFF,COLORWHITE;
{IF(投<REF(投,1),投,DRAWNULL),COLORCCCCFF,COLORWHITE;}
{PARTLINE(散<REF(散,1),散),COLOR9999CC,LINETHICK1;
PARTLINE(集<REF(集,1),集),COLORCC99CC,LINETHICK1;
PARTLINE(跑马场<REF(跑马场,1),跑马场),COLORFF99CC,LINETHICK1;};
DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容