請(qǐng)教文華老師的幫助
作者:文華財(cái)經(jīng) 來(lái)源:cxh99.com 發(fā)布時(shí)間:2014年04月14日
- 咨詢內(nèi)容:
我想在成交量里加點(diǎn)語(yǔ)法,請(qǐng)幫助查看一下這語(yǔ)句怎么錯(cuò)了?能幫改寫(xiě)一下嗎?謝謝!VOL,VOLUMESTICK;VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));ZDB:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH- OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,STICK,LINETHICK3;ZDS:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLORWHITE,STICK,LINETHICK3;OPID:OPI;
- 文華技術(shù)人員:
VOL,VOLUMESTICK;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
ZDB:IFELSE(CLOSE>OPEN,VAR1*(HIGH-LOW),IFELSE(CLOSE<OPEN,VAR1*((HIGH- OPEN)+(CLOSE-LOW)),VOL/2)),SETSTYLECOLOR(LINETHICK3,COLORRED);
ZDS:IFELSE(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-
LOW)),IFELSE(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),SETSTYLECOLOR(LINETHICK3,COLORWHITE);
OPID:OPI;
IF要改為IFELSE SETSTYLECOLOR是設(shè)置線性顏色的函數(shù)
SETSTYLECOLOR函數(shù) 設(shè)置線型的粗細(xì)和顏色。
用法:
SETSTYLECOLOR(STYLE,COLOR);
注:
1、參數(shù)STYLE可以使用LINETHICK1——LINETHICK7,數(shù)值越大,線型越粗;
2、參數(shù)STYLE可以使用DOT,設(shè)置線形為虛線。
3、參數(shù)STYLE可以使用NODRAW,不畫(huà)線只顯示數(shù)值
4、參數(shù)COLOR可以使用插入顏色中的所有顏色和顏色函數(shù)。(如:COLORRED或RGB(255,255,0));
5、不支持將該函數(shù)直接定義為變量,即不支持下面的寫(xiě)法:A:SETSTYLECOLOR(LINETHICK5,COLORGREEN);
例1:
A:C,SETSTYLECOLOR(LINETHICK5,COLORGREEN);//以綠色LINETHICK5的粗細(xì)大小畫(huà)收盤(pán)價(jià)連線。
- 文華客服:
這是在其它軟件上成交量的效果圖,我修改了幾次沒(méi)法用在文華上,敬請(qǐng)幫助修改
此主題相關(guān)圖片如下:2014-02-14_132535.jpg
- 網(wǎng)友回復(fù):
VOL,VOLUMESTICK;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
OPID:OPI;
ZDB:IFELSE(CLOSE>OPEN,VAR1*(HIGH-LOW),IFELSE(CLOSE<OPEN,VAR1*((HIGH- OPEN)+(CLOSE-LOW)),VOL/2)),NODRAW;
ZDS:IFELSE(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-
LOW)),IFELSE(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),NODRAW;
STICK(CLOSE>OPEN,0,VAR1*(HIGH-LOW),1,COLORRED,0);
STICK(CLOSE<OPEN,0,VAR1*((HIGH- OPEN)+(CLOSE-LOW)),1,COLORRED,0);
STICK(CLOSE=OPEN,0,VOL/2,1,COLORRED,0);
STICK(CLOSE>OPEN,0,VAR1*((HIGH-CLOSE)+(OPEN- LOW)),1,COLORWHITE,0);
STICK(CLOSE<OPEN,0,VAR1*(HIGH-LOW),1,COLORWHITE ,0);
STICK(CLOSE=OPEN,0,VOL/2,1,COLORWHITE,0);
僅供參考
您試下
- 網(wǎng)友回復(fù):
謝謝!但在藍(lán)色量中不顯示,指教了
此主題相關(guān)圖片如下:2014-02-14_132535.jpg