您现在的位置:程序化交易>> 股票公式>> 同花顺>> 同花顺公式>>正文内容

同花顺易经六十四卦公式指标源码[同花顺公式]

相关标签: 曾仕强讲易经六十卦 、 易经八卦六十卦气图 、 易经六十卦卦象符号 、 易经免费算命六十 、 易经第4卦 、 易经六十四卦 全图解 、 易经六十四卦 、 易经八卦六十四卦算命 、 易经六十四卦详解 、

 

同花顺易经六十四卦公式指标源码

input:P1(5,1,300), P2(10,1,300), P3(30,1,300), P4(60,1,300);
MA1:MA(CLOSE,P1);
MA2:MA(CLOSE,P2);
MA3:=MA(CLOSE,P3);
MA4:=MA(CLOSE,P4);
A:=CLOSE>OPEN OR (CLOSE=OPEN AND CLOSE>ref(CLOSE,1));
X:=CLOSE<OPEN OR (CLOSE=OPEN AND CLOSE<=ref(CLOSE,1));
乾:=DRAWTEXT(COUNT(A,6)=6,HIGH*1.01,'乾')COLORRED;
TIPTEXT(ISNULL(REFX(&CLOSE,1)),0,' WWW.CXH99.COM '),colorred;
TIPTEXT(ISNULL(REF(CLOSE,1)),0,'同花顺程序化交易');
泰:=DRAWTEXT(ref(COUNT(A,3)=3,3)AND COUNT(X,3)=3,LOW*0.99,'泰');
大壮:=DRAWTEXT(ref(COUNT(A,4)=4,2)AND COUNT(X,2)=2,LOW*0.99,'大壮');
小畜:=DRAWTEXT(ref(COUNT(A,3)=3,3)AND ref(X,2) AND COUNT(A,2)=2,HIGH*1.01,'小畜')COLORCYAN;
需:=DRAWTEXT(ref(COUNT(A,3)=3,3) AND ref(X,2) AND ref(A,1) AND X,LOW*0.99,'需');
大有:=DRAWTEXT(ref(COUNT(A,4)=4,2) AND ref(X,1) AND A,HIGH*1.01,'大有')COLORRED;
大畜:=DRAWTEXT(ref(COUNT(A,3)=3,3) AND ref(COUNT(X,2)=2,1) AND A,HIGH*1.01,'大畜');
决:=DRAWTEXT(ref(COUNT(A,5)=5,1) AND X,LOW*0.99,'夬');
坤:=DRAWTEXT(COUNT(X,6)=6,LOW*0.99,'坤');
否:=DRAWTEXT(ref(COUNT(X,3)=3,3)AND COUNT(A,3)=3,HIGH*1.01,'否');
豫:=DRAWTEXT(ref(COUNT(X,3)=3,3)AND ref(A,2) AND COUNT(X,2)=2,LOW*0.99,'豫');
观:=DRAWTEXT(ref(COUNT(X,4)=4,2)AND COUNT(A,2)=2,HIGH*1.01,'观');
比:=DRAWTEXT(ref(COUNT(x,4)=4,2)AND ref(A,1) AND X,LOW*0.99,'比');
晋:=DRAWTEXT(ref(COUNT(X,3)=3,3) AND ref(A,2) AND ref(X,1) AND A,HIGH*1.01,'晋');
剥:=DRAWTEXT(ref(COUNT(X,5)=5,1) AND A,HIGH*1.01,'剥');
萃:=DRAWTEXT(ref(COUNT(X,3)=3,3) AND ref(COUNT(A,2)=2,1) AND X,LOW*0.99,'萃');
震:=DRAWTEXT(ref(A,5) AND ref(COUNT(X,2)=2,3) AND ref(A,2) AND COUNT(X,2)=2,LOW*0.99,'震');
无妄:=DRAWTEXT(ref(A,5) AND ref(COUNT(X,2)=2,3) AND COUNT(A,3)=3,HIGH*1.01,'无妄')COLORRED;
复:=DRAWTEXT(ref(A,5) AND COUNT(X,5)=5,LOW*0.99,'复');
益:=DRAWTEXT(ref(A,5) AND ref(COUNT(X,3)=3,2) AND COUNT(A,2)=2,HIGH*1.01,'益');
屯:=DRAWTEXT(ref(A,5) AND ref(COUNT(X,3)=3,2) AND ref(A,1) AND X,LOW*0.99,'屯');
噬嗑:=DRAWTEXT(ref(A,5) AND ref(COUNT(X,2)=2,3) AND ref(A,2) AND ref(X,1) AND A,HIGH*1.01,'噬嗑');
颐:=DRAWTEXT(ref(A,5) AND ref(COUNT(X,4)=4,1) AND A,HIGH*1.01,'颐');
随:=DRAWTEXT(ref(A,5) AND ref(COUNT(X,2)=2,3) AND ref(COUNT(A,2)=2,1) AND X,LOW*0.99,'随');
巽:=DRAWTEXT(ref(X,5) AND ref(COUNT(A,2)=2,3) AND ref(X,2) AND COUNT(A,2)=2 ,HIGH*1.01,'巽')COLORLIRED;
后:=DRAWTEXT(ref(X,5) AND COUNT(A,5)=5 ,HIGH*1.01,'姤');
升:=DRAWTEXT(ref(X,5) AND ref(COUNT(A,2)=2,3) AND COUNT(X,3)=3,LOW*0.99,'升');
恒:=DRAWTEXT(ref(X,5) AND ref(COUNT(A,3)=3,2) AND COUNT(X,2)=2,LOW*0.99,'恒');
井:=DRAWTEXT(ref(X,5) AND ref(COUNT(A,2)=2,3) AND ref(X,2) AND ref(A,1) AND X,LOW*0.99,'井');
鼎:=DRAWTEXT(ref(X,5) AND ref(COUNT(A,3)=3,2) AND ref(X,1) AND A,HIGH*1.01,'鼎')COLORLIRED;
蛊:=DRAWTEXT(ref(X,5) AND ref(COUNT(A,2)=2,3) AND ref(COUNT(X,2)=2,1) AND A,HIGH*1.01,'蛊');
大过:=DRAWTEXT(ref(X,5) AND ref(COUNT(A,4)=4,1) AND X,LOW*0.99,'大过');
坎:=DRAWTEXT(ref(X,5) AND ref(A,4) AND ref(COUNT(X,2)=2,2) AND ref(A,1) AND X,LOW*0.99,'坎');
讼:=DRAWTEXT(ref(X,5) AND ref(A,4) AND ref(X,3) AND COUNT(A,3)=3,HIGH*1.01,'讼');
师:=DRAWTEXT(ref(X,5) AND ref(A,4) AND COUNT(X,4)=4,LOW*0.99,'师'); //文章来至程序化交易网 cxh99.com//
解:=DRAWTEXT(ref(X,5) AND ref(A,4) AND ref(X,3) AND ref(A,2) AND COUNT(X,2)=2,LOW*0.99,'解');
涣:=DRAWTEXT(ref(X,5) AND ref(A,4) AND ref(COUNT(X,2)=2,2) AND COUNT(A,2)=2,HIGH*1.01,'涣');
末济:=DRAWTEXT(ref(X,5) AND ref(A,4) AND ref(X,3) AND ref(A,2) AND ref(X,1) AND A,HIGH*1.01,'末济');
蒙:=DRAWTEXT(ref(X,5) AND ref(A,4) AND ref(COUNT(X,3)=3,1) AND A,HIGH*1.01,'蒙');
困:=DRAWTEXT(ref(X,5) AND ref(A,4) AND ref(X,3) AND ref(COUNT(A,2)=2,1) AND X,LOW*0.99,'困');
离:=DRAWTEXT(ref(A,5) AND ref(X,4) AND ref(COUNT(A,2)=2,2) AND ref(X,1) AND A,HIGH*1.01,'离');
同人:=DRAWTEXT(ref(A,5) AND ref(X,4) AND COUNT(A,4)=4,HIGH*1.01,'同人');
明夷:=DRAWTEXT(ref(A,5) AND ref(X,4) AND ref(A,3) AND COUNT(X,3)=3,LOW*0.99,'明夷');
丰:=DRAWTEXT(ref(A,5) AND ref(X,4) AND ref(COUNT(A,2)=2,2) AND COUNT(X,2)=2,LOW*0.99,'丰');
家人:=DRAWTEXT(ref(A,5) AND ref(X,4) AND ref(A,3) AND ref(X,2) AND COUNT(A,2)=2,HIGH*1.01,'家人');
既济:=DRAWTEXT(ref(A,5) AND ref(X,4) AND ref(A,3) AND ref(X,2) AND ref(A,1) AND X,LOW*0.99,'既济'); //本文来至CXH99.COM//
贲:=DRAWTEXT(ref(A,5) AND ref(X,4) AND ref(A,3) AND ref(COUNT(X,2)=2,1) AND A,HIGH*1.01,'贲');
革:=DRAWTEXT(ref(A,5) AND ref(X,4) AND ref(COUNT(A,3)=3,1) AND X,LOW*0.99,'革');
艮:=DRAWTEXT(ref(COUNT(X,2)=2,4) AND ref(A,3) AND ref(COUNT(X,2)=2,1) AND A,HIGH*1.01,'艮');
遯:=DRAWTEXT(ref(COUNT(X,2)=2,4) AND COUNT(A,4)=4 ,HIGH*1.01,'遯');
谦:=DRAWTEXT(ref(COUNT(X,2)=2,4) AND ref(A,3) AND COUNT(X,3)=3,LOW*0.99,'谦');
小过:=DRAWTEXT(ref(COUNT(X,2)=2,4) AND ref(COUNT(A,2)=2,2) AND COUNT(X,2)=2,LOW*0.99,'小过');
渐:=DRAWTEXT(ref(COUNT(X,2)=2,4) AND ref(A,3) AND ref(X,2) AND COUNT(A,2)=2,HIGH*1.01,'渐');
蹇:=DRAWTEXT(ref(COUNT(X,2)=2,4) AND ref(A,3) AND ref(X,2) AND ref(A,1) AND X,LOW*0.99,'蹇');
旅:=DRAWTEXT(ref(COUNT(X,2)=2,4) AND ref(COUNT(A,2)=2,2) AND ref(X,1) AND A,HIGH*1.01,'旅')COLORRED;
咸:=DRAWTEXT(ref(COUNT(X,2)=2,4) AND ref(COUNT(A,3)=3,1) AND X,LOW*0.99,'咸');
兑:=DRAWTEXT(ref(COUNT(A,2)=2,4) AND ref(X,3) AND ref(COUNT(A,2)=2,1) AND X,LOW*0.99,'兑')COLORLICYAN;
履:=DRAWTEXT(ref(COUNT(A,2)=2,4) AND ref(X,3) AND COUNT(A,3)=3,HIGH*1.01,'履')COLORRED;
临:=DRAWTEXT(ref(COUNT(A,2)=2,4) AND COUNT(X,4)=4,LOW*0.99,'临');
归妹:=DRAWTEXT(ref(COUNT(A,2)=2,4) AND ref(X,3) AND ref(A,2) AND COUNT(X,2)=2,LOW*0.99,'归妹');
中孚:=DRAWTEXT(ref(COUNT(A,2)=2,4) AND ref(COUNT(X,2)=2,2) AND COUNT(A,2)=2,HIGH*1.01,'中孚');
节:=DRAWTEXT(ref(COUNT(A,2)=2,4) AND ref(COUNT(X,2)=2,2) AND ref(A,1) AND X,LOW*0.99,'节');
睽:=DRAWTEXT(ref(COUNT(A,2)=2,4) AND ref(X,3) AND ref(A,2) AND ref(X,1) AND A,HIGH*1.01,'睽');
损:=DRAWTEXT(ref(COUNT(A,2)=2,4) AND ref(COUNT(X,3)=3,1) AND A,HIGH*1.01,'损');

 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容