人人爽天天爽夜夜爽qc-人人爽天天爽夜夜爽曰-人人天天爱天天做天天摸-人人天天夜夜-色网站在线-色网站在线看

您現在的位置:程序化交易>> 股票公式>> 通達信>> 通達信公式>>正文內容

穩賺波段主圖指標公式(周K線+節氣)[通達信公式]

相關標簽:

 

 

原理解析:


 

 

源碼:

 

{周K線}
AQ:=O#WEEK;B:=C#WEEK;
AAQ:=H#WEEK;BB:=L#WEEK;
STICKLINE(B>=AQ,AAQ,BB,4,0),COLOR00004A;
STICKLINE(B<AQ,AAQ,BB,4,0),COLOR424200;
DRAWKLINE(H,O,L,C);
{穩賺波段【主圖】}
MA3:=3;
MA5:=MA(C,5);
MA20:MA(C,20),COLORGREEN;
{MA20】數值}
TT3:=(CURRBARSCOUNT=5-4);
DRAWNUMBER(TT3 AND MA20,MA20,MA20),COLORYELLOW;
DRAWTEXT(ISLASTBAR,MA20,' 【MA20】'),COLORYELLOW;趨勢線:IF(MA5>MA20,MA20,MA5),COLORMAGENTA{COLOR0000FF},LINETHICK2;
{IF(趨勢線>REF(趨勢線,1),趨勢線,DRAWNULL),COLORRED,LINETHICK2;}
IF(趨勢線<REF(趨勢線,1),趨勢線,DRAWNULL),COLORGREEN,LINETHICK2;
VAR1:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR6:=VAR3-VAR1;
Z:=MA(VAR6,MA3);
{STICKLINE(Z>=0 ,O,C,2,0),COLORRED;
STICKLINE(Z>=0 ,H,MAX(O,C),0,1),COLORRED;
STICKLINE(Z>=0 ,MIN(O,C),L,0,1),COLORRED;
STICKLINE(Z<0 ,O,C,2,1),COLORCYAN;
STICKLINE(Z<0 ,H,MAX(O,C),0,1),COLORCYAN;
STICKLINE(Z<0 ,MIN(O,C),L,0,1),COLORCYAN;}
STICKLINE(Z>=0 AND MA20>C,O,C,2,0),COLORBLUE;
STICKLINE(Z>=0 AND MA20>C,H,MAX(O,C),0,1),COLORBLUE;
STICKLINE(Z>=0 AND MA20>C,MIN(O,C),L,0,1),COLORBLUE;
STICKLINE(Z<0 AND MA20<C,O,C,2,1),COLORYELLOW;
STICKLINE(Z<0 AND MA20<C,H,MAX(O,C),0,1),COLORYELLOW;
STICKLINE(Z<0 AND MA20<C,MIN(O,C),L,0,1),COLORYELLOW;
WW:=(MA(CLOSE,4)+MA(CLOSE,8)+MA(CLOSE,16)+MA(CLOSE,32))/4;
{DRAWICON(CROSS(CLOSE,WW),LOW-0.002,1);
DRAWICON(CROSS(WW,CLOSE),HIGH+0.006,2);}{三線合一【主圖】}
M25:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORGREEN,LINETHICK1,DOTLINE;
M35:=IF(MA(CLOSE,17)<M25,M25,MA(CLOSE,17)),COLORGREEN,LINETHICK1,DOTLINE;
支撐線:M35-(EMA(C,3)-M35),COLORFF8080,LINETHICK1,DOTLINE;{畫豎線}
MA18:=MA(CLOSE,18),COLORRED,LINETHICK2;
IF(MA18<REF(MA18,1),MA18,DRAWNULL),COLORLICYAN,LINESTICK;{畫豎線}
{二十四節氣}
立春:=FILTER(MONTH=2 AND (DAY=3 OR DAY=5 ),2);
雨水:=FILTER(MONTH=2 AND (DAY=18 OR DAY=20),2);
驚蟄:=FILTER(MONTH=3 AND (DAY=5 OR DAY=7 ),2);
春分:=FILTER(MONTH=3 AND (DAY=20 OR DAY=22),2);
清明:=FILTER(MONTH=4 AND (DAY=4 OR DAY=6 ),2);
谷雨:=FILTER(MONTH=4 AND (DAY=19 OR DAY=21),2);
立夏:=FILTER(MONTH=5 AND (DAY=6 OR DAY=8 ),2);
小滿:=FILTER(MONTH=5 AND (DAY=20 OR DAY=22),2);
芒種:=FILTER(MONTH=6 AND (DAY=5 OR DAY=7 ),2);
夏至:=FILTER(MONTH=6 AND (DAY=20 OR DAY=22),2);
小暑:=FILTER(MONTH=7 AND (DAY=6 OR DAY=8 ),2);
大署:=FILTER(MONTH=7 AND (DAY=22 OR DAY=24),2);
立秋:=FILTER(MONTH=8 AND (DAY=7 OR DAY=9 ),2);
處暑:=FILTER(MONTH=8 AND (DAY=22 OR DAY=24),2);
白露:=FILTER(MONTH=9 AND (DAY=7 OR DAY=9 ),2);
秋分:=FILTER(MONTH=9 AND (DAY=22 OR DAY=24),2);
寒露:=FILTER(MONTH=10 AND (DAY=7 OR DAY=9 ),2);
霜降:=FILTER(MONTH=10 AND (DAY=22 OR DAY=24),2);
立冬:=FILTER(MONTH=11 AND (DAY=7 OR DAY=9 ),2);
小雪:=FILTER(MONTH=11 AND (DAY=22 OR DAY=24),2);
大雪:=FILTER(MONTH=12 AND (DAY=6 OR DAY=8 ),2);
冬至:=FILTER(MONTH=12 AND (DAY=21 OR DAY=23),2);
小寒:=FILTER(MONTH=1 AND (DAY=5 OR DAY=7 ),2);
大寒:=FILTER(MONTH=1 AND (DAY=19 OR DAY=21),2);
DRAWTEXT(立春,HIGH*1.005,'立春'),COLORGRAY;
DRAWTEXT(雨水,HIGH*1.005,'雨水'),COLORGRAY;
DRAWTEXT(驚蟄,HIGH*1.005,'驚蟄'),COLORGRAY;
DRAWTEXT(春分,HIGH*1.005,'春分'),COLORGRAY;
DRAWTEXT(清明,HIGH*1.005,'清明'),COLORGRAY;
DRAWTEXT(谷雨,HIGH*1.005,'谷雨'),COLORGRAY;DRAWTEXT(立夏,HIGH*1.005,'立夏'),COLORGRAY;
DRAWTEXT(小滿,HIGH*1.005,'小滿'),COLORGRAY;
DRAWTEXT(芒種,HIGH*1.005,'芒種'),COLORGRAY;
DRAWTEXT(夏至,HIGH*1.005,'夏至'),COLORGRAY;
DRAWTEXT(小暑,HIGH*1.005,'小暑'),COLORGRAY;
DRAWTEXT(大署,HIGH*1.005,'大署'),COLORGRAY;DRAWTEXT(立秋,HIGH*1.005,'立秋'),COLORGRAY;
DRAWTEXT(處暑,HIGH*1.005,'處暑'),COLORGRAY;
DRAWTEXT(白露,HIGH*1.005,'白露'),COLORGRAY;
DRAWTEXT(秋分,HIGH*1.005,'秋分'),COLORGRAY;
DRAWTEXT(寒露,HIGH*1.005,'寒露'),COLORGRAY;
DRAWTEXT(霜降,HIGH*1.005,'霜降'),COLORGRAY;DRAWTEXT(立冬,HIGH*1.005,'立冬'),COLORGRAY;
DRAWTEXT(小雪,HIGH*1.005,'小雪'),COLORGRAY;
DRAWTEXT(大雪,HIGH*1.005,'大雪'),COLORGRAY;
DRAWTEXT(冬至,HIGH*1.005,'冬至'),COLORGRAY;
DRAWTEXT(小寒,HIGH*1.005,'小寒'),COLORGRAY;
DRAWTEXT(大寒,HIGH*1.005,'大寒'),COLORGRAY;
DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;

 

 

 

