两个指标,5.2版本通过但5.5不行,请老师帮忙,做忠实粉丝,谢谢! [博易POBO]
咨询内容:
BARCORE:=(OPEN+CLOSE)/2;
DRAWBMP(CLOSE>0,100,'WU.BMP');
DRAWBMP(CLOSE>0,0,'WU.BMP');
{---------BS---------}
MA1:=MA(BARCORE,5);
MA2:=MA(BARCORE,10);
DRAWTEXT(MA1>MA2,90,'B'),COLORRED;
DRAWTEXT(MA1<MA2,90,'S'),COLORGREEN;
{--------箭头--------}
EMA1:=EMA(CLOSE,10);
EMA2:=EMA(CLOSE,20);
DRAWBMP(EMA1>EMA2,10,'SHANG.BMP');
DRAWBMP(EMA1<EMA2,10,'XIA.BMP');
{--------曲线--------}
RSV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,3,1);
DRAWSL(D>REF(D,1),D,D-REF(D,1),1,1),COLOR00FFFF,LINETHICK2;
DRAWSL(D<REF(D,1),D,D-REF(D,1),1,1),COLOR008000,LINETHICK2;
{--------红旗--------IF(ISSTOCK('IF'),0,1)}
MA3:=MA(BARCORE,10);
MA4:=MA(BARCORE,22);
DRAWBMP(MA3>MA4,50,'HQ.BMP');
庄家控盘
SAR1:=SAR_POBO(7,2,10),CIRCLEDOT;
SAR:=SAR1;
A:30,COLOR000000;
B:70,COLOR000000;
G:=53;
D:=58;
E:=48;
F:=43;
J:=40;
I:=61;
MAH1:=MA(HIGH,30);
MAH:=MAH1;
MAL1:=MA(LOW,30);
MAL:=MAL1;
VAR1:=EMA(EMA(CLOSE,9),9);
VAR:=VAR1;
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
DRAWBMP(C>SAR AND SAR>0 AND C<MAL1,G,'ICON6.BMP');{多弱}
DRAWBMP(C>SAR AND C>MAH1 AND SAR>0,D,'ICON7.BMP');{多强}
DRAWBMP(C<SAR AND C>MAH1,E,'ICON13.BMP');{空弱}
DRAWBMP(C<SAR AND C<MAL1,F,'ICON12.BMP');{空强}
DRAWBMP(C>=SAR AND SAR>0 AND RANGE(C,MAL1,MAH1),G,'ICON6.BMP');{多弱}
DRAWBMP(C<=SAR AND RANGE(C,MAL1,MAH1),E,'ICON13.BMP');{空弱}
{减仓信号}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K1:=SMA(RSV,3,1);
D1:=SMA(K1,3,1);
DRAWICON(CROSS(K1,D1) AND C<SAR AND C<MAL AND K1<30,J,3);
DRAWICON(CROSS(D1,K1) AND C>SAR AND SAR>0 AND C>MAH AND K1>70,I,10);
DRAWBMP(CLOSE>0,100,'WU.BMP');
DRAWBMP(CLOSE>0,0,'WU.BMP');
{---------BS---------}
MA1:=MA(BARCORE,5);
MA2:=MA(BARCORE,10);
DRAWTEXT(MA1>MA2,90,'B'),COLORRED;
DRAWTEXT(MA1<MA2,90,'S'),COLORGREEN;
{--------箭头--------}
EMA1:=EMA(CLOSE,10);
EMA3:=EMA(CLOSE,20);
DRAWBMP(EMA1>EMA3,10,'SHANG.BMP');
DRAWBMP(EMA1<EMA3,10,'XIA.BMP');
{--------曲线--------}
RSV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,3,1);
DRAWSL(D>REF(D,1),D,D-REF(D,1),1,1),COLOR00FFFF,LINETHICK2;
DRAWSL(D<REF(D,1),D,D-REF(D,1),1,1),COLOR008000,LINETHICK2;
{--------红旗--------IF(ISSTOCK('IF'),0,1)}
MA3:=MA(BARCORE,10);
MA4:=MA(BARCORE,22);
DRAWBMP(MA3>MA4,50,'HQ.BMP');
SAR1:=SAR_POBO(7,2,10),CIRCLEDOT;
A:30,COLOR000000;
B:70,COLOR000000;
G:=53;
D:=58;
E:=48;
F:=43;
J:=40;
I:=61;
MAH1:=MA(HIGH,30);
MAH:=MAH1;
MAL1:=MA(LOW,30);
MAL:=MAL1;
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
DRAWBMP(C>SAR1 AND SAR1>0 AND C<MAL1,G,'ICON6.BMP');{多弱}
DRAWBMP(C>SAR1 AND C>MAH1 AND SAR1>0,D,'ICON7.BMP');{多强}
DRAWBMP(C<SAR1 AND C>MAH1,E,'ICON13.BMP');{空弱}
DRAWBMP(C<SAR1 AND C<MAL1,F,'ICON12.BMP');{空强}
DRAWBMP(C>=SAR1 AND SAR1>0 AND RANGE(C,MAL1,MAH1),G,'ICON6.BMP');{多弱}
DRAWBMP(C<=SAR1 AND RANGE(C,MAL1,MAH1),E,'ICON13.BMP');{空弱}
{减仓信号}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K1:=SMA(RSV,3,1);
D1:=SMA(K1,3,1);
DRAWICON(CROSS(K1,D1) AND C<SAR1 AND C<MAL AND K1<30,J,3);
DRAWICON(CROSS(D1,K1) AND C>SAR1 AND SAR1>0 AND C>MAH AND K1>70,I,10);
能正常显示了,谢谢老师的付出! 来源 程序化久久网
两个指标,5.2版本通过但5.5不行,请老师帮忙,做忠实粉丝,谢谢!
主力资金BARCORE:=(OPEN+CLOSE)/2;
DRAWBMP(CLOSE>0,100,'WU.BMP');
DRAWBMP(CLOSE>0,0,'WU.BMP');
{---------BS---------}
MA1:=MA(BARCORE,5);
MA2:=MA(BARCORE,10);
DRAWTEXT(MA1>MA2,90,'B'),COLORRED;
DRAWTEXT(MA1<MA2,90,'S'),COLORGREEN;
{--------箭头--------}
EMA1:=EMA(CLOSE,10);
EMA2:=EMA(CLOSE,20);
DRAWBMP(EMA1>EMA2,10,'SHANG.BMP');
DRAWBMP(EMA1<EMA2,10,'XIA.BMP');
{--------曲线--------}
RSV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,3,1);
DRAWSL(D>REF(D,1),D,D-REF(D,1),1,1),COLOR00FFFF,LINETHICK2;
DRAWSL(D<REF(D,1),D,D-REF(D,1),1,1),COLOR008000,LINETHICK2;
{--------红旗--------IF(ISSTOCK('IF'),0,1)}
MA3:=MA(BARCORE,10);
MA4:=MA(BARCORE,22);
DRAWBMP(MA3>MA4,50,'HQ.BMP');
庄家控盘
SAR1:=SAR_POBO(7,2,10),CIRCLEDOT;
SAR:=SAR1;
A:30,COLOR000000;
B:70,COLOR000000;
G:=53;
D:=58;
E:=48;
F:=43;
J:=40;
I:=61;
MAH1:=MA(HIGH,30);
MAH:=MAH1;
MAL1:=MA(LOW,30);
MAL:=MAL1;
VAR1:=EMA(EMA(CLOSE,9),9);
VAR:=VAR1;
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
DRAWBMP(C>SAR AND SAR>0 AND C<MAL1,G,'ICON6.BMP');{多弱}
DRAWBMP(C>SAR AND C>MAH1 AND SAR>0,D,'ICON7.BMP');{多强}
DRAWBMP(C<SAR AND C>MAH1,E,'ICON13.BMP');{空弱}
DRAWBMP(C<SAR AND C<MAL1,F,'ICON12.BMP');{空强}
DRAWBMP(C>=SAR AND SAR>0 AND RANGE(C,MAL1,MAH1),G,'ICON6.BMP');{多弱}
DRAWBMP(C<=SAR AND RANGE(C,MAL1,MAH1),E,'ICON13.BMP');{空弱}
{减仓信号}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K1:=SMA(RSV,3,1);
D1:=SMA(K1,3,1);
DRAWICON(CROSS(K1,D1) AND C<SAR AND C<MAL AND K1<30,J,3);
DRAWICON(CROSS(D1,K1) AND C>SAR AND SAR>0 AND C>MAH AND K1>70,I,10);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: BARCORE:=(OPEN+CLOSE)/2;DRAWBMP(CLOSE>0,100,'WU.BMP');
DRAWBMP(CLOSE>0,0,'WU.BMP');
{---------BS---------}
MA1:=MA(BARCORE,5);
MA2:=MA(BARCORE,10);
DRAWTEXT(MA1>MA2,90,'B'),COLORRED;
DRAWTEXT(MA1<MA2,90,'S'),COLORGREEN;
{--------箭头--------}
EMA1:=EMA(CLOSE,10);
EMA3:=EMA(CLOSE,20);
DRAWBMP(EMA1>EMA3,10,'SHANG.BMP');
DRAWBMP(EMA1<EMA3,10,'XIA.BMP');
{--------曲线--------}
RSV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,3,1);
DRAWSL(D>REF(D,1),D,D-REF(D,1),1,1),COLOR00FFFF,LINETHICK2;
DRAWSL(D<REF(D,1),D,D-REF(D,1),1,1),COLOR008000,LINETHICK2;
{--------红旗--------IF(ISSTOCK('IF'),0,1)}
MA3:=MA(BARCORE,10);
MA4:=MA(BARCORE,22);
DRAWBMP(MA3>MA4,50,'HQ.BMP');
SAR1:=SAR_POBO(7,2,10),CIRCLEDOT;
A:30,COLOR000000;
B:70,COLOR000000;
G:=53;
D:=58;
E:=48;
F:=43;
J:=40;
I:=61;
MAH1:=MA(HIGH,30);
MAH:=MAH1;
MAL1:=MA(LOW,30);
MAL:=MAL1;
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
DRAWBMP(C>SAR1 AND SAR1>0 AND C<MAL1,G,'ICON6.BMP');{多弱}
DRAWBMP(C>SAR1 AND C>MAH1 AND SAR1>0,D,'ICON7.BMP');{多强}
DRAWBMP(C<SAR1 AND C>MAH1,E,'ICON13.BMP');{空弱}
DRAWBMP(C<SAR1 AND C<MAL1,F,'ICON12.BMP');{空强}
DRAWBMP(C>=SAR1 AND SAR1>0 AND RANGE(C,MAL1,MAH1),G,'ICON6.BMP');{多弱}
DRAWBMP(C<=SAR1 AND RANGE(C,MAL1,MAH1),E,'ICON13.BMP');{空弱}
{减仓信号}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K1:=SMA(RSV,3,1);
D1:=SMA(K1,3,1);
DRAWICON(CROSS(K1,D1) AND C<SAR1 AND C<MAL AND K1<30,J,3);
DRAWICON(CROSS(D1,K1) AND C>SAR1 AND SAR1>0 AND C>MAH AND K1>70,I,10);
能正常显示了,谢谢老师的付出! 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容