Merhaba,
Aşağıdaki şekilde mevcuttur bir inceleyiniz.
Squeeze Momentum Indicator V2 [KIVANÇ @fr3762]
BBfactor:=Input("BBfactor",0,20,1.5);
KCfactor:=Input("KCfactor",0,20,1.5);
BBperiod:=Input("BBperiod",1,500,20);
KCperiod:=Input("KCperiod",1,500,20);
signalperiod:=Input("signalperiod",1,500,5);
bb:=bband(c,BBperiod,s,BBfactor);
bbdw:=bbandbot(c,BBperiod,s,BBfactor);
bbup:=bbandtop(c,BBperiod,s,BBfactor);
KCma:=mov(c,KCperiod,s);
range:=H-L;
rangema:=mov(range,KCperiod,s);
upperKC:=KCma+rangema*KCfactor;
lowerKC:=KCma-rangema*KCfactor;
SQMI:=LINEARREG(C-((HHV(H,KCperiod)+LLV(L,KCperiod))/2+KCma)/2,KCperiod);
signal:=mov(SQMI,signalperiod,s);
SQMI;
signal;
0
V2 AL KOŞULU:
BBfactor:=1.5;
KCfactor:=1.5;
BBperiod:=20;
KCperiod:=20;
signalperiod:=5;
bb:=bband(c,BBperiod,s,BBfactor);
bbdw:=bbandbot(c,BBperiod,s,BBfactor);
bbup:=bbandtop(c,BBperiod,s,BBfactor);
KCma:=mov(c,KCperiod,s);
range:=H-L;
rangema:=mov(range,KCperiod,s);
upperKC:=KCma+rangema*KCfactor;
lowerKC:=KCma-rangema*KCfactor;
SQMI:=LINEARREG(C-((HHV(H,KCperiod)+LLV(L,KCperiod))/2+KCma)/2,KCperiod);
signal:=mov(SQMI,signalperiod,s);
cross(SQMI,signal)
V2 SAT KOŞULU:
BBfactor:=1.5;
KCfactor:=1.5;
BBperiod:=20;
KCperiod:=20;
signalperiod:=5;
bb:=bband(c,BBperiod,s,BBfactor);
bbdw:=bbandbot(c,BBperiod,s,BBfactor);
bbup:=bbandtop(c,BBperiod,s,BBfactor);
KCma:=mov(c,KCperiod,s);
range:=H-L;
rangema:=mov(range,KCperiod,s);
upperKC:=KCma+rangema*KCfactor;
lowerKC:=KCma-rangema*KCfactor;
SQMI:=LINEARREG(C-((HHV(H,KCperiod)+LLV(L,KCperiod))/2+KCma)/2,KCperiod);
signal:=mov(SQMI,signalperiod,s);
cross(signal,SQMI)
Bilgilerinize.