[ARCHIVIO] Qualsiasi domanda da principiante, per non ingombrare il forum. Professionisti, non passate oltre. Da nessuna parte senza di te - 3. - pagina 470

 
Armagedon_kresh:
E non l'ho fatto funzionare per le 11:00!!! Scusate, ho una domanda. Ho sentito che ci sono società di brokeraggio inaffidabili che non ti permettono di accedere al mercato, e si scopre che il trader fa trading su un computer! Come se risultasse un imbroglio! Ho aperto un conto con "N****X", ne avete sentito parlare? Quali sono le recensioni su di esso? È affidabile?

Attenzione. I DT non devono essere discussi su questo forum.
 
Vinin:

Attenzione. I DC non sono discussi su questo forum
Su quale forum si discute?
 
yosuf:
Su quale forum si discute?

Sul forum del DC che volete discutere.
 

Ci sono due indicatori MTF_Stochastic e MTF_ADX. I dati stocastici corrispondono, ma i dati ADX no. Si prega di consigliare qual è l'errore. Grazie

#property indicator_separate_window
#property indicator_buffers 3
#property indicator_color1 Black
#property indicator_color2 SteelBlue
#property indicator_color3 Crimson

extern int TimeFrame=60;
extern int period = 2;

double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
   SetIndexStyle(0,DRAW_LINE);

   IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS)+1);
   SetIndexBuffer(0,ExtMapBuffer1); 
   SetIndexBuffer(1,ExtMapBuffer2);
   SetIndexBuffer(2,ExtMapBuffer3);
   switch(TimeFrame)
  {
   case 1 : string TimeFrameStr="Period_M1"; break;
   case 5 : TimeFrameStr="Period_M5"; break;
   case 15 : TimeFrameStr="Period_M15"; break;
   case 30 : TimeFrameStr="Period_M30"; break;
   case 60 : TimeFrameStr="Period_H1"; break;
   case 240 : TimeFrameStr="Period_H4"; break;
   case 1440 : TimeFrameStr="Period_D1"; break;
   case 10080 : TimeFrameStr="Period_W1"; break;
   case 43200 : TimeFrameStr="Period_MN1"; break;
   default : TimeFrameStr="Current Timeframe";
  }
 IndicatorShortName("MTF_ADX("+period+") ("+TimeFrameStr+")");
 
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   datetime TimeArray[];
   int    i,limit,y=0,counted_bars=IndicatorCounted();
 
// Plot defined time frame on to current time frame
   ArrayCopySeries(TimeArray,MODE_TIME,Symbol(),TimeFrame); 
   
   limit=Bars-counted_bars;
   for(i=0,y=0;i<limit;i++)
   {
   if (Time[i]<TimeArray[y]) y++;

/***********************************************************   
   Add your main indicator loop below.  You can reference an existing
      indicator with its iName  or iCustom.
   Rule 1:  Add extern inputs above for all neccesary values   
   Rule 2:  Use 'TimeFrame' for the indicator time frame
   Rule 3:  Use 'y' for your indicator's shift value
 **********************************************************/  
   ExtMapBuffer1[i]=iADX(NULL, 0, period, PRICE_CLOSE, MODE_MAIN, y);
   ExtMapBuffer2[i]=iADX(NULL, 0, period, PRICE_CLOSE, MODE_PLUSDI, y);
   ExtMapBuffer3[i]=iADX(NULL, 0, period, PRICE_CLOSE, MODE_MINUSDI, y);
   }  
   return(0);
  }
//+------------------------------------------------------------------+
#property indicator_separate_window
#property indicator_buffers 2
#property indicator_color1 SteelBlue
#property indicator_color2 Crimson

extern int TimeFrame=60;
extern int kperiod = 1;
extern int dperiod = 2;
extern int slowing = 1;
extern int method  = 0;

