Squeeze Momentum indikatörü
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);
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);
SQMI
Kıvanç Özbilgiç
https://drive.google.com/drive/folders/1qS6anSEHbWEmIHYYUhH7gT6j1mkzX_Uw