Zitat Zitat von ;
Wo muss ich diesen Code eingeben?
Denken Sie daran, dass Ihr Code korrekt funktioniert, wenn Sie davon ausgehen, dass das aktuelle Diagramm M1 ist. Eingefügter Code int shift = 0; für (i = limit-2; igt; = 0; i--) {shift = iBarShift (_Symbol, PERIOD_M15, Zeit # 91; i # 93; if (PFEIL iMA (_Symbol, PERIOD_M15,50,0, MODE_EMA, PRICE_CLOSE, shift) gt; iMA (_Symbol, PERIOD_M15,100,0, MODE_EMA, PRICE_CLOSE, shift) iMA (_Symbol, PERIOD_M15,100,0, MODE_EMA, PRICE_CLOSE , shift) gt; iMA (_Symbol, PERIOD_M15,200,0, MODE_EMA, PRICE_CLOSE, shift) iMACD (_Symbol, PERIOD_M15,12,26,1, PRICE_CLOSE, MODE_MAIN, shift) gt; 0.0 iStochastic (_Symbol, PERIOD_M15,3, 1,3, MODE_EMA, (int) sto_price, MODE_MAIN, shift) lt; = sto_dn_level iStochastic (_Symbol, PERIOD_M15,3,1,3, MODE_EMA, (int) sto_price, MODE_SIGNAL, shift) lt; = sto_dn_level iStochastic (_Symbol, PERIOD_M1,3,1,3, MODE_EMA, (int) sto_price, MODE_MAIN, i) lt; = sto_dn_level iStochastic (_Symbol, PERIOD_M1,3,1,3, MODE_EMA, (int) sto_price, MODE_SIGNAL, i) lt; = sto_dn_level ) {ArrUpBuffer # 91; i # 93; = iLow (_Symbol, PERIOD_M1, i) -10 * pix_y ();} if (PFEIL iMA (_Symbol, PERIOD_M15,50,0, MODE_EMA, PRICE_CLOSE, shift) lt; iMA ( _Symbol, PERIOD_M15,100,0, MODE_EMA, PRICE_CLOSE, shift) iMA (_Symbol, P ERIOD_M15,100,0, MODE_EMA, PRICE_CLOSE, shift) lt; iMA (_Symbol, PERIOD_M15,200,0, MODE_EMA, PRICE_CLOSE, shift) iMACD (_Symbol, PERIOD_M15,12,26,1, PRICE_CLOSE, MODE_MAIN, shift) lt; 0.0 iStochastic (_Symbol, PERIOD_M15,3,1,3, MODE_EMA, (int) sto_price, MODE_MAIN, shift) gt; = sto_up_level iStochastic (_Symbol, PERIOD_M15,3,1,3, MODE_EMA, (int) sto_price, MODE_SIGNAL, shift ) gt; = sto_up_level iStochastic (_Symbol, PERIOD_M1,3,1,3, MODE_EMA, (int) sto_price, MODE_MAIN, i) gt; = sto_up_level iStochastic (_Symbol, PERIOD_M1,3,1,3, MODE_EMA, (int) sto_price , MODE_SIGNAL, i) gt; = sto_up_level) {ArrDnBuffer # 91; i # 93; = iHigh (_Symbol, PERIOD_M1, i) 10 * pix_y ();}}