[存档]任何菜鸟问题,为了不使论坛变得杂乱无章。专业人士,不要路过。没有你就无处可去 - 3. - 页 470

 
Armagedon_kresh:
而我在11点之前还没有工作!!!。对不起,我有个问题。我听说有一些不可靠的经纪公司不让你进入市场,原来交易员是在电脑上进行交易的!"。仿佛它变成了作弊!我在 "N****X "开了一个账户,你听说过吗?对它的评论是什么?它是否可靠?

警告。在这个论坛上不能讨论DTs。
 
Vinin:

警告。本论坛不讨论DC的问题
在哪个论坛上讨论这些问题?
 
yosuf:
在哪个论坛上讨论这些问题?

在你想讨论的特区的论坛上。
 

有两个指标MTF_Stochastic和MTF_ADX。随机数据匹配,但ADX数据不匹配。请告知什么是错误。谢谢你

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

警告。本论坛不得讨论DC的问题

很抱歉!!!。 只是在论坛上呆的时间不长,不知道什么是可能的什么是不可能的!!。
 

你能告诉我如何修改代码,使信号显示在最后四根蜡烛的最小值而不是最后一根吗?附上屏幕截图和代码。

#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:
而我在11点之前还没有工作!!!。对不起,我有个问题。我听说有一些不可靠的经纪公司不让你进入市场,原来交易员是在电脑上进行交易的!"。仿佛它变成了作弊!我在 "N****X "开了一个账户,你听说过吗?对它的评论是什么?它是否可靠?

没有经纪公司向银行间取钱
 
没有可靠的经纪公司(这可以从他们的规定中清楚地看到)--有的经纪公司不在琐事上作弊。
 

晚上好!祝大家新年快乐 我在一个叫FXstart的平台上有一个账户,它以隐藏形式自动运行。我想下载更多的平台,最好是同一个DC,开一个模拟账户。它们通常能在一台电脑上共存吗?如果你试图下载另一个平台,岂不是会在现有的平台上造成交易机器人及其设置的零点!?

此外,我还在欧元兑美元、英镑兑美元和澳元兑美元上交易了同一个机器人。在测试中,机器人表现得非常好! 在现实中,它的运作完全是无稽之谈,手数出乎意料地增长,把三个订单放在一起,例如,摆在欧元美元上,而应该正好有一个。超过价格的距离应设置为20点,或30点,或任何,而它在一个设置不仅是20点,而是40点,或60点,或100点!结果,三天内的存款缩水从2200美元到1836美元!!。我想我下得很好,有一次我跌了900英镑!"。

还有什么地段,哇!!!? 总之,我关掉了这个恐怖的...有40多笔这样的交易。 会不会是由于机器人的变量,扔在不同的货币对上,相互影响的事实????。