Indikatoren filtern - Seite 9

 

Eine Person hat mich per PM nach der Formel für den RBCI2-Indikator gefragt, also poste ich sie jetzt.

#property indicator_separate_window

#property indicator_buffers 6

#property indicator_color1 Red

#property indicator_color2 Red

#property indicator_color3 Blue

#property indicator_color4 Aqua

#property indicator_color5 Crimson

#property indicator_color6 Gold

//---- input parameters

extern int CountBars = 500;

extern int ExtParam2;

extern int ExtParam3;

extern double reddd;

//---- buffers

double ExtMapBuffer1[];

double ExtMapBuffer2[];

double ExtMapBuffer3[];

double ExtMapBuffer4[];

double ExtMapBuffer5[];

double ExtMapBuffer6[];

//+------------------------------------------------------------------+

//| Custom indicator initialization function |

//+------------------------------------------------------------------+

int init()

{

//---- indicators

string short_name;

IndicatorBuffers(6);

SetIndexStyle(0,DRAW_LINE);

SetIndexBuffer(0,ExtMapBuffer1);

SetIndexEmptyValue(0,0.0);

SetIndexDrawBegin(0,55);

SetIndexStyle(1,DRAW_LINE,STYLE_DOT,1,Orchid);

SetIndexBuffer(1,ExtMapBuffer2);

SetIndexEmptyValue(1,0.0);

SetIndexDrawBegin(1,55);

SetIndexStyle(2,DRAW_LINE);

SetIndexBuffer(2,ExtMapBuffer3);

SetIndexEmptyValue(2,0.0);

SetIndexDrawBegin(2,55);

SetIndexStyle(3,DRAW_LINE);

SetIndexBuffer(3,ExtMapBuffer4);

SetIndexEmptyValue(3,0.0);

SetIndexDrawBegin(3,55);

SetIndexStyle(4,DRAW_LINE);

SetIndexBuffer(4,ExtMapBuffer5);

SetIndexEmptyValue(4,0.0);

SetIndexDrawBegin(4,55);

SetIndexStyle(5,DRAW_LINE);

SetIndexBuffer(5,ExtMapBuffer6);

SetIndexEmptyValue(5,0.0);

SetIndexDrawBegin(5,55);

IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS));

IndicatorShortName("RBCI2");

//----

return(0);

}

//+------------------------------------------------------------------+

//| Custor indicator deinitialization function |

//+------------------------------------------------------------------+

int deinit()

{

//---- TODO: add your code here

//----

return(0);

}

double CrazyChart (int i,int shift)

//function that counts Sum of 55 bars

{

double RBCI2;

RBCI2=

-35.5198140000*Close

-29.3302904200*Close

-18.4253122700*Close

-5.3409716410*Close

+7.0224246110*Close

+16.1743143600*Close

+20.6539163900*Close

+20.3238589400*Close

+16.2679056100*Close

+10.3508317200*Close

+4.5956464710*Close

+0.5816210219*Close

-0.9556878591*Close

-0.2188650350*Close

+1.8617718350*Close

+4.0429772970*Close

+5.2336026320*Close

+4.8503271170*Close

+2.9598818100*Close

+0.1813422994*Close

-2.5916583950*Close

-4.5352277420*Close

-5.1799911240*Close

-4.5414039780*Close

-3.0665332280*Close

-1.4306935910*Close

-0.2740625440*Close

+0.0259294264*Close

-0.5361336393*Close

-1.6274205570*Close

-2.7320093940*Close

-3.3584444990*Close

-3.2210950120*Close

-2.3321664220*Close

-0.9758039283*Close

+0.4132087314*Close

+1.4199522360*Close

+1.7965291580*Close

+1.5408713520*Close

+0.8768248011*Close

+0.1561692145*Close

-0.2796045774*Close

-0.2243863077*Close

+0.3279264464*Close

+1.1886385970*Close

+2.0574048450*Close

+2.6265630350*Close

+2.6969364910*Close

+2.2285276520*Close

+1.3534844570*Close

+0.3088511323*Close

-0.6383119873*Close

-1.2763116980*Close

-1.5134175380*Close

-1.3771978870*Close

-1.6154244060*Close;

return (RBCI2);

}

int start()

