怎樣把通達信的K線陰線設定成空心的

2021-04-27 12:35:43 字數 2348 閱讀 5087

1樓:gwh孺子牛

工具欄裡面的系統設定裡面可以自由設定的

通達信指標修改,把空心改為實心。這一段碼數顯示的**是空心,想把陰線改為實心,陽線保持空心

2樓:般若若愚

nd1970:=(year-1970)*365+intpart((year-1972)/4)-if(intpart(year/4)=year/4,1,0)+day+(month-1)*30+if(month<=8,intpart(month/2),intpart((month-7)/2)+4)-if(month>2 and intpart(year/4)=year/4,1,if(month>2 and not(intpart(year/4)=year/4),2,0));

c1:c;

o1:ref(o,barslast(nd1970-ref(nd1970,1)>weekday-ref(weekday,1)));

h1:hhv(h,barslast(nd1970-ref(nd1970,1)>weekday-ref(weekday,1))+1);

l1:llv(l,barslast(nd1970-ref(nd1970,1)>weekday-ref(weekday,1))+1);

***************

wo1:="ochl.o1#week";

wc:="ochl.c1#week";

wh:="ochl.h1#week";

wl:="ochl.l1#week";

k1:=wo1=ref(wo1,1) and wc=ref(wc,1) and wh=ref(wh,1) and wl=ref(wl,1);

k3:=ref(c,1)=dynainfo(3) and o=dynainfo(4) and c=dynainfo(7) and h=dynainfo(5) and l=dynainfo(6);

dd:=ref(barslast(k1=0)+1,1),linethick0;

dd1:=cross(backset((k1=0 or k3) and dd=5,4),0.5),nodraw;

dd2:=cross(backset((k1=0 or k3) and (dd=4 or dd=3),3),0.5),nodraw;

dd3:=cross(backset((k1=0 or k3) and dd<=2,2),0.5),linethick0;

bk1:=dd1 or dd2 or dd3;

bk2:=cross(backset(k1=0,2),0.5);

bk3:=cross(backset(k1=0 and ref(k1=0,1),2),0.5);

wo:if(barslast(k1=0)=0,o,ref(o,barslast(k1=0))),nodraw;

k0:=wc>wo or (wc=wo and wc>ref(wc,barslast(k1=0)+1));

stickline(k0 and bk1,wh,wc,0,0),colorlimagenta;

stickline(k0 and bk1,wo,wl,0,0),colorlimagenta;

stickline(k0 and k1=0,wc,wo,0,0),colorlimagenta;

stickline(k0 and (bk2 or k3),wc,wo,0,0),colorlimagenta;

stickline(k0 and ((k1 and bk2=0 and k3=0) or bk3),wc,wc,8,1),colorlimagenta;

stickline(k0 and ((k1 and bk2=0 and k3=0) or bk3),wo,wo,8,1),colorlimagenta;

stickline(not(k0) and ((k1 and bk2=0 and k3=0) or bk3),wc,wc,8,0),colorcyan;

stickline(not(k0) and ((k1 and bk2=0 and k3=0) or bk3),wo,wo,8,0),colorcyan;

stickline(not(k0) and bk1,wh,wo,0,0),colorcyan;

stickline(not(k0) and bk1,wc,wl,0,0),colorcyan;

stickline(not(k0) and k1=0,wc,wo,8,0),colorcyan;

stickline(not(k0) and (bk2 or k3),wc,wo,8,0),colorcyan;

ma1:ma(c,20),colorwhite;

ma2:ma(c,60),coloryellow;

ma3:ma(c,120),colormagenta;

如何把同花順威廉指標設定成跟通達信一樣的效果

把通達信的 複製到同花順,新建一個就行了。威廉指標是由larrywilliams於1973年首創的,wms表示市場處於超買還是超賣狀態。wms的計算公式是 n日wms hn ct hn ln 100。ct為當天的 價 hn和ln是最近n日內 包括當天 出現的最 和最低價。wms指標表示的涵義是當天的...

通達信K線圖怎麼設定收盤價大於20日均線變為紅色的K線圖低於20日均線變為綠色K線

這不是設定實現的需要編寫一個主圖指標公式可以實現這個效果.例如下圖.ma20 ma c,20 linethick2,colorwhite stickline c ma c,20 and cstickline c ma c,20 and cstickline c ma c,20 and cstickl...

如何檢視各個板塊指數的K線,通達信如何檢視行業板塊和概念板塊的指數和K線圖

輸入板塊名稱,右下角會彈出板塊和板塊指數兩個選項,雙擊板塊指數 下邊那個 就直接進去了 功能 f 板塊全景圖 即可。我是國信金太陽 通達信改版 交易軟體,應該是一樣的。那東西還真沒聽說過 抱歉,幫不了你了 最近好像回來了啊,這長大的?68 怎麼檢視各行業板塊指數?首先要看自bai己使用的是什麼du軟...