當前位置:ag真人国际官网-ag旗舰厅官方网站 » 操作系統 » 源碼倉

源碼倉-ag真人国际官网

發布時間: 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 金鑽趨勢

  • stickline(金鑽趨勢>min(c,o) and 金鑽趨勢

  • 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

  • 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

  • rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;

  • 上穿買:sma(rsv,3,1),colorred;

  • 下穿賣:sma(上穿買,3,1),colorffff00;

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

熱點內容
vb資料庫數組 發布:2024-11-19 09:23:40 瀏覽:827
安卓游戲數據保存在哪裡找 發布:2024-11-19 09:22:02 瀏覽:309
解壓出來的文件亂碼 發布:2024-11-19 09:15:40 瀏覽:939
北航ftp是多少 發布:2024-11-19 09:15:32 瀏覽:821
瀏覽保存密碼如何取消 發布:2024-11-19 09:10:17 瀏覽:89
安卓怎麼關簡訊重復提醒 發布:2024-11-19 09:02:00 瀏覽:635
html與php的區別 發布:2024-11-19 09:00:53 瀏覽:193
晚安密碼多少 發布:2024-11-19 09:00:51 瀏覽:945
易語言腳本模塊 發布:2024-11-19 09:00:44 瀏覽:484
經典矩陣c語言 發布:2024-11-19 08:56:23 瀏覽:268
网站地图