请老师帮忙修改以下三个指标在博易大师上可用 [博易POBO]
咨询内容:
N1:=21;
N:=5;
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
VAR2:=8,COLORGREEN,LINETHICK0;
小试牛刀: IF(CROSS(VAR1,VAR2),50,0),STICK,COLORRED;
DRAWICON(小试牛刀>0,50,4);
发现庄迹: IF(VAR1<=8,15,0),STICK,COLORCYAN,LINETHICK2;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区: IF((VARO7<10),100,118) ,COLOR00CCFF,LINETHICK1;
CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7;
CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));
CD3:=SMA(SMA(CD2,3,1),3,1);
CD4:=(CD3-SMA(CD1,9,1))-0.5;
CD5:=IF(CD4>0.00,CD4,0.00);
CD6:=REF(CD5,1);
VAR81:=MA(C,9),COLORRED;
空头1:=IF(CD6-CD5,CD6,CD5),LINETHICK3,COLORGREEN;
减仓空仓:CROSS(CD6,CD5),COLORGREEN;
DRAWICON(减仓空仓>0,113,5);
VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2A:=SMA(VAR1A,9,1)+100;
VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4A:=SMA(VAR3A,3,1);
VAR5A:=SMA(VAR4A,3,1)+100;
VAR6A:=VAR5A-VAR2A;
端庄窝:=IF(VAR6A>N1,VAR6A-N1,0),COLORLIRED;
果断出击:IF(CROSS(端庄窝,0.01),100,0),STICK,COLORGREEN,LINETHICK2;
DRAWICON(果断出击>0,100,4),COLORGREEN;
XG:=CROSS(端庄窝,0.01);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
E:=CROSS(83,RSI);
STICKLINE(REF(端庄窝,1)<端庄窝,端庄窝,REF(端庄窝,1),3,0),COLORRED;
STICKLINE(REF(端庄窝,1)>端庄窝,端庄窝,REF(端庄窝,1),3,0),COLOR00FF00;
红持绿空:0,COLORGREEN;
中分线: 20;
VAR1E:=((CLOSE - LLV(LOW,20)) / (HHV(HIGH,20) - LLV(LOW,20))) * 100;
VAR2E:=SMA(SMA(VAR1E,3,1),3,1);
VAR3E:=EMA(VAR2E,5);
GZ:=3*VAR2E-2*VAR3E;
趋势J:EMA(GZ,3),COLORGREEN,LINETHICK3;
PARTLINE(趋势J>REF(趋势J,1),趋势J),COLORRED,LINETHICK3;
VAR37:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR38:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR39:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
第二个
A:=LLV(LOW,36);
B:=HHV(HIGH,30);
F:85;
L:95;
D:=(EMA(((CLOSE-A)/(B-A))*(4),4))*(25);
G:D,COLORRED,LINETHICK2;
G1:=BACKSET(D<REF(D,5),3);
PARTLINE(G1,D),COLOR33FF33,LINETHICK2;
H:=(((D-LLV(D,21))/(HHV(D,21)-LLV(D,21)))*(4))*(25);
M:IF(CROSS(H,20) AND (G<40),70,0);
Z:8;
S:IF((COUNT((G>REF(G,1)),1)=1) AND(REF(G,1)<REF(REF(G,1),1)) AND(G<Z),50,0);
买:=MA(CLOSE,1);
卖:=(LOW+HIGH+CLOSE)/3;
奇:= MA(卖,5);
准:= HHV(奇,10);
短卖:IF(HHV((买<准),10),50,20),COLORGREEN;
STICKLINE(短卖=20,50,20,1,0),COLORGREEN;
TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW-
REF(CLOSE,1)))),5);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=(SUM(IF(((HD > 0) AND (HD >LD)),HD,0),5) );
DMM:=SUM(IF(((LD > 0) AND (LD >HD)),LD,0),5);
神偷线:=(((DMP ) * 100) / TR);
辅助线:=((DMM * 100) / TR);
XXX:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));
奇准:= MA(卖,5);
买卖:=LLV(奇准,10);
底部:IF(((XXX > 88) AND (神偷线 <5.8)),95,50),LINETHICK1,COLORYELLOW;
STICKLINE(底部=95,50,95,1.5,0),COLORYELLOW;
急买:IF(LLV((买<买卖),5),75,50),COLORRED,LINETHICK1;
STICKLINE(急买=75,50,75,1.5,0),COLORRED;
短买:IF(LLV((买<买卖),10),85,50),COLORRED,LINETHICK1;
STICKLINE(短买=85,50,85,1.5,0),COLORRED;
第三个
N:1,8,1;
WR:=ABS(100-100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5)));
IF(WR>0,WR,0),COLORYELLOW;
涨:CROSS(WR,50),POINTDOT,COLOR0000FF;
强:CROSS(WR,80),POINTDOT,COLORYELLOW;
回:CROSS(80,WR) AND WR>50,POINTDOT,COLORWHITE;
险:=COUNT(WR>60,7)>=5 AND WR>90;
跑:=COUNT(WR>60,7)>=5 AND CROSS(80,WR);
慌:WR<=10 AND WR>0,POINTDOT,COLOR00FF00;
绝:WR=0,POINTDOT,COLORFF6600;
买:REF(WR,1)<10 AND C>REF(C,1) AND C>O,POINTDOT,COLORWHITE;
攻:WR>=90 AND WR<100 OR (H=HHV(H,5) AND H/REF(C,1)>=1.05),POINTDOT,COLORFF00FF;
停:WR=100,POINTDOT,COLORRED;
优选:IF((涨 AND COUNT(WR<=10,6) AND REF(WR,1)>10)*100,100,50),COLORFF6666,LINETHICK2;
FLSZ:=V*N>REF(V,1) AND C>REF(C,1) AND C>O;
助涨:(涨 OR 强) AND FLSZ,POINTDOT,COLORFF00FF;
DRAWICON(优选=100,50,1);
{以下设置副图显示方式}
STICKLINE(WR>=50,50,WR,1,0),COLORWHITE;
STICKLINE(WR>=90 AND WR<100,100,95,4,0),COLORWHITE;
STICKLINE(WR=100,100,95,4,0),COLORFF00FF;
STICKLINE(WR<=10 AND WR>0,0,5,4,0),COLORWHITE;
STICKLINE(WR=0,0,5,4,0),COLORFF6600;
DRAWTEXT(涨,60,'涨'),COLOR0000FF;
DRAWTEXT(助涨,25,'▲'),COLORFF00FF;
DRAWTEXT(助涨,20,'‖'),COLORFF00FF;
DRAWTEXT(强,70,'强'),COLORYELLOW;
DRAWTEXT(回,50,'回'),COLORWHITE;
DRAWTEXT(险,100,'●'),COLOR0000FF;
DRAWTEXT(跑,100,'跑'),COLORFFFF00;
DRAWTEXT(慌,20,'慌'),COLOR00FF00;
DRAWTEXT(绝,20,'绝'),COLORWHITE;
DRAWTEXT(买,50,'买'),COLORWHITE;
DRAWTEXT(攻,50,'攻'),COLORFF00FF;
DRAWTEXT(停,85,'停'),COLOR0000FF;
50,COLORFFFF00,LINETHICK2;
10,COLOR00FF00;
90,COLOR00FF00;
N:=5;
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
VAR2:=8,COLORGREEN,LINETHICK0;
小试牛刀: IF(CROSS(VAR1,VAR2),50,0),STICK,COLORRED;
DRAWICON(小试牛刀>0,50,4);
发现庄迹: IF(VAR1<=8,15,0),STICK,COLORCYAN,LINETHICK2;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区: IF((VARO7<10),100,118) ,COLOR00CCFF,LINETHICK1;
CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7;
CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));
CD3:=SMA(SMA(CD2,3,1),3,1);
CD4:=(CD3-SMA(CD1,9,1))-0.5;
CD5:=IF(CD4>0.00,CD4,0.00);
CD6:=REF(CD5,1);
VAR81:=MA(C,9),COLORRED;
空头1:=IF(CD6-CD5,CD6,CD5),LINETHICK3,COLORGREEN;
减仓空仓:CROSS(CD6,CD5),COLORGREEN;
DRAWICON(减仓空仓>0,113,5);
VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2A:=SMA(VAR1A,9,1)+100;
VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4A:=SMA(VAR3A,3,1);
VAR5A:=SMA(VAR4A,3,1)+100;
VAR6A:=VAR5A-VAR2A;
端庄窝:=IF(VAR6A>N1,VAR6A-N1,0),COLORRED;
果断出击:IF(CROSS(端庄窝,0.01),100,0),STICK,COLORGREEN,LINETHICK2;
DRAWICON(果断出击>0,100,4),COLORGREEN;
XG:=CROSS(端庄窝,0.01);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
E:=CROSS(83,RSI);
STICKLINE(REF(端庄窝,1)<端庄窝,端庄窝,REF(端庄窝,1),3,0),COLORRED;
STICKLINE(REF(端庄窝,1)>端庄窝,端庄窝,REF(端庄窝,1),3,0),COLOR00FF00;
红持绿空:0,COLORGREEN;
中分线: 20;
VAR1E:=((CLOSE - LLV(LOW,20)) / (HHV(HIGH,20) - LLV(LOW,20))) * 100;
VAR2E:=SMA(SMA(VAR1E,3,1),3,1);
VAR3E:=EMA(VAR2E,5);
GZ:=3*VAR2E-2*VAR3E;
趋势J:EMA(GZ,3),COLORGREEN,LINETHICK3;
PARTLINE(趋势J>REF(趋势J,1),趋势J),COLORRED,LINETHICK3;
VAR37:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR38:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
A:=LLV(LOW,36);
B:=HHV(HIGH,30);
F1:85;
L1:95;
D:=(EMA(((CLOSE-A)/(B-A))*(4),4))*(25);
G:D,COLORRED,LINETHICK2;
G1:=BACKSET(D<REF(D,5),3);
PARTLINE(G1,D),COLOR33FF33,LINETHICK2;
H1:=(((D-LLV(D,21))/(HHV(D,21)-LLV(D,21)))*(4))*(25);
M:IF(CROSS(H1,20)AND(G<40),70,0);
Z:8;
S:IF((COUNT((G>REF(G,1)),1)=1)AND(REF(G,1)<REF(REF(G,1),1))AND(G<Z),50,0);
买:=MA(CLOSE,1);
卖:=(LOW+HIGH+CLOSE)/3;
奇:=MA(卖,5);
准:=HHV(奇,10);
短卖:IF(HHV((买<准),10),50,20),COLORGREEN;
STICKLINE(短卖=20,50,20,1,0),COLORGREEN;
TR:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-
REF(CLOSE,1)))),5);
HD:=(HIGH-REF(HIGH,1));
LD:=(REF(LOW,1)-LOW);
DMP:=(SUM(IF(((HD>0)AND(HD>LD)),HD,0),5));
DMM:=SUM(IF(((LD>0)AND(LD>HD)),LD,0),5);
神偷线:=(((DMP)*100)/TR);
辅助线:=((DMM*100)/TR);
XXX:=(MA(((ABS((辅助线-神偷线))/(辅助线+神偷线))*100),3));
奇准:=MA(卖,5);
买卖:=LLV(奇准,10);
底部:IF(((XXX>88)AND(神偷线<5.8)),95,50),LINETHICK1,COLORYELLOW;
STICKLINE(底部=95,50,95,1.5,0),COLORYELLOW;
急买:IF(LLV((买<买卖),5),75,50),COLORRED,LINETHICK1;
STICKLINE(急买=75,50,75,1.5,0),COLORRED;
短买:IF(LLV((买<买卖),10),85,50),COLORRED,LINETHICK1; 来源 程序化久久网
请老师帮忙修改以下三个指标在博易大师上可用
第一个N1:=21;
N:=5;
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
VAR2:=8,COLORGREEN,LINETHICK0;
小试牛刀: IF(CROSS(VAR1,VAR2),50,0),STICK,COLORRED;
DRAWICON(小试牛刀>0,50,4);
发现庄迹: IF(VAR1<=8,15,0),STICK,COLORCYAN,LINETHICK2;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区: IF((VARO7<10),100,118) ,COLOR00CCFF,LINETHICK1;
CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7;
CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));
CD3:=SMA(SMA(CD2,3,1),3,1);
CD4:=(CD3-SMA(CD1,9,1))-0.5;
CD5:=IF(CD4>0.00,CD4,0.00);
CD6:=REF(CD5,1);
VAR81:=MA(C,9),COLORRED;
空头1:=IF(CD6-CD5,CD6,CD5),LINETHICK3,COLORGREEN;
减仓空仓:CROSS(CD6,CD5),COLORGREEN;
DRAWICON(减仓空仓>0,113,5);
VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2A:=SMA(VAR1A,9,1)+100;
VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4A:=SMA(VAR3A,3,1);
VAR5A:=SMA(VAR4A,3,1)+100;
VAR6A:=VAR5A-VAR2A;
端庄窝:=IF(VAR6A>N1,VAR6A-N1,0),COLORLIRED;
果断出击:IF(CROSS(端庄窝,0.01),100,0),STICK,COLORGREEN,LINETHICK2;
DRAWICON(果断出击>0,100,4),COLORGREEN;
XG:=CROSS(端庄窝,0.01);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
E:=CROSS(83,RSI);
STICKLINE(REF(端庄窝,1)<端庄窝,端庄窝,REF(端庄窝,1),3,0),COLORRED;
STICKLINE(REF(端庄窝,1)>端庄窝,端庄窝,REF(端庄窝,1),3,0),COLOR00FF00;
红持绿空:0,COLORGREEN;
中分线: 20;
VAR1E:=((CLOSE - LLV(LOW,20)) / (HHV(HIGH,20) - LLV(LOW,20))) * 100;
VAR2E:=SMA(SMA(VAR1E,3,1),3,1);
VAR3E:=EMA(VAR2E,5);
GZ:=3*VAR2E-2*VAR3E;
趋势J:EMA(GZ,3),COLORGREEN,LINETHICK3;
PARTLINE(趋势J>REF(趋势J,1),趋势J),COLORRED,LINETHICK3;
VAR37:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR38:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR39:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
第二个
A:=LLV(LOW,36);
B:=HHV(HIGH,30);
F:85;
L:95;
D:=(EMA(((CLOSE-A)/(B-A))*(4),4))*(25);
G:D,COLORRED,LINETHICK2;
G1:=BACKSET(D<REF(D,5),3);
PARTLINE(G1,D),COLOR33FF33,LINETHICK2;
H:=(((D-LLV(D,21))/(HHV(D,21)-LLV(D,21)))*(4))*(25);
M:IF(CROSS(H,20) AND (G<40),70,0);
Z:8;
S:IF((COUNT((G>REF(G,1)),1)=1) AND(REF(G,1)<REF(REF(G,1),1)) AND(G<Z),50,0);
买:=MA(CLOSE,1);
卖:=(LOW+HIGH+CLOSE)/3;
奇:= MA(卖,5);
准:= HHV(奇,10);
短卖:IF(HHV((买<准),10),50,20),COLORGREEN;
STICKLINE(短卖=20,50,20,1,0),COLORGREEN;
TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW-
REF(CLOSE,1)))),5);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=(SUM(IF(((HD > 0) AND (HD >LD)),HD,0),5) );
DMM:=SUM(IF(((LD > 0) AND (LD >HD)),LD,0),5);
神偷线:=(((DMP ) * 100) / TR);
辅助线:=((DMM * 100) / TR);
XXX:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));
奇准:= MA(卖,5);
买卖:=LLV(奇准,10);
底部:IF(((XXX > 88) AND (神偷线 <5.8)),95,50),LINETHICK1,COLORYELLOW;
STICKLINE(底部=95,50,95,1.5,0),COLORYELLOW;
急买:IF(LLV((买<买卖),5),75,50),COLORRED,LINETHICK1;
STICKLINE(急买=75,50,75,1.5,0),COLORRED;
短买:IF(LLV((买<买卖),10),85,50),COLORRED,LINETHICK1;
STICKLINE(短买=85,50,85,1.5,0),COLORRED;
第三个
N:1,8,1;
WR:=ABS(100-100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5)));
IF(WR>0,WR,0),COLORYELLOW;
涨:CROSS(WR,50),POINTDOT,COLOR0000FF;
强:CROSS(WR,80),POINTDOT,COLORYELLOW;
回:CROSS(80,WR) AND WR>50,POINTDOT,COLORWHITE;
险:=COUNT(WR>60,7)>=5 AND WR>90;
跑:=COUNT(WR>60,7)>=5 AND CROSS(80,WR);
慌:WR<=10 AND WR>0,POINTDOT,COLOR00FF00;
绝:WR=0,POINTDOT,COLORFF6600;
买:REF(WR,1)<10 AND C>REF(C,1) AND C>O,POINTDOT,COLORWHITE;
攻:WR>=90 AND WR<100 OR (H=HHV(H,5) AND H/REF(C,1)>=1.05),POINTDOT,COLORFF00FF;
停:WR=100,POINTDOT,COLORRED;
优选:IF((涨 AND COUNT(WR<=10,6) AND REF(WR,1)>10)*100,100,50),COLORFF6666,LINETHICK2;
FLSZ:=V*N>REF(V,1) AND C>REF(C,1) AND C>O;
助涨:(涨 OR 强) AND FLSZ,POINTDOT,COLORFF00FF;
DRAWICON(优选=100,50,1);
{以下设置副图显示方式}
STICKLINE(WR>=50,50,WR,1,0),COLORWHITE;
STICKLINE(WR>=90 AND WR<100,100,95,4,0),COLORWHITE;
STICKLINE(WR=100,100,95,4,0),COLORFF00FF;
STICKLINE(WR<=10 AND WR>0,0,5,4,0),COLORWHITE;
STICKLINE(WR=0,0,5,4,0),COLORFF6600;
DRAWTEXT(涨,60,'涨'),COLOR0000FF;
DRAWTEXT(助涨,25,'▲'),COLORFF00FF;
DRAWTEXT(助涨,20,'‖'),COLORFF00FF;
DRAWTEXT(强,70,'强'),COLORYELLOW;
DRAWTEXT(回,50,'回'),COLORWHITE;
DRAWTEXT(险,100,'●'),COLOR0000FF;
DRAWTEXT(跑,100,'跑'),COLORFFFF00;
DRAWTEXT(慌,20,'慌'),COLOR00FF00;
DRAWTEXT(绝,20,'绝'),COLORWHITE;
DRAWTEXT(买,50,'买'),COLORWHITE;
DRAWTEXT(攻,50,'攻'),COLORFF00FF;
DRAWTEXT(停,85,'停'),COLOR0000FF;
50,COLORFFFF00,LINETHICK2;
10,COLOR00FF00;
90,COLOR00FF00;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: N1:=21;N:=5;
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
VAR2:=8,COLORGREEN,LINETHICK0;
小试牛刀: IF(CROSS(VAR1,VAR2),50,0),STICK,COLORRED;
DRAWICON(小试牛刀>0,50,4);
发现庄迹: IF(VAR1<=8,15,0),STICK,COLORCYAN,LINETHICK2;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区: IF((VARO7<10),100,118) ,COLOR00CCFF,LINETHICK1;
CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7;
CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));
CD3:=SMA(SMA(CD2,3,1),3,1);
CD4:=(CD3-SMA(CD1,9,1))-0.5;
CD5:=IF(CD4>0.00,CD4,0.00);
CD6:=REF(CD5,1);
VAR81:=MA(C,9),COLORRED;
空头1:=IF(CD6-CD5,CD6,CD5),LINETHICK3,COLORGREEN;
减仓空仓:CROSS(CD6,CD5),COLORGREEN;
DRAWICON(减仓空仓>0,113,5);
VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2A:=SMA(VAR1A,9,1)+100;
VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4A:=SMA(VAR3A,3,1);
VAR5A:=SMA(VAR4A,3,1)+100;
VAR6A:=VAR5A-VAR2A;
端庄窝:=IF(VAR6A>N1,VAR6A-N1,0),COLORRED;
果断出击:IF(CROSS(端庄窝,0.01),100,0),STICK,COLORGREEN,LINETHICK2;
DRAWICON(果断出击>0,100,4),COLORGREEN;
XG:=CROSS(端庄窝,0.01);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
E:=CROSS(83,RSI);
STICKLINE(REF(端庄窝,1)<端庄窝,端庄窝,REF(端庄窝,1),3,0),COLORRED;
STICKLINE(REF(端庄窝,1)>端庄窝,端庄窝,REF(端庄窝,1),3,0),COLOR00FF00;
红持绿空:0,COLORGREEN;
中分线: 20;
VAR1E:=((CLOSE - LLV(LOW,20)) / (HHV(HIGH,20) - LLV(LOW,20))) * 100;
VAR2E:=SMA(SMA(VAR1E,3,1),3,1);
VAR3E:=EMA(VAR2E,5);
GZ:=3*VAR2E-2*VAR3E;
趋势J:EMA(GZ,3),COLORGREEN,LINETHICK3;
PARTLINE(趋势J>REF(趋势J,1),趋势J),COLORRED,LINETHICK3;
VAR37:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR38:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
A:=LLV(LOW,36);
B:=HHV(HIGH,30);
F1:85;
L1:95;
D:=(EMA(((CLOSE-A)/(B-A))*(4),4))*(25);
G:D,COLORRED,LINETHICK2;
G1:=BACKSET(D<REF(D,5),3);
PARTLINE(G1,D),COLOR33FF33,LINETHICK2;
H1:=(((D-LLV(D,21))/(HHV(D,21)-LLV(D,21)))*(4))*(25);
M:IF(CROSS(H1,20)AND(G<40),70,0);
Z:8;
S:IF((COUNT((G>REF(G,1)),1)=1)AND(REF(G,1)<REF(REF(G,1),1))AND(G<Z),50,0);
买:=MA(CLOSE,1);
卖:=(LOW+HIGH+CLOSE)/3;
奇:=MA(卖,5);
准:=HHV(奇,10);
短卖:IF(HHV((买<准),10),50,20),COLORGREEN;
STICKLINE(短卖=20,50,20,1,0),COLORGREEN;
TR:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-
REF(CLOSE,1)))),5);
HD:=(HIGH-REF(HIGH,1));
LD:=(REF(LOW,1)-LOW);
DMP:=(SUM(IF(((HD>0)AND(HD>LD)),HD,0),5));
DMM:=SUM(IF(((LD>0)AND(LD>HD)),LD,0),5);
神偷线:=(((DMP)*100)/TR);
辅助线:=((DMM*100)/TR);
XXX:=(MA(((ABS((辅助线-神偷线))/(辅助线+神偷线))*100),3));
奇准:=MA(卖,5);
买卖:=LLV(奇准,10);
底部:IF(((XXX>88)AND(神偷线<5.8)),95,50),LINETHICK1,COLORYELLOW;
STICKLINE(底部=95,50,95,1.5,0),COLORYELLOW;
急买:IF(LLV((买<买卖),5),75,50),COLORRED,LINETHICK1;
STICKLINE(急买=75,50,75,1.5,0),COLORRED;
短买:IF(LLV((买<买卖),10),85,50),COLORRED,LINETHICK1; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容