當前位置:首頁 » 操作系統 » 源碼倉

源碼倉

發布時間: 2024-11-15 22:07:29

『壹』 通達信金牛判勢指標源碼和機構震倉指標怎麼寫,如下圖效果

  1. 金牛判勢主圖公式:

  • DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);

  • DRAWTEXT_FIX(1,0.88,5,0,'~☆~皓天~☆~'),COLORBLUE;

  • Z1:=STRCAT(HYBLOCK,' ');

  • Z2:=STRCAT(Z1,DYBLOCK);

  • Z3:=STRCAT(Z2,' ');

  • DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;

  • 金牛:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORYELLOW;

  • 金鑽趨勢:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;

  • 金牛2:EMA(金鑽趨勢,25)COLORCYAN,LINETHICK2;

  • DRAWBAND(金鑽趨勢,RGB(55,0,0),金牛2,RGB(0,91,0));

  • DRAWKLINE(H,O,L,C);

  • STICKLINE(金鑽趨勢>LOW AND 金鑽趨勢<HIGH,金鑽趨勢,MIN(MIN(OPEN,CLOSE),金鑽趨勢),2,0),COLORYELLOW;

  • STICKLINE(金鑽趨勢>MIN(C,O) AND 金鑽趨勢<MAX(C,O),金鑽趨勢,MIN(OPEN,CLOSE),2,0),COLORYELLOW;

  • STICKLINE(金鑽趨勢>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;

  • STICKLINE(金鑽趨勢>HIGH,HIGH,LOW,0,0),COLORYELLOW;

  • VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);

  • 回調買:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));

  • XG:=金鑽趨勢>HIGH AND 回調買 AND L<=金鑽趨勢;

  • DRAWTEXT(XG,L,'▲買入'),COLORRED;

  • JJ:=(HIGH+LOW+CLOSE)/3;

  • QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);

  • QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));

  • QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));

  • QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));

  • QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));

  • DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;

  • V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);

  • V5:=SMA(V2*120/FROMOPEN*5,2,1);

  • V10:=SMA(V5,5,1);

  • V20:=SMA(V10,5,1);

  • DY:=CURRBARSCOUNT=1 AND C<REF(C,1);

  • DY2:=REF(V2,1)-DY;

  • XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<金牛;

  • {DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;}

  • DRAWTEXT(XG2 AND L<金鑽趨勢,L,'↖金鑽起漲'),COLORMAGENTA;


2機構震倉副圖公式:


  • VAR1:=(CLOSE+HIGH+LOW)/3;

  • VAR2:=EMA(VAR1,10);

  • VAR3:=REF(VAR2,1);

  • 綠探底震倉:IF(VAR2,10,DRAWNULL),COLORGREEN,LINETHICK9;

  • 紅買: IF(VAR2>VAR3,10,DRAWNULL), COLORRED,LINETHICK9;

  • 藍賣: IF(VAR2<VAR3,10,DRAWNULL),COLORFFFF00,LINETHICK9;

  • RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

  • 上穿買:SMA(RSV,3,1),COLORRED;

  • 下穿賣:SMA(上穿買,3,1),COLORFFFF00;

希望我的回答能使你滿意。

熱點內容
雲伺服器搭建代理游戲ip 發布:2024-12-24 11:41:00 瀏覽:788
速喵游戲下載為什麼要鎖屏密碼 發布:2024-12-24 11:07:38 瀏覽:337
國家基礎資料庫 發布:2024-12-24 10:58:20 瀏覽:924
python是否是字元串 發布:2024-12-24 10:56:51 瀏覽:525
疫區的消毒應怎麼配置 發布:2024-12-24 10:55:31 瀏覽:242
可樂雲解壓密碼 發布:2024-12-24 10:50:18 瀏覽:760
數據存儲與容災 發布:2024-12-24 10:49:47 瀏覽:598
蘋果安卓哪個好玩 發布:2024-12-24 10:44:00 瀏覽:318
怎麼在電腦上建網站上傳ftp 發布:2024-12-24 10:34:36 瀏覽:778
linux下安裝驅動 發布:2024-12-24 10:33:03 瀏覽:653