龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2018-10-15 16:36

[转载]突破出击线 腾龙生命

突破出击线
[code]
a1:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
a2:=SMA(a1,13,1);
a3:=SMA(a2,13,1);
出击:3*a2-2*a3,coloryellow ,linethick2;
阻力:3*a3-2*a2,colorblue,linethick2 ;
卖线: HHV(MA(阻力,3),13),colorRED,LINETHICK2;
买线:llV(MA(出击,3),13),color00ff00,LINETHICK2;
VAR32:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR33:=SMA(SMA(VAR32,3,1),3,1)/28.57;
VAR34:=EMA(VAR33,5);
VAR35:=3*VAR33-2*VAR34;
绝买:CROSS(VAR35,VAR33) AND VAR33<2.1 and c>o,COLORred;
DRAWTEXT(绝买,0.9,'绝买'),COLORred;

Var1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
Var2:=SMA(SMA(Var1,3,1),3,1);
Va3:=EMA(Var2,5);
无敌:=3*Var2-2*Va3;
CROSS(无敌,Var2) AND 无敌<21;
[/code]


腾龙生命

[code]
C增比:=C/REF(C,1);
C均增比:=(C增比+REF(C增比,1)+REF(C增比,2)+REF(C增比,3)+REF(C增比,4))/5;
YC:=C*C均增比;
强弱:=COUNT(YC>REF(YC,1),10)/COUNT(YC<REF(YC,1),10);
A:=EMA(EMA(EMA(EMA(强弱,2),2),2),2);
B:=EMA(EMA(EMA(EMA(强弱,5),5),5),5);
快线:EMA(EMA(EMA(EMA(YC,2),2),2),2),COLORRED,PRECIS2,LAYER1;
慢线:EMA(EMA(EMA(EMA(YC,5),5),5),5),COLORGREEN,PRECIS2,LAYER1;
均价:IF(V>0,SUM(V*C,0)/SUM(V,0),REF(SUM(V*C,0)/SUM(V,0),1)),COLORWHITE,PRECIS2,LAYER3;
上界:(均价+DYNAINFO(5))/2,COLORYELLOW,PRECIS2,LAYER3;
下界:(均价+DYNAINFO(6))/2,COLORCYAN,PRECIS2,LAYER3;
标准1:=COUNT(慢线<下界,5)=5 AND CROSS(A,B) AND 慢线<REF(慢线,1);
标准2:=COUNT(慢线<下界,10)=10 AND CROSS(A,B) AND 慢线<REF(慢线,1);
低位:IF(INDEXADV>INDEXDEC,标准1,标准2),COLORYELLOW,PRECIS0,LINETHICK0;
线幅1:=ABS((上界-慢线)/慢线)*100;
上涨幅:=ABS((上界-REF(上界,1))/REF(上界,1))*100;
线幅2:=ABS((均价-慢线)/慢线)*100;
均涨幅:=ABS((均价-REF(均价,1))/REF(均价,1))*100;
线幅3:=ABS((下界-慢线)/慢线)*100;
下涨幅:=ABS((下界-REF(下界,1))/REF(下界,1))*100;
慢线幅:=ABS((慢线-REF(慢线,1))/REF(慢线,1))*100;
上差:=ABS(均价-上界);
下差:=ABS(均价-下界);
偏下:=COUNT(上差>2*下差,10)=10;
偏上:=COUNT(上差*2<下差,10)=10;
下横:=(COUNT(线幅2<0.25,15)=15 OR COUNT(线幅3<0.25,15)=15) AND (COUNT(均涨幅<0.01,15)=15 OR COUNT(下涨幅<0.01,15)=15) AND COUNT(慢线幅<0.015,10)=10;
上横:=(COUNT(线幅1<0.25,15)=15 OR COUNT(线幅2<0.25,15)=15) AND (COUNT(上涨幅<0.01,15)=15 OR COUNT(均涨幅<0.01,15)=15) AND COUNT(慢线幅<0.015,10)=10;
上突:偏下 AND 下横,COLORRED,PRECIS0,LINETHICK0;
VERTLINE(低位,2),COLORYELLOW,LAYER1;
STICKLINE(上突,下界,均价,0,0),COLORRED;
FILLRGN(快线,慢线,快线>慢线,RGB(155,50,50)),PRECIS2,LAYER2;
FILLRGN(快线,慢线,快线<慢线,RGB(0,100,50)),PRECIS2,LAYER2;
[/code]


[attach]4551[/attach]

页: [1]