Psychological Indicator For MT4
Table Of Contents:
- Psychological Indicator For MT4
- Instaliranje riječi Psychological Indicator For MT4
- Parametri Psychological Indicator For MT4
- Puferi Psychological Indicator For MT4
- Glavni dijelovi kodeksa
Psychological Indicator For MT4 je oscilator momenta koji se uvozi s FXAccuCharts platforme. Indikator prati odnos između trenutne cijene zatvaranja i prethodne zatvaranja u razmatranom vremenskom okviru. Zatim se crta kao oscilator u posebnom okviru ispod grafikona cijena. Očitavanja iznad 75 smatraju se prenapućenima, a ona ispod 25 smatraju se pretrošenima. Psihološki pokazatelj u porastu Za MT4 signale koji bikovi dominiraju na tržištu, dok padajuća linija pokazatelja ukazuje na prisutnost medvjeđeg pritiska. Trgovine se mogu pokrenuti kada pokazatelj dosegne gornje / donje krajnje granice, a preokret cijene potvrđuje formacija svijećnjaka.
Instaliranje riječi Psychological Indicator For MT4
Nakon što preuzmete indikator preko gornjeg obrasca, morate raspakirati zip datoteku. Tada morate kopirati datoteku MT4-Psychological.mq4 u mapu MQL4Indicators vaše MT4 instalacije. Nakon toga ponovno pokrenite MT4 i tada ćete indikator moći vidjeti na popisu pokazatelja.
Parametri Psychological Indicator For MT4
Psychological Indicator For MT4 ima 1 parametre za konfiguriranje.
extern int PsychPeriod=25;
Puferi Psychological Indicator For MT4
Psychological Indicator For MT4 osigurava 1 međuspremnike.
SetIndexBuffer(0,PsychBuffer);
Glavni dijelovi kodeksa
int start() { int counted_bars=IndicatorCounted(); if(counted_bars lt 0) return(-1); if(counted_bars gt 0) counted_bars--; int limit=Bars-counted_bars; if(Bars lt PsychPeriod) { Print("not enough bars"); return(0); } if(counted_bars==0) limit-=(1+PsychPeriod+1); // Resize the non-buffer array if necessary if(ArraySize(CountBuf)!=ArraySize(PsychBuffer)) { ArraySetAsSeries(CountBuf,false); ArrayResize(CountBuf,ArraySize(PsychBuffer)); ArraySetAsSeries(CountBuf,true); } for(int ictr=0; ictr lt limit; ictr++) { int Count=0; int endctr=ictr+1+PsychPeriod; for(int jctr=ictr+1; jctr lt endctr; jctr++) { if(Close[jctr] gt Close[jctr+1]) { Count++; } } if(Close[ictr] gt Close[ictr+1]) { Count++; } if(Close[ictr+PsychPeriod] gt Close[ictr+PsychPeriod+1]) { Count--; } double dCount=Count; PsychBuffer[ictr]=(dCount/PsychPeriod) *100.0; } //---- return(0); } //+------------------------------------------------------------------+