どんな新人の質問でも、フォーラムを乱雑にしないように。プロフェッショナルは、通り過ぎないでください。Nowhere without you - 6. - ページ 1046

 
mario_SC--:

how to moveFileMove() from folder Alpari Limited MT4tester, Filterfiles to Alpari Limited MT4MQL4, FilterFiles ?is it possible at all?

or how do I read the file from Alpari Limited MT4tester ╱╱╱╱ファイルの読み方は?- it doesn't work because it wants to eat from Alpari Limited MT4MQL4Files.

テスターのFILE_COMMON フラグは効かない のでしょうか?
 
AlexeyVik:
テスターでFILE_COMMON フラグが効かない?
それはそうです;)でも、そのファイルがどこに書き込まれるかは説明した方がいい。そうでないと、ファイルを探すのが面倒だと書かれます :)))))
 
AlexeyVik:
テスターでFILE_COMMON フラグが効かない?
は、まったく思いつきませんでした。
 
artmedia70:
それは機能する ;)でも、この後ファイルがどこに行くのか説明してほしい。そうでないと、ファイルを探すのが面倒だと書かれます :)))))
ほら、何も説明しなくていいんだよ。あなたのような方とお話できるのはうれしいです。
 
AlexeyVik:
ほら、何も説明しなくていいんですよ。そういう人と話をするのはいいことだ。
留意点、同意事項
 
SymbolInfoDouble(_Symbol,SYMBOL_TRADE_TICK_VALUE_LOSS)
MT5ではうまくいくですが、MT4では0になって しまうのですが、何か間違った ことをしているのでしょうか?
 
nasdaq:
MT5ではうまくいくですが、 MT4では0になって しまうのですが、何か間違った ことをしているのでしょうか?


これしかない

SymbolInfoDouble(_Symbol,SYMBOL_TRADE_TICK_VALUE)

 
ありがとうございました。
 

こんにちは。

コンパイラから見るとこれは。

void SetParam(String nm, int ag)
{
   this.name = nm;
   this.age = ag;
}
とこれです。
void SetParam(int ag, String adr)
{
   this.address = adr;
   this.age = ag;
}
は異なるシグネチャを持ち、許容されるオーバーロードオプションなのか?
 

こんにちは。

インジケーターは棒グラフを逆に描きます。右側に寄せるにはどうしたらいいですか?

//--- indicator settings
#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 Silver
//--- input parameter
//--- buffers
double ExtBullsBuffer[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
void OnInit(void)
  {
   string short_name;
//--- 1 additional buffer used for counting.
   IndicatorBuffers(2);
   IndicatorDigits(Digits);
//--- indicator line
   SetIndexStyle(0,DRAW_HISTOGRAM);
   SetIndexBuffer(0,ExtBullsBuffer);
//--- name for DataWindow and indicator subwindow label
   short_name="Spred";
   IndicatorShortName(short_name);
   SetIndexLabel(0,short_name);
  }
//+------------------------------------------------------------------+
int limit=0;
int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime &time[],
                const double &open[],
                const double &high[],
                const double &low[],
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])
  {
double Spread=NormalizeDouble((high[0]-low[0])/Point,0);      

limit++;
ExtBullsBuffer[limit]=Spread;
//---
   return(rates_total);
  }
//+----