以下是准确率高的股票三线合一技术指标源码和使用说明
准确率高的股票三线合一技术指标源码:
VARQ1:=ma(CLOSE,1);
VARQ2:=MA(CLOSE,3);
VARQ3:MA(VARQ2,1);
VARQ4:MA(VARQ2,3);
stICKLINE(VARQ3>VARQ4,VARQ3,VARQ4,2,0),LINETHICK1,COLORFF00FF;
STICKLINE(VARQ3<VARQ4,VARQ3,VARQ4,2,0),LINETHICK1,COLOR00FF00;
Q:=IF(CLOSE>=OPEN,(CLOSE-OPEN)/4,0);
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,8)*1+C,8);
BUY1:=crOSS(买线,卖线);
SEL:=CROSS(卖线,买线);DRAWTEXT(BUY1,LOW*(0.97),’★财’),COLORYELLOW,LINETHICK5;
DRAWTEXT(SEL,HIGH*1.04,’★抛’),COLORBLUE;
STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,3),COLORRED;
STICKLINE(买线<卖线,CLOSE,OPEN,3,3),COLORCYAN;
STICKLINE(买线<卖线,LOW,HIGH,0.1,0),COLORCYAN;
STICKLINE(CROSS(买线,卖线)ORCROSS(卖线,买线),OPEN,CLOSE,2.5,0),COLORWHITE;
支撑线:(1-9/100)*MA(C,10),COLORYELLOW,LINETHICK2;
AAA:=(3*C+H+L+O)/6;
VAR1:(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36,LINETHICK2,COLORRED;
IF((VAR1<=REF(VAR1,1)),VAR1,DRAWNULL),COLORGREEN,LINETHICK3;
IF((VAR1>=REF(VAR1,1)),VAR1,DRAWNULL),COLORRED,LINETHICK3;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,2,1);
D:=SMA(K,2,1);
J:=3*K-2*D;
买入:=CROSS(J,0)AND(H>=支撑线);
DRAWICON(买入,LOW*0.95,25);
三线合一:=EMA(CLOSE,30);
技术指标:=MAX(DYNAINFO(3),DYNAINFO(5));
股票:=MIN(DYNAINFO(3),DYNAINFO(6));
sewww1:=技术指标-股票;
sewww2:股票+sewww1*7/8,COLOR00DD00;
sewww3:股票+sewww1*0.5/8,COLOR00DD00;
sewww4:CLOSE,COLORWHITE,LINETHICK1;
STICKLINE(CROSS(sewww3,sewww4),sewww3,sewww2,1,0),COLORYELLOW;
DRAWTEXT(LONGCROSS(sewww3,sewww4,2),sewww3*1.001,”),COLORYELLOW;{吸}
DRAWTEXT(LONGCROSS(sewww4,sewww2,2),sewww4,”),COLORRED;{抛};
sewww5:=IF(PERIOD=5,120,240);
QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2;
ccffe1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;
ccffe2:=(EMA(VOL,10)+EMA(VOL,32))/2;
ccffe3:=(ccffe1+ccffe2)/2;
ccffe4:=EMA(ccffe3,30);
ccffe5:=EMA(ccffe3,60);
ccffe6:=EVERY(ccffe1>REF(ccffe1,1),5)ANDEVERY(ccffe4>REF(ccffe4,1),5);
DRAWBAND(ccffe1,RGB(150,30,30),EMA(ccffe1,60),RGB(0,110,30));
sxxd1:ccffe1,COLORYELLOW;
sxxd2:EMA(ccffe1,sewww5),POINTDOT,COLORWHITE;
sxxd3:IF(CROSS(ccffe1,EMA(ccffe1,60))ANDccffe6,1,0),NODRAW,COLORRED;
sxxd4:IF(CROSS(ccffe3,ccffe5)ANDccffe6,1,0),NODRAW,COLORWHITE;
sxxd5:IF(ccffe3>ccffe5ANDccffe6,1,0),NODRAW,COLORYELLOW;
sxxd6:IF(ccffe1>sxxd2,1,DRAWNULL),NODRAW,COLORRED;
sxxd7:IF(ccffe1<sxxd2,1,DRAWNULL),NODRAW,COLORGREEN;
STICKLINE(QZS>ccffe1,QZS,ccffe1,1,0),COLORFF00FF;
STICKLINE(sxxd5=1,QZS,ccffe1,1,0),COLORYELLOW;
DRAWICON(sxxd3=1,EMA(ccffe1,60),13);
DRAWTEXT(sxxd4=1,EMA(ccffe1,60),”),COLORWHITE;
角度系数:=10;
粘合系数:=0.02;
六十日线角度:=-5;
六十线系数:=1;
偏离度:=15;
MA20:=MA(CLOSE,20);
MA60:=MA(CLOSE,60);
A1:=MA(CLOSE,3);
A2:=MA(CLOSE,20);
A3:=MA(CLOSE,22);
A4:=MA(CLOSE,25);
A5:=MA(CLOSE,60);
二十日角度:=ATAN((MA20/REF(MA20,1)-1)*100)*57.3;
六十度角度:=ATAN((MA60/REF(MA60,1)-1)*100)*57.3;
粘合度:=IF(C<10,0.01,C*粘合系数/10);
三均线:=(A2+A3+A4)/3;
上三线:=三均线+粘合度;
下三线:=三均线-粘合度;
A2<=上三线ANDA2>=下三线AND
A3<=上三线ANDA3>=下三线AND
A4<=上三线ANDA4>=下三线AND
三均线+六十线系数>=A5
AND六十度角度>六十日线角度
AND二十日角度>角度系数
AND(C/三均线-1)*100<偏离度;
A2<=上三线ANDA2>=下三线AND
A3<=上三线ANDA3>=下三线AND
A4<=上三线ANDA4>=下三线AND
三均线+六十线系数>=A5
AND六十度角度>六十日线角度
AND二十日角度>角度系数
AND(C/三均线-1)*100>=偏离度;
准确率高的股票三线合一技术指标截图
评论(0)