|
飞弧原码:
p=13
BIAS1:=ma(sum(vol,3),p);
JJ:=(BIAS1+ref(BIAS1,1)+ref(BIAS1,2)+ref(BIAS1,3))/4;
A:=EMA(JJ,10);
B:=REF(A,1);
{EMA(A,30),colorred;}
持多:STICKLINE(A>B,A,B,5,0),COLORred;
持空:STICKLINE(A<B,A,B,5,0),COLORcyan ;
down1LV(A,250);
up2:HHV(A,250),colorred;
Vara3:=up2-down1;
H050:Vara3*0.5+down1;
{FILLRGN( up2, up2*1.05,up2>ref(up2,1) ,RGB(250,0,0),up2<ref(up2,1),RGB(0,255,0));}
STICKLINE( down1>ref(down1,1),0 ,down1 ,30 ,1 ),colorred;
STICKLINE( down1<ref(down1,1),0 ,down1 ,30 ,1 ),coloryellow;
MID :MA(A,26),coloryellow;
UPR1:=MID + 2*STD(A,26);
DWN1:=MID - 2*STD(A,26);
UPPER:STICKLINE(UPR1>ref(UPR1,1) ,UPR1 ,ref(UPR1,1) ,2 ,1 ),colormagenta;
LOWER:STICKLINE(DWN1>ref(DWN1,1) ,DWN1 ,ref(DWN1,1) ,2 , 1),colormagenta;
STICKLINE(UPR1<ref(UPR1,1) ,UPR1 ,ref(UPR1,1) ,2 ,1 ),colorgreen;
STICKLINE(DWN1<ref(DWN1,1) ,DWN1 ,ref(DWN1,1) ,2 , 1),colorgreen;
分析家原码
p=13;
BIAS1:=ma(sum(vol,3),p);
JJ:=(BIAS1+ref(BIAS1,1)+ref(BIAS1,2)+ref(BIAS1,3))/4;
A:=EMA(JJ,10);
B:=REF(A,1);
{EMA(A,30),colorred;}
持多:STICKLINE(A>B,A,B,5,0),COLORred;
持空:STICKLINE(A<B,A,B,5,0),COLORcyan ;
down1LV(A,250);
up2:HHV(A,250),colorred;
Vara3:=up2-down1;
H050:Vara3*0.5+down1;
FILLRGN( up2, up2*1.05,up2>ref(up2,1) ,RGB(250,0,0),up2<ref(up2,1),RGB(0,255,0));
STICKLINE( down1>ref(down1,1),0 ,down1 ,30 ,1 ),colorred;
STICKLINE( down1<ref(down1,1),0 ,down1 ,30 ,1 ),coloryellow;
MID :MA(A,26),coloryellow;
UPR1:=MID + 2*STD(A,26);
DWN1:=MID - 2*STD(A,26);
UPPER:STICKLINE(UPR1>ref(UPR1,1) ,UPR1 ,ref(UPR1,1) ,2 ,1 ),colormagenta;
LOWER:STICKLINE(DWN1>ref(DWN1,1) ,DWN1 ,ref(DWN1,1) ,2 , 1),colormagenta;
STICKLINE(UPR1<ref(UPR1,1) ,UPR1 ,ref(UPR1,1) ,2 ,1 ),colorgreen;
STICKLINE(DWN1<ref(DWN1,1) ,DWN1 ,ref(DWN1,1) ,2 , 1),colorgreen;
大智慧原码
P=13
BIAS1:=ma(sum(vol,3),p);
JJ:=(BIAS1+ref(BIAS1,1)+ref(BIAS1,2)+ref(BIAS1,3))/4;
A:=EMA(JJ,10);
B:=REF(A,1);
{EMA(A,30),colorred;}
持多:STICKLINE(A>B,A,B,5,0),COLORred;
持空:STICKLINE(A<B,A,B,5,0), ;
down1LV(A,250);
up2:HHV(A,250),colorred;
Vara3:=up2-down1;
H050:Vara3*0.5+down1;
{FILLRGN( up2, up2*1.05,up2>ref(up2,1) ,RGB(250,0,0),up2<ref(up2,1),RGB(0,255,0));}
STICKLINE( down1>ref(down1,1),0 ,down1 ,30 ,1 ),colorred;
STICKLINE( down1<ref(down1,1),0 ,down1 ,30 ,1 ),coloryellow;
MID :MA(A,26),coloryellow;
UPR1:=MID + 2*STD(A,26);
DWN1:=MID - 2*STD(A,26);
UPPER:STICKLINE(UPR1>ref(UPR1,1) ,UPR1 ,ref(UPR1,1) ,2 ,1 ),;
LOWER:STICKLINE(DWN1>ref(DWN1,1) ,DWN1 ,ref(DWN1,1) ,2 , 1),;
STICKLINE(UPR1<ref(UPR1,1) ,UPR1 ,ref(UPR1,1) ,2 ,1 ),colorgreen;
STICKLINE(DWN1<ref(DWN1,1) ,DWN1 ,ref(DWN1,1) ,2 , 1),colorgreen;
|
|