double ExtMapBuffer1[];
double ExtMapBuffer2[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
   SetIndexStyle(0,DRAW_LINE);

   IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS)+1);
   SetIndexBuffer(0,ExtMapBuffer1); 
   SetIndexBuffer(1,ExtMapBuffer2);
   switch(TimeFrame)
  {
   case 1 : string TimeFrameStr="Period_M1"; break;
   case 5 : TimeFrameStr="Period_M5"; break;
   case 15 : TimeFrameStr="Period_M15"; break;
   case 30 : TimeFrameStr="Period_M30"; break;
   case 60 : TimeFrameStr="Period_H1"; break;
   case 240 : TimeFrameStr="Period_H4"; break;
   case 1440 : TimeFrameStr="Period_D1"; break;
   case 10080 : TimeFrameStr="Period_W1"; break;
   case 43200 : TimeFrameStr="Period_MN1"; break;
   default : TimeFrameStr="Current Timeframe";
  }
 IndicatorShortName("MTF_Stochastic("+kperiod+","+dperiod+","+slowing+") ("+TimeFrameStr+")");
 
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   datetime TimeArray[];
   int    i,limit,y=0,counted_bars=IndicatorCounted();
 
// Plot defined time frame on to current time frame
   ArrayCopySeries(TimeArray,MODE_TIME,Symbol(),TimeFrame); 
   
   limit=Bars-counted_bars;
   for(i=0,y=0;i<limit;i++)
   {
   if (Time[i]<TimeArray[y]) y++;

/***********************************************************   
   Add your main indicator loop below.  You can reference an existing
      indicator with its iName  or iCustom.
   Rule 1:  Add extern inputs above for all neccesary values   
   Rule 2:  Use 'TimeFrame' for the indicator time frame
   Rule 3:  Use 'y' for your indicator's shift value
 **********************************************************/  
 
   ExtMapBuffer1[i]=iStochastic(NULL,TimeFrame,kperiod,dperiod,slowing,method,0,MODE_MAIN,y);
   ExtMapBuffer2[i]=iStochastic(NULL,TimeFrame,kperiod,dperiod,slowing,method,0,MODE_SIGNAL,y);
   }  
   return(0);
  }
//+------------------------------------------------------------------+
 