有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友

可聯系技術人員 QQ: 511411198  有需要幫忙請點擊這里留言?。?!進行 有償 編寫!不貴!點擊查看價格!

 


【字體: 】【打印文章】【查看評論

相關文章

    沒有相關內容
  主站蜘蛛池模板: 日韩系列第一页 | 亚洲欧美国产精品第1页 | 日本羞羞无遮挡免费漫画 | 欧美黄色高清视频 | 有哪些免费的毛片可以看 | 亚洲国产一 | 欧美成人精品免费播放 | 国产成人高清精品免费观看 | 日日干日日操日日射 | 亚洲专区第一页 | 欧美激情在线播放一区二区三区 | 99精品国产成人一区二区在线 | 亚洲国产系列一区二区三区 | 日韩黄色毛片 | 亚洲欧美精品综合中文字幕 | 国产在线精品一区免费香蕉 | 亚洲永久精品一区二区三区 | 成人精品一区二区三区校园激情 | 免费黄色一级 | 视频一区二区三区在线观看 | 成人免费福利视频 | a级黄色毛片三 | 国产精品欧美亚洲韩国日本99 | 一个人看的www片免费高清中文 | 免费看片的网址 | 激情五月综合 | 国产情精品嫩草影院88av | 国产精品久久久香蕉 | 成年视频xxxxx免费播放软件 | 日本污污网站 | 日本黄色www | 欧美久久一区二区三区 | 国产一区二区三区亚洲欧美 | 亚洲天堂黄 | 亚洲精品中文字幕乱码无线 | 欧美日韩精品福利在线观看 | 99精品视频在线观看免费 | 麒麟色欧美影院在线播放 | 精品国产无限资源免费观看 | 日韩精品视频免费观看 | 乡村乱肉第19部全文小说 |