[ARQUIVO] Qualquer pergunta de novato, de modo a não desorganizar o fórum. Profissionais, não passem por aqui. Em nenhum lugar sem você - 3. - página 470

 
Armagedon_kresh:
E eu não o tinha funcionando até as 11:00!!! Desculpe, tenho uma pergunta. Ouvi dizer que existem corretoras não confiáveis que não permitem o acesso ao mercado, e acontece que o comerciante negocia em um computador! Como se isso fosse trapaça! Abri uma conta com "N****X", você já ouviu falar???? Quais são as revisões sobre o assunto? É confiável?

Advertência. Os DTs não devem ser discutidos neste fórum.
 
Vinin:

Advertência. Os CDs não são discutidos neste fórum
Em que fórum eles são discutidos?
 
yosuf:
Em que fórum eles são discutidos?

No fórum do CD que você deseja discutir.
 

Há dois indicadores MTF_Stochastic e MTF_ADX. Os dados estocásticos correspondem, mas os dados ADX não. Por favor, informe qual é o erro. Obrigado

#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:

Advertência. Os CDs não devem ser discutidos neste fórum

Desculpe por isso!!! Só não estou no fórum há muito tempo, não sabia o que é possível o que não é!!!
 

Você pode me dizer o que mudar no código para que o sinal seja exibido no mínimo nas quatro últimas velas e não na última? Captura de tela e código anexados.

#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 eu não o tinha funcionando até as 11:00!!! Desculpe, tenho uma pergunta. Ouvi dizer que existem corretoras não confiáveis que não permitem o acesso ao mercado, e acontece que o comerciante negocia em um computador! Como se isso fosse trapaça! Abri uma conta com "N***X", você já ouviu falar???? Quais são as revisões sobre o assunto? É confiável?

nenhuma corretora retira dinheiro para o interbancário
 
Não há corretoras confiáveis (isto pode ser claramente visto a partir de seus regulamentos) - há corretoras que não fazem batota em bagatelas.
 

Boa noite! Feliz Ano Novo para todos! Eu tenho uma conta em uma plataforma chamada FXstart, ela funciona automaticamente de forma oculta. Eu gostaria de baixar mais plataformas, melhor o mesmo CD, abrir uma conta demo. Eles podem normalmente coexistir em um computador? Se você tentar baixar outra plataforma, isso não causará zeros na plataforma existente com robôs comerciais e suas configurações!

Também negociei o mesmo robô em EURUSD, GBPUSD e AUDUSD. O robô se comportou de forma soberba durante os testes! Na realidade funciona com um completo absurdo, o lote cresce inesperadamente, coloca três pedidos um ao lado do outro, por exemplo, o pêndulo sobre o eurodólar, enquanto que deveria haver exatamente um. A distância sobre o preço deve ser definida como 20 pontos, ou 30, ou qualquer outro, enquanto estiver em uma definição não apenas 20, mas 40, ou 60, ou 100 pontos! Como resultado, o saque do depósito em três dias passou de 2200 para 1836!!! Acho que me saí muito bem, a certa altura eu estava a 900 libras!

E que lotes, uau!!! Enfim, eu desliguei este horror... Há mais de 40 negócios com tais lotes. Pode ser devido ao fato de que as variáveis dos robôs, jogados em diferentes pares de moedas, interagem umas com as outras????