iADX(NULL, 0, 
 
Vinin:

Attenzione. I DC non devono essere discussi su questo forum

Scusa per questo!!! Solo che non sono stato sul forum a lungo, non sapevo cosa è possibile cosa non lo è!!!
 

Potete dirmi cosa cambiare nel codice in modo che il segnale venga visualizzato al minimo delle ultime quattro candele e non all'ultima? Screenshot e codice allegati.

#property indicator_chart_window
#property indicator_buffers 5
#property indicator_color1 Crimson
#property indicator_color2 Crimson
#property indicator_color3 Crimson
#property indicator_color4 Crimson
#property indicator_color5 Crimson

extern int    Target1    = 20;
extern int    Target2    = 30;
extern int    TakeProfit = 40;
extern int    StopLoss   = 40;
extern bool   IsTime     = false;
extern string TimeStart  = "05:00";
extern string TimeEnd    = "17:00";

double SellBuffer[];
double SellTP1Buffer[];
double SellTP2Buffer[];
double SellTP3Buffer[];
double SellSLBuffer[];

int init()
{
    SetIndexBuffer(0, SellBuffer);
    SetIndexBuffer(1, SellTP1Buffer);
    SetIndexBuffer(2, SellTP2Buffer);
    SetIndexBuffer(3, SellTP3Buffer);
    SetIndexBuffer(4, SellSLBuffer);
    SetIndexStyle(0, DRAW_ARROW);
    SetIndexStyle(1, DRAW_ARROW);
    SetIndexStyle(2, DRAW_ARROW);
    SetIndexStyle(3, DRAW_ARROW);
    SetIndexStyle(4, DRAW_ARROW);
    SetIndexArrow(0, 159);
    SetIndexArrow(1, 178);
    SetIndexArrow(2, 178);
    SetIndexArrow(3, 178);
    SetIndexArrow(4, 251);
    SetIndexLabel(0, "Sell");
    SetIndexLabel(1, "Sell Target1");
    SetIndexLabel(2, "Sell Target2");
    SetIndexLabel(3, "Sell TP");
    SetIndexLabel(4, "Sell SL");
    return(0);
}

int start()
{
    int limit;
    int counted_bars = IndicatorCounted();
    if (counted_bars > 0)
        counted_bars--;
    limit = Bars - counted_bars;
    for (int i = 0; i < limit; i++)
    {
        double main1=iCustom(NULL,0,"MTF_Stochastic",240,1,2,1,0,0,i+1);
        double sig1=iCustom(NULL,0,"MTF_Stochastic",240,1,2,1,0,1,i+1);
        double main2=iCustom(NULL,0,"MTF_Stochastic",240,1,2,1,0,0,i+2);
        double sig2=iCustom(NULL,0,"MTF_Stochastic",240,1,2,1,0,1,i+2);
        double main3=iCustom(NULL,0,"MTF_Stochastic",240,1,2,1,0,0,i+3);
        double sig3=iCustom(NULL,0,"MTF_Stochastic",240,1,2,1,0,1,i+3);
        double main4=iCustom(NULL,0,"MTF_Stochastic",240,1,2,1,0,0,i+4);
        double sig4=iCustom(NULL,0,"MTF_Stochastic",240,1,2,1,0,1,i+4);
        double main5=iCustom(NULL,0,"MTF_Stochastic",240,1,2,1,0,0,i+5);
        double sig5=iCustom(NULL,0,"MTF_Stochastic",240,1,2,1,0,1,i+5);
        string   str = TimeDay(Time[i + 1]) + "." + TimeMonth(Time[i + 1]) + "." + TimeYear(Time[i + 1]) + " ";
        datetime t1  = StrToTime(str + TimeStart + ":00");
        datetime t2  = StrToTime(str + TimeEnd + ":00");
        if (!IsTime || (IsTime && Time[i + 1] >= t1 && Time[i + 1] < t2))
        
        {
            if (main1 == main2 && sig1 == sig2 && 
                main2 == main3 && sig2 == sig3 &&
                main3 == main4 && sig3 == sig4 &&
                main1 < sig1 && main2 < sig2 && main3 < sig3 && main4 < sig4 &&
                main5 > sig5)
            {
                SellBuffer[i + 1]    = Low[i + 1] - 1 * Point;
                SellTP1Buffer[i + 1] = Low[i + 1] - (Target1 + 1) * Point;
                SellTP2Buffer[i + 1] = Low[i + 1] - (Target2 + 1) * Point;
                SellTP3Buffer[i + 1] = Low[i + 1] - (TakeProfit + 1) * Point;
                SellSLBuffer[i + 1]  = Low[i + 1] + (StopLoss - 1) * Point;
            }
        
        
        }
    }
    return(0);
}
 
Armagedon_kresh:
E non l'ho fatto funzionare per le 11:00!!! Scusate, ho una domanda. Ho sentito che ci sono società di brokeraggio inaffidabili che non ti permettono di accedere al mercato, e si scopre che il trader fa trading su un computer! Come se risultasse un imbroglio! Ho aperto un conto con "N***X", ne avete sentito parlare? Quali sono le recensioni su di esso? È affidabile?

nessuna casa di intermediazione ritira denaro all'interbancario
 
Non ci sono società di brokeraggio affidabili (questo può essere visto chiaramente dai loro regolamenti) - ci sono società di brokeraggio che non barano sulle inezie.
 

Buonasera, buon anno a tutti! Ho un conto su una piattaforma chiamata FXstart, che funziona automaticamente in forma nascosta. Vorrei scaricare più piattaforme, meglio lo stesso DC, aprire un conto demo. Possono coesistere normalmente su un solo computer? Se provate a scaricare un'altra piattaforma, non causerà degli zeri in quella esistente con i robot di trading e le loro impostazioni!

Inoltre, ho scambiato lo stesso robot su EURUSD, GBPUSD e AUDUSD. Il robot si è comportato superbamente durante i test! In realtà funziona con una completa assurdità, il lotto cresce inaspettatamente, mette tre ordini uno accanto all'altro, per esempio, il pendolo sull'eurodollaro, mentre dovrebbe essercene esattamente uno. La distanza sul prezzo dovrebbe essere impostata come 20 punti, o 30, o qualsiasi, mentre è ad una impostazione non solo 20, ma 40, o 60, o 100 punti! Di conseguenza, il prelievo del deposito in tre giorni è passato da 2200 a 1836 !!! Penso di essermela cavata abbastanza bene, a un certo punto ero sotto di 900 sterline!

E che lotti, wow!!! Comunque, ho spento questo orrore... Ci sono più di 40 trade con tali lotti. Può essere dovuto al fatto che le variabili dei robot, lanciati su diverse coppie di valute, interagiscono tra loro????