你好,請在百忙中更改函數(shù)為博弈所用,非常感謝 [博易POBO]
咨詢內(nèi)容:
你好,請在百忙中更改函數(shù)為博弈所用,非常感謝
BUY1:=ZIGZAG(C,1,1);
SELL1:=MA(BUY1,2);
DRAWTEXT(CROSS(BUY1,SELL1),L-0.1,'多'),VALIGN0;
DRAWTEXT(CROSS(SELL1,BUY1),H+0.1,'空');
DRAWCOLORKLINE(BARSLAST( BUY1>SELL1)<BARSLAST(BUY1<SELL1) &&C>=O,COLORRED,1);
DRAWCOLORKLINE(BARSLAST( BUY1>SELL1)<BARSLAST(BUY1<SELL1)&&C<O,COLORRED,0);
DRAWCOLORKLINE(BARSLAST( BUY1>SELL1)>BARSLAST(BUY1<SELL1)&&C>=O,COLORGREEN,1);
DRAWCOLORKLINE(BARSLAST( BUY1>SELL1)>BARSLAST(BUY1<SELL1)&&C<O,COLORGREEN,0);
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
LJB:=1/WINNER(CLOSE);
SELL1:=MA(BUY1,2);
DRAWTEXT(CROSS(BUY1,SELL1),L-0.1,'多'),VALIGN0;
DRAWTEXT(CROSS(SELL1,BUY1),H+0.1,'空');
DRAWKLINEEX(BARSLAST( BUY1>SELL1)<BARSLAST(BUY1<SELL1) &&C>=O,H,O,L,C),COLORRED;
DRAWKLINEEX(BARSLAST( BUY1>SELL1)<BARSLAST(BUY1<SELL1)&&C<O,H,O,L,C),COLORRED;
DRAWKLINEEX(BARSLAST( BUY1>SELL1)>BARSLAST(BUY1<SELL1)&&C>=O,H,O,L,C),COLORGREEN;
DRAWKLINEEX(BARSLAST( BUY1>SELL1)>BARSLAST(BUY1<SELL1)&&C<O,H,O,L,C),COLORGREEN;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
LJB:=1/WINNER(CLOSE); 你好,謝謝這么快就更改好了,只是和我希望的有點小的出入,能不能空多提示不要太頻繁,因為花眼,能否修改的更接近我提供的函數(shù)所要求的模式,謝謝 來源 程序化久久網(wǎng)
SELL1:=MA(BUY1,2);
DRAWTEXT(CROSS(BUY1,SELL1),L-0.1,'多'),VALIGN0;
DRAWTEXT(CROSS(SELL1,BUY1),H+0.1,'空');
DRAWCOLORKLINE(BARSLAST( BUY1>SELL1)<BARSLAST(BUY1<SELL1) &&C>=O,COLORRED,1);
DRAWCOLORKLINE(BARSLAST( BUY1>SELL1)<BARSLAST(BUY1<SELL1)&&C<O,COLORRED,0);
DRAWCOLORKLINE(BARSLAST( BUY1>SELL1)>BARSLAST(BUY1<SELL1)&&C>=O,COLORGREEN,1);
DRAWCOLORKLINE(BARSLAST( BUY1>SELL1)>BARSLAST(BUY1<SELL1)&&C<O,COLORGREEN,0);
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
LJB:=1/WINNER(CLOSE);
?
?來源:程序化99網(wǎng)( www.kzuj.com.cn )
博易技術(shù)人員: BUY1:=ZIG(C,1,1);SELL1:=MA(BUY1,2);
DRAWTEXT(CROSS(BUY1,SELL1),L-0.1,'多'),VALIGN0;
DRAWTEXT(CROSS(SELL1,BUY1),H+0.1,'空');
DRAWKLINEEX(BARSLAST( BUY1>SELL1)<BARSLAST(BUY1<SELL1) &&C>=O,H,O,L,C),COLORRED;
DRAWKLINEEX(BARSLAST( BUY1>SELL1)<BARSLAST(BUY1<SELL1)&&C<O,H,O,L,C),COLORRED;
DRAWKLINEEX(BARSLAST( BUY1>SELL1)>BARSLAST(BUY1<SELL1)&&C>=O,H,O,L,C),COLORGREEN;
DRAWKLINEEX(BARSLAST( BUY1>SELL1)>BARSLAST(BUY1<SELL1)&&C<O,H,O,L,C),COLORGREEN;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
LJB:=1/WINNER(CLOSE); 你好,謝謝這么快就更改好了,只是和我希望的有點小的出入,能不能空多提示不要太頻繁,因為花眼,能否修改的更接近我提供的函數(shù)所要求的模式,謝謝 來源 程序化久久網(wǎng)
有思路,想編寫各種指標(biāo)公式,交易模型,選股公式,還原公式的朋友
可聯(lián)系技術(shù)人員 QQ: 262069696 或微信號:cxh99cxh99 進(jìn)行 有償收費(fèi) 編寫!
(注:由于人數(shù)限制,QQ或微信請選擇方便的一個聯(lián)系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容