merhaba,
renkler bölümüne al için
length:=20;
mult:=20;
lengthKC:=20;
multKC:=1.5;
useTrueRange:=1;
source:=C;
basis:=MOV(source,length,S);
dev:=multKC * STDEV(source,length);
upperBB:=basis+dev;
lowerBB:=basis-dev;
ma:=MOV(source,lengthKC,S);
range:=If(useTrueRange=1,ATR(1),H-L);
rangema:=MOV(range,lengthKC,S);
upperKC:=ma+rangema*multKC;
lowerKC:=ma-rangema*multKC;
sqzOn:=If(lowerBB>lowerKC AND upperBB<upperKC,1,0);
sqzOff:=If(lowerBB<lowerKC AND upperBB>upperKC,1,0);
noSqz:=If(sqzOn=0 AND sqzOff=0,1,0);
x1:=((HHV(H,lengthKC)+LLV(L,lengthKC))/2 + MOV(C,lengthKC,S))/2;
val:=LINEARREG(source - x1,lengthKC);
val>ref(val,-1)
sat için
length:=20;
mult:=20;
lengthKC:=20;
multKC:=1.5;
useTrueRange:=1;
source:=C;
basis:=MOV(source,length,S);
dev:=multKC * STDEV(source,length);
upperBB:=basis+dev;
lowerBB:=basis-dev;
ma:=MOV(source,lengthKC,S);
range:=If(useTrueRange=1,ATR(1),H-L);
rangema:=MOV(range,lengthKC,S);
upperKC:=ma+rangema*multKC;
lowerKC:=ma-rangema*multKC;
sqzOn:=If(lowerBB>lowerKC AND upperBB<upperKC,1,0);
sqzOff:=If(lowerBB<lowerKC AND upperBB>upperKC,1,0);
noSqz:=If(sqzOn=0 AND sqzOff=0,1,0);
x1:=((HHV(H,lengthKC)+LLV(L,lengthKC))/2 + MOV(C,lengthKC,S))/2;
val:=LINEARREG(source - x1,lengthKC);
val<ref(val,-1)
sembol kısmına al için
length:=20;
mult:=20;
lengthKC:=20;
multKC:=1.5;
useTrueRange:=1;
source:=C;
basis:=MOV(source,length,S);
dev:=multKC * STDEV(source,length);
upperBB:=basis+dev;
lowerBB:=basis-dev;
ma:=MOV(source,lengthKC,S);
range:=If(useTrueRange=1,ATR(1),H-L);
rangema:=MOV(range,lengthKC,S);
upperKC:=ma+rangema*multKC;
lowerKC:=ma-rangema*multKC;
sqzOn:=If(lowerBB>lowerKC AND upperBB<upperKC,1,0);
sqzOff:=If(lowerBB<lowerKC AND upperBB>upperKC,1,0);
noSqz:=If(sqzOn=0 AND sqzOff=0,1,0);
x1:=((HHV(H,lengthKC)+LLV(L,lengthKC))/2 + MOV(C,lengthKC,S))/2;
val:=LINEARREG(source - x1,lengthKC);
cross(val,ref(val,-1))
sat için
length:=20;
mult:=20;
lengthKC:=20;
multKC:=1.5;
useTrueRange:=1;
source:=C;
basis:=MOV(source,length,S);
dev:=multKC * STDEV(source,length);
upperBB:=basis+dev;
lowerBB:=basis-dev;
ma:=MOV(source,lengthKC,S);
range:=If(useTrueRange=1,ATR(1),H-L);
rangema:=MOV(range,lengthKC,S);
upperKC:=ma+rangema*multKC;
lowerKC:=ma-rangema*multKC;
sqzOn:=If(lowerBB>lowerKC AND upperBB<upperKC,1,0);
sqzOff:=If(lowerBB<lowerKC AND upperBB>upperKC,1,0);
noSqz:=If(sqzOn=0 AND sqzOff=0,1,0);
x1:=((HHV(H,lengthKC)+LLV(L,lengthKC))/2 + MOV(C,lengthKC,S))/2;
val:=LINEARREG(source - x1,lengthKC);
cross(ref(val,-1),val)
yazıp deneyebilirsiniz,
bilgilerinize