Daily Range Projections Full Indicator For MT5
Table Of Contents:
- Daily Range Projections Full Indicator For MT5
- Installere Daily Range Projections Full Indicator For MT5
- Parametere for Daily Range Projections Full Indicator For MT5
- Buffere av Daily Range Projections Full Indicator For MT5
- Hoveddeler av koden
Den Daily Range Projections Full Indicator For MT5 analyserer den daglige prisbevegelsen for handelsinstrumentet og finner kritiske handelspunkter. Støtte- og motstandsnivået er plottet i prisoversikten basert på de tidligere prisbevegelsene i markedene. Ved hjelp av denne indikatoren kan du også finne det potensielle gevinstmålet og stop-loss-nivåene for hver handel. Forsøk å lære deg prishandlingsmetoden siden dette verktøyet kan hjelpe deg å finne den kritiske handelssonen der du kan oppdage svært pålitelige prisaksjonssignaler. Og når du utfører handelen ved hjelp av dette verktøyet, må du sørge for å redusere risikoen i stor grad.
Installere Daily Range Projections Full Indicator For MT5
Etter at du har lastet ned indikatoren via skjemaet over, må du pakke ut zip-filen. Deretter må du kopiere filen dailyrangeprojections_full.mq5 til mappen MQL5Indicators for din MT5 installasjon. Etter det kan du starte MT5 på nytt, så vil du kunne se indikatoren i listen over indikatorer.
Parametere for Daily Range Projections Full Indicator For MT5
Daily Range Projections Full Indicator For MT5 har 3 parametere som skal konfigureres.
input int Symbol_MAX = 119; // High price label for tomorrow input int Symbol_MID = 167; // Average price label for tomorrow input int Symbol_MIN = 119; // Low price label for tomorrow
Buffere av Daily Range Projections Full Indicator For MT5
Daily Range Projections Full Indicator For MT5 inneholder 3 buffere.
SetIndexBuffer(0,ExtMaxBuffer,INDICATOR_DATA); SetIndexBuffer(1,ExtMidBuffer,INDICATOR_DATA); SetIndexBuffer(2,ExtMinBuffer,INDICATOR_DATA);
Hoveddeler av koden
int OnCalculate(const int rates_total, // number of bars in history at the current tick const int prev_calculated,// number of bars calculated at previous call const datetime &time[], const double &open[], const double& high[], // price array of maximums of price for the indicator calculation const double& low[], // price array of minimums of price for the indicator calculation const double &close[], const long &tick_volume[], const long &volume[], const int &spread[]) { //---- if(_Period gt =PERIOD_D1 || rates_total lt 1) return(RESET); //---- declarations of local variables int limit,bar; //---- calculation of the limit starting index for the bars recalculation loop if(prev_calculated gt rates_total || prev_calculated lt =0)// checking for the first start of the indicator calculation limit=rates_total-1; // starting index for calculation of all bars else limit=rates_total-prev_calculated; // starting index for calculation of new bars //---- indexing elements in arrays as timeseries ArraySetAsSeries(time,true); //---- main indicator calculation loop for(bar=limit; bar gt =0 && !IsStopped(); bar--) { //---- declarations of local variables double X=0.0; MqlRates rates[2]; // static array and reverse indexing of the elements (the current bar is the first one!) //---- copy newly appeared data in the rates array if(CopyRates(Symbol(),PERIOD_D1,time[bar],2,rates) lt =0) return(RESET); if(rates[1].close lt rates[1].open) X=(rates[0].high+rates[0].low+rates[0].close+rates[0].low )/2.0; if(rates[1].close gt rates[1].open) X=(rates[0].high+rates[0].low+rates[0].close+rates[0].high )/2.0; if(rates[1].close==rates[1].open) X=(rates[0].high+rates[0].low+rates[0].close+rates[0].close)/2.0; ExtMaxBuffer[bar] = NormalizeDouble(X-rates[0].low, _Digits); ExtMinBuffer[bar] = NormalizeDouble(X-rates[0].high,_Digits); ExtMidBuffer[bar] = NormalizeDouble((ExtMaxBuffer[bar]+ExtMinBuffer[bar])/2.0,_Digits); } //---- return(rates_total); } //+------------------------------------------------------------------+