Hallo,
Würde mich wirklich freuen, wenn mir jemand helfen könnte, mein Innenleben aufmerksam zu machen ...
Eingefügter Code/---------------------------------------------- ------------------------------------------ Eingabezeichenfolge __________ 1 __________ = xxxxxxxxxxxxxxxxxxxxx; Eingabezeichenfolge __________ 2 __________ == PFEILCODE =;/ARROW DETAILS Eingabezeichenfolge __________ 3 __________ = xxxxxxxxxxxxxxxxxxxxx; Eingabe int ARROWUP = 217;/PFEIL CODE Eingabe int ARROWDN = 218;/PFEILCODE Eingabefarbe ARROWUPc = clrWhite;/Pfeil nach oben Farbe Eingabefarbe ARROWDNc = clrWhite;/Pfeil Dn Farbe/------ -------------------------------------------------- --------------------------------/--- indior puffers double ArrUpBuffer # 91; # 93 ;; Doppel ArrDnBuffer # 91; # 93 ;;/---/ ------------------------------------------ ------------------------ /| Benutzerdefinierte Initialisierungsfunktion |/ ----------------------------------------------- ------------------- int OnInit () {//--- indoor puffers mapping IndiorBuffers (2); SetIndexBuffer (0, ArrUpBuffer); SetIndexStyle (0, DRAW_ARROW, STYLE_SOLID, 2, ARROWUPc); SetIndexArrow (0, ARROWUP); SetIndexBuffer (1, ArrDnBuffer); SetIndexStyle (1, DRAW_ARROW, STYLE_SOLID, 2, ARROWDNc); SetIndexArrow (1, ARROWDN); Rückkehr (INIT_SUCCEEDED); }/ ---------------------------------------------- -------------------- /| |/ ----------------------------------------------- ------------------- /| Benutzerdefinierte Indior-Iterationsfunktion |/ ----------------------------------------------- ------------------- int OnCalculate (const int rates_total, const int prev_calculated, const datetime Zeit # 91; # 93 ;, const double open # 91; # 93; , const doppelt hoch # 91; # 93 ;, const doppelt niedrig # 91; # 93 ;, const doppelt geschlossen # 91; # 93 ;, const lang tick_volume # 91; # 93 ;, const lang Volumen # 91; # 93; , const int Verbreitung # 91; # 93;) {//--- int i, limit; limit = rates_total-prev_calculated; if (prev_calculatedgt 0) limit = limit 2; für (i = limit-2; igt; = 0; i--) {if (iMA (_Symbol, _Period, 5,0, MODE_LWMA, PREIS_LOW, i 1) lt; iBands (_Symbol, _Period, 20,2.0, 0, PRICE_CLOSE, MODE_LOWER, i 1)) {ArrUpBuffer # 91; i 1 # 93; = iBands (_Symbol, _Period, 20,2.0,0, PRICE_CLOSE, MODE_LOWER, i 1) -35 * pix_y (); } if (iMA (_Symbol, _Period, 5,0, MODE_LWMA, PREIS_HIGH, i 1) gt; iBands (_Symbol, _Period, 20,2.0,0, PRICE_CLOSE, MODE_UPPER, i 1)) {ArrDnBuffer # 91; i 1 # 93; = iBands (_Symbol, _Period, 20,2.0,0, PRICE_CLOSE, MODE_UPPER, i 1) 35 * pix_y ();}}/------------- - Rückkehr (rates_total); }/ ---------------------------------------------- -------------------- /| |/ ----------------------------------------------- ------------------- double pix_y () {return ((ChartGetDouble (0, CHART_PRICE_MAX, 0) -ChartGetDouble (0, CHART_PRICE_MIN, 0))ChartGetInteger (0 , CHART_HEIGHT_IN_PIXELS, 0));}/ ---------------------------------------------- -------------------- /| |/ ----------------------------------------------- -------------------
Dies ist der Teil für KAUF-Alarm
Eingefügter Code if (iMA (_Symbol, _Period, 5,0, MODE_LWMA, PREIS_LOW, i 1) lt; iBands (_Symbol, _Period, 20,2,0,0, PRICE_CLOSE, MODE_LOWER, i 1)) {ArrUpBuffer # 91; i 1 # 93; = iBands (_Symbol, _Period, 20,2.0,0, PRICE_CLOSE, MODE_LOWER, i 1) -35 * pix_y ();}
Und das ist der Teil für SELL-Alarm
Eingefügter Code if (iMA (_Symbol, _Period, 5,0, MODE_LWMA, PRICE_HIGH, i 1) gt; iBands (_Symbol, _Period, 20,2.0,0, PRICE_CLOSE, MODE_UPPER, i 1)) {ArrDnBuffer # 91; i 1 # 93; = iBands (_Symbol, _Period, 20,2.0,0, PRICE_CLOSE, MODE_UPPER, i 1) 35 * pix_y ();}
Vielen Dank!