老師好改革指標(biāo) [文華財(cái)經(jīng)]
-
咨詢內(nèi)容:
把k線改成tower
金牛:(REFX1(MA(REFX1(MA(H,25),25/2),25),25/2)-REFX1(MA(REFX1(MA(L,25),25/2),25),25/2))*1+REFX1(MA(REFX1(MA(H,25),25/2),25),25/2),DOT,COLORYELLOW;
金鉆趨勢(shì):REFX1(MA(REFX1(MA(L,25),25/2),25),25/2)-(REFX1(MA(REFX1(MA(H,25),25/2),25),25/2)-REFX1(MA(REFX1(MA(L,25),25/2),25),25/2))*1,LINETHICK2,COLORRED;
金牛2:EMA(金鉆趨勢(shì),25),COLORCYAN,LINETHICK2;
FILLRGN(金鉆趨勢(shì)>=金牛2,金鉆趨勢(shì),金牛2,RGB(158,0,0)),COLORRED;
FILLRGN(金鉆趨勢(shì)<金牛2,金鉆趨勢(shì),金牛2,RGB(0,158,0)),COLORLIGHTGREEN;
DRAWKLINE1(H,O,L,C);
STICKLINE(金鉆趨勢(shì)>LOW AND 金鉆趨勢(shì)<HIGH,金鉆趨勢(shì),MIN(MIN(OPEN,CLOSE),金鉆趨勢(shì)),2,0),COLORYELLOW;
STICKLINE(金鉆趨勢(shì)>MIN(C,O) AND 金鉆趨勢(shì)<MAX(C,O),金鉆趨勢(shì),MIN(OPEN,CLOSE),2,0),COLORYELLOW;
STICKLINE(金鉆趨勢(shì)>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(金鉆趨勢(shì)>HIGH,HIGH,LOW,0,0),COLORYELLOW;
CC1:=REFX1(MA(C-REF(C,1),6),6/2);
CC2:=REFX1(MA(ABS(C-REF(C,1)),6),6/2);
VAR23:=100*REFX1(MA(CC1,6),6/2)/REFX1(MA(CC2,6),6/2);
回調(diào)買:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
XG:=金鉆趨勢(shì)>HIGH AND 回調(diào)買 AND L<=金鉆趨勢(shì);
DRAWTEXT(XG,L,'買入',COLORRED;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
CAPITAL:=GETPRICE1('通股本'*100;
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;
V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
FROMOPEN:=IF(HOUR<12,60*(HOUR-9)-30+MINUTE,120+60*(HOUR-13)+MINUTE);
V5:=SMA(V2*120/FROMOPEN*5,2,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
CURRBARSCOUNT:=DATACOUNT - BARPOS;
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 AND L<金鉆趨勢(shì),L,'金漲',COLORMAGENTA;?
?
?來(lái)源:程序化99
- 文華技術(shù)人員: ?寶塔線是后臺(tái)計(jì)算,指標(biāo)是取不到的,請(qǐng)您調(diào)整思路。
有思路,想編寫各種指標(biāo)公式,交易模型,選股公式,還原公式的朋友
可聯(lián)系技術(shù)人員 QQ: 262069696 或微信號(hào):cxh99cxh99 進(jìn)行 有償收費(fèi) 編寫!
(怎么收費(fèi),代編流程等詳情請(qǐng)點(diǎn)擊閱讀!)
(注:由于人數(shù)限制,QQ或微信請(qǐng)選擇方便的一個(gè)聯(lián)系我們就行,加好友時(shí)請(qǐng)簡(jiǎn)單備注下您的需求,否則無(wú)法通過(guò)。謝謝您!)
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容