{

int limit,counted_bars=IndicatorCounted(),min,i;

if (CountBars>=Bars) CountBars=Bars;

SetIndexDrawBegin(0,Bars-CountBars);

SetIndexDrawBegin(1,Bars-CountBars);

SetIndexDrawBegin(2,Bars-CountBars);

SetIndexDrawBegin(3,Bars-CountBars);

SetIndexDrawBegin(4,Bars-CountBars);

SetIndexDrawBegin(5,Bars-CountBars);

double RBCI2;

double Value1;

int Value2 = 52;

double Value4,Value5,Value6,Value7,Value8,Value9;

// reddd = CrazyChart(2,1); //c hf,jnfkj!!!!!!!!!!!!!!!!!

if (counted_bars<0) return(-1);

//---- last counted bar will be recounted

if (counted_bars>0) counted_bars--;

limit=Bars-counted_bars;

for(i=1;i<=0;i++) ExtMapBuffer1=0.0;

for (i=limit;i>=0;i--) {

// CountBars i+shift+55

for (int shift=0;shift<=Value2-1;shift++) {

Value4 = Value4-CrazyChart(i,shift);

}

Value1 = -CrazyChart(i,0);

Value5 = Value4 / Value2;

Value6 = 0;

ExtMapBuffer1=-Value5+Value1;// "RBCI2");

ExtMapBuffer2=-Value5+Value1; //"Dots")

for (shift=0;shift<=Value2-1;shift++) {

Value6 = Value6 + (-CrazyChart(i,shift)-Value5)*(-CrazyChart(i,shift)-Value5);

}

Value8 = Value6/(Value2-1);

Value9 = MathSqrt(Value8);

ExtMapBuffer3= +Value9;//,"LINE");

ExtMapBuffer4= -1*Value9;//Plot4(-Value9,"LINE");

ExtMapBuffer5=+2*Value9;//,"LINE");

ExtMapBuffer6=-2*Value9;//,"LINE");

Value4=0;

Value6=0;

}

//----

return(0);

}

//+------------------------------------------------------------------+
Dateien:
rbci2.mq4  7 kb
 

Danke, aber ich kann die Geschwindigkeitsanzeigen nicht öffnen. Es gibt eine Fehlermeldung. Können Sie mir bitte helfen?

 

Danke, aber ich kann die Geschwindigkeitsanzeigen nicht öffnen. Es gibt eine Fehlermeldung. Können Sie mir bitte helfen?

Dateien:
 
erdenmensch:
Danke, aber ich kann die Geschwindigkeitsanzeigen nicht öffnen. Es gibt einen Fehler. Können Sie mir bitte helfen?

Um die Indikatoren zu sehen, müssen Sie das jurik-Tool aus diesem Thread https://www.mql5.com/en/forum/173010 installieren.

Es wurde in dem Thread beschrieben, wie man es macht.

 
newdigital:
Sie müssen dieses jurik-Tool aus diesem Thread https://www.mql5.com/en/forum/173010 installieren, um die Indikatoren zu sehen. Es wurde in dem Thread beschrieben, wie man es tut.

Ich kann dieses Tool nicht finden. Seine für MT3 Daten zu MT4 konvertieren?

 
erdenmensch:
Ich kann dieses Tool nicht finden. Seine für MT3 Daten zu MT4 konvertieren?

Es wird in diesem Thread https://www.mql5.com/en/forum/173010 erklärt:

1. Laden Sie die Datei aus diesem Beitrag https://www.mql5.com/en/forum/173010/page5 herunter.

2. Entpacken Sie sie.

3. Legen Sie alle Dateien aus dem Include-Ordner dieser Datei in den Ordner /include des Metatrader-Verzeichnisses:

JJMASeries.mqh

INDICATOR_COUNTED.mqh

PreisSerie.mqh

3c_BB_Osc.mqh

3c_SG_Osc.mqh

und so weiter

4. Legen Sie die Indikatoren aus dem Ordner indicators und aus dem Ordner Pluse in den Ordner /indicators im Verzeichnis des MetaTrader.

5. Kompilieren Sie die Indikatoren.

Der JFatlSpeed-Indikator verwendet zum Beispiel die folgenden Dateien:

- JJMASeries.mqh und PriceSeries.mqh (MetaTrader\experts\include\);

- JFatl.mq4 und Heiken Ashi#.mq4 (MetaTrader\Indikatoren\).

Also, wenn Sie nicht installieren thwe ganze diese Gebühr, wie ich oben beschrieben, so dass Sie nicht sehen, alles.

 

Und es gibt noch einige andere Indikatoren aus diesem Tool, die ebenfalls interessante Filter sein können. Zum Beispiel: JDemarkl und JCCIX. Installieren Sie einfach diese Maut (oder setzen Sie zum Beispiel).

Dateien:
jurik_tool.gif  24 kb
 

MTF-Versionen der Indikatoren für digitale Filter von Simba https://www.mql5.com/en/forum/173574

Dateien:
df.jpg  99 kb
 
 

Fehler?

gelöscht na fig

Grund der Beschwerde: