[アーカイブ!】どんなルーキーの質問でも、フォーラムを散らかさないように。プロフェッショナルの皆さん、通り過ぎないでください。あなたなしではどこにも行けない - 2. - ページ 290 1...283284285286287288289290291292293294295296297...537 新しいコメント [Deleted] 2011.03.30 14:20 #2891 artmedia70: ここは、自分の注文の帳尻合わせのようなものがないと、やっていけないと思います。 注文の配列を独自に作成し、必要なバーチャルストップデータを全てそこに格納します。 この点について、もう少し詳しく教えてください。 どこかに実装されているのでしょうか? 検索しても何も出てきません(( Artyom Trishkin 2011.03.30 14:39 #2892 Centuriy: 詳しく教えてください。 どこかに実装されているのでしょうか? 検索しても何も出てきません(;一_一)。 Expert Advisorの独立した機能として、または独立したExpert Advisorとして実装することができます。 カスタムEAの機能として実装していますが、世の中、やる気さえあれば何でも変えられるんです...。 削除済み 2011.03.30 14:50 #2893 Centuriy: この点について、もう少し詳しく教えてください。 この機能はどこかで実装されているのでしょうか? これを見てください、そこにはいくつかの選択肢があります。 http://www.fx4u.ru/rinki-forex-commodities-cfd-futures-f14/yazik-programmirovaniya-mql4-opisanie-mts-skrip-f16/virtualniy-treyling-stop-ot-1-punkta-t12781.html サードパーティーのリンクで申し訳ありません tmt0086 2011.03.30 15:35 #2894 みなさん、こんにちは!バッファ番号1(Buffer1[])の表示を消すにはどうしたらいいでしょうか? #property indicator_separate_window #property indicator_buffers 2 #property indicator_color1 Red #property indicator_width1 2 #property indicator_style1 0 #property indicator_color2 Red #property indicator_width2 2 #property indicator_style2 0 double Buffer1[]; double Buffer2[]; int init(){ SetIndexBuffer(0,Buffer1); SetIndexStyle(0,DRAW_LINE); SetIndexBuffer(1,Buffer2); SetIndexStyle(1,DRAW_LINE); return(0); } int start(){ for(int i=0;i<Bars;i++){ Buffer1[i]=iClose("EURUSD",0,i)-1; Buffer2[i]=(Buffer1[i]+Buffer1[i+1]+Buffer1[i+2])/3; } return(0); } [Archive!] Any rookie question, [警告は閉鎖されました!】フォーラムを乱雑にしないために、どんな初心者の質問でも。プロフェッショナルは、通り過ぎないでください。あなたなしでは、どこにも行けない。 トレンド指標 [Deleted] 2011.03.30 15:41 #2895 Figar0: これを見てください、そこにはいくつかの選択肢があります。 一人の人間として、本当にありがとうございました --- 2011.03.30 15:41 #2896 tmt0086: 皆さんこんにちは、バッファ番号1(Buffer1[])を表示から消すにはどうしたらいいでしょうか? 一足早い SetIndexStyle(0, DRAW_NONE)を設定します。 tmt0086 2011.03.30 15:48 #2897 sergeev: 早く SetIndexStyle(0, DRAW_NONE)を設定します。 しかし、高速でない場合は、干渉するため(( それからの境界が高く、通常の作業に干渉するとします。チャートからのバッファが消えても、このバッファからの境界が残っていることが唯一の救いでした。 Artyom Trishkin 2011.03.30 15:55 #2898 tmt0086: みなさん、こんにちは!バッファ番号1(Buffer1[])の表示を消すにはどうしたらいいでしょうか? #property indicator_separate_window #property indicator_buffers 2 #property indicator_color1 Red #property indicator_width1 2 #property indicator_style1 0 #property indicator_color2 Red #property indicator_width2 2 #property indicator_style2 0 double Buffer1[]; double Buffer2[]; int init(){ SetIndexBuffer(0,Buffer1); SetIndexStyle(0,DRAW_LINE); SetIndexBuffer(1,Buffer2); SetIndexStyle(1,DRAW_LINE); return(0); } int start(){ for(int i=0;i<Bars;i++){ Buffer1[i]=iClose("EURUSD",0,i)-1; Buffer2[i]=(Buffer1[i]+Buffer1[i+1]+Buffer1[i+2])/3; } return(0); } こんな風に試してみてください。 ______________________________________ #property indicator_buffers1 バッファを入れ替え、削除 SetIndexBuffer(1,Buffer2)を設定。 SetIndexStyle(1,DRAW_LINE)を設定します。 ______________________________________ 正直なところ、テストはしていませんが、うまくいくはずです。 あるいは、何も入れ替えなくても、不要なバッファの設定パラメータを削除して、2個を1個に 置き換えるだけでいいかもしれません tmt0086 2011.03.30 16:02 #2899 artmedia70: こんな風に試してみてください。 ______________________________________ #property indicator_buffers1 バッファを入れ替え、削除 SetIndexBuffer(1,Buffer2)を設定。 SetIndexStyle(1,DRAW_LINE)を設定します。 ______________________________________ 正直なところ、私はテストしていませんが、うまくいくはずです #property indicator_separate_window #property indicator_buffers 1 #property indicator_color1 Red #property indicator_width1 2 #property indicator_style1 0 double Buffer1[]; double Buffer2[]; int init(){ SetIndexBuffer(0,Buffer2); SetIndexStyle(0,DRAW_LINE); return(0); } int start(){ for(int i=0;i<Bars;i++){ Buffer1[i]=iClose("EURUSD",0,i)-1; Buffer2[i]=(Buffer1[i]+Buffer1[i+1]+Buffer1[i+2])/3; } return(0); } だろう? --- 2011.03.30 16:08 #2900 このように#property indicator_separate_window #property indicator_buffers 1 #property indicator_color1 Red #property indicator_width1 2 #property indicator_style1 0 double Buffer1[], Buffer2[]; int init() { IndicatorBuffers(2); SetIndexBuffer(0,Buffer2); SetIndexStyle(0,DRAW_LINE); SetIndexBuffer(1,Buffer1); return(0); } int start() { for(int i=0;i<Bars;i++) { Buffer1[i]=iClose("EURUSD",0,i)-1; Buffer2[i]=(Buffer1[i]+Buffer1[i+1]+Buffer1[i+2])/3; } return(0); } バッファーは使う必要がありますね。 1...283284285286287288289290291292293294295296297...537 新しいコメント 取引の機会を逃しています。 無料取引アプリ 8千を超えるシグナルをコピー 金融ニュースで金融マーケットを探索 新規登録 ログイン スペースを含まないラテン文字 このメールにパスワードが送信されます エラーが発生しました Googleでログイン WebサイトポリシーおよびMQL5.COM利用規約に同意します。 新規登録 MQL5.com WebサイトへのログインにCookieの使用を許可します。 ログインするには、ブラウザで必要な設定を有効にしてください。 ログイン/パスワードをお忘れですか? Googleでログイン
ここは、自分の注文の帳尻合わせのようなものがないと、やっていけないと思います。
注文の配列を独自に作成し、必要なバーチャルストップデータを全てそこに格納します。
この点について、もう少し詳しく教えてください。
どこかに実装されているのでしょうか? 検索しても何も出てきません((
詳しく教えてください。
どこかに実装されているのでしょうか? 検索しても何も出てきません(;一_一)。
Expert Advisorの独立した機能として、または独立したExpert Advisorとして実装することができます。
カスタムEAの機能として実装していますが、世の中、やる気さえあれば何でも変えられるんです...。
この点について、もう少し詳しく教えてください。
この機能はどこかで実装されているのでしょうか?
これを見てください、そこにはいくつかの選択肢があります。
http://www.fx4u.ru/rinki-forex-commodities-cfd-futures-f14/yazik-programmirovaniya-mql4-opisanie-mts-skrip-f16/virtualniy-treyling-stop-ot-1-punkta-t12781.html
サードパーティーのリンクで申し訳ありません
みなさん、こんにちは!バッファ番号1(Buffer1[])の表示を消すにはどうしたらいいでしょうか?
#property indicator_separate_window
#property indicator_buffers 2
#property indicator_color1 Red
#property indicator_width1 2
#property indicator_style1 0
#property indicator_color2 Red
#property indicator_width2 2
#property indicator_style2 0
double Buffer1[];
double Buffer2[];
int init(){
SetIndexBuffer(0,Buffer1);
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(1,Buffer2);
SetIndexStyle(1,DRAW_LINE);
return(0);
}
int start(){
for(int i=0;i<Bars;i++){
Buffer1[i]=iClose("EURUSD",0,i)-1;
Buffer2[i]=(Buffer1[i]+Buffer1[i+1]+Buffer1[i+2])/3;
}
return(0);
}
これを見てください、そこにはいくつかの選択肢があります。
一人の人間として、本当にありがとうございました
tmt0086:
皆さんこんにちは、バッファ番号1(Buffer1[])を表示から消すにはどうしたらいいでしょうか?
一足早い
SetIndexStyle(0, DRAW_NONE)を設定します。
早く
SetIndexStyle(0, DRAW_NONE)を設定します。
しかし、高速でない場合は、干渉するため(( それからの境界が高く、通常の作業に干渉するとします。チャートからのバッファが消えても、このバッファからの境界が残っていることが唯一の救いでした。
みなさん、こんにちは!バッファ番号1(Buffer1[])の表示を消すにはどうしたらいいでしょうか?
#property indicator_separate_window
#property indicator_buffers 2
#property indicator_color1 Red
#property indicator_width1 2
#property indicator_style1 0
#property indicator_color2 Red
#property indicator_width2 2
#property indicator_style2 0
double Buffer1[];
double Buffer2[];
int init(){
SetIndexBuffer(0,Buffer1);
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(1,Buffer2);
SetIndexStyle(1,DRAW_LINE);
return(0);
}
int start(){
for(int i=0;i<Bars;i++){
Buffer1[i]=iClose("EURUSD",0,i)-1;
Buffer2[i]=(Buffer1[i]+Buffer1[i+1]+Buffer1[i+2])/3;
}
return(0);
}
こんな風に試してみてください。
______________________________________
#property indicator_buffers1
バッファを入れ替え、削除
SetIndexBuffer(1,Buffer2)を設定。
SetIndexStyle(1,DRAW_LINE)を設定します。
______________________________________
正直なところ、テストはしていませんが、うまくいくはずです。
あるいは、何も入れ替えなくても、不要なバッファの設定パラメータを削除して、2個を1個に 置き換えるだけでいいかもしれません
こんな風に試してみてください。
______________________________________
#property indicator_buffers1
バッファを入れ替え、削除
SetIndexBuffer(1,Buffer2)を設定。
SetIndexStyle(1,DRAW_LINE)を設定します。
______________________________________
正直なところ、私はテストしていませんが、うまくいくはずです
#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 Red
#property indicator_width1 2
#property indicator_style1 0
double Buffer1[];
double Buffer2[];
int init(){
SetIndexBuffer(0,Buffer2);
SetIndexStyle(0,DRAW_LINE);
return(0);
}
int start(){
for(int i=0;i<Bars;i++){
Buffer1[i]=iClose("EURUSD",0,i)-1;
Buffer2[i]=(Buffer1[i]+Buffer1[i+1]+Buffer1[i+2])/3;
}
return(0);
}
バッファーは使う必要がありますね。