ユニバーサルMAクロスEA - ページ 90 1...838485868788899091929394959697...127 新しいコメント [Deleted] 2013.04.14 16:52 #891 追加フィルター mladenさん、こんにちは。 添付の「BuySel Alert」インジケータを「第3移動平均線」の代わりに使ってみました。 x "がBUYと表示された場合、買い方向にしか動きません。 x "が "SELL "の時は、"SELL "のみになります。 と表示されるのですが、うまくいきません。 検証をお願い します。 下記は「Buysel Alert」インジケータ です。 #プロパティ indicator_chart_window #プロパティ indicator_buffers 1 #プロパティ indicator_color1 白 #property indicator_width1 10 //---- 入力パラメータ extern int barn=300; extern int Length=30;// 19でした。 double prev; double last; double alertBar; extern int SoundAlertMode = 1; extern int Soundonly = 1; extern bool targets = false; //---- バッファ double ExtMapBuffer1[]; //double ExtMapBuffer2[]; //+------------------------------------------------------------------+ //| カスタムインジケータ 初期化関数 //+------------------------------------------------------------------+ int init() { //---- インジケータ SetIndexEmptyValue(0,0.0); SetIndexDrawBegin(0, barn); SetIndexStyle(0,DRAW_ARROW)を設定します。 SetIndexArrow(0,251); SetIndexBuffer(0,ExtMapBuffer1)を設定します。 IndicatorShortName("DIN")。 そこで、"iMA() "の代わりに "iCustom() "を使っています。 //第三移動平均線 //+------------------------------------------------------------------+ if(UseThirdMA==true) { ThirdMAValue = iCustom(NULL,0, "BuySel Alert",0,0); if(UseCounterTrend==false) { if(BuyCondition==true && SlowMACurrent>ThirdMAValue) BuyCondition = true; else BuyCondition = false; if(SellCondition==true && SlowMACurrent<ThirdMAValue) SellCondition = true; else SellCondition = false; } さもなくば { if((BuyCondition==true && FastMACurrent<ThirdMAValue) ||| (SellCondition==true && FastMACurrent<ThirdMAValue)) (SellCondition==true && FastMACurrent>ThirdMAValue))CounterTrend = true; else CounterTrend = false; ありがとうございます。 ファイル: eurjpym-m5-exness-ltd.png 70 kb buysel_alert.mq4 7 kb コーディングのヘルプ Universal MA Cross EA アスク! texastdi 2013.04.15 13:26 #892 ねぇ。 StopAndReverseとExitOnCrossにあまり違いがないように思うのですが、私の勘違いでしょうか? Chee Peng Pang 2013.04.17 09:08 #893 ユニバーサルマクロスEAでトレーリングプロフィールを設定する方法。 dave fransman 2013.04.18 11:55 #894 こんにちは、皆さん。 最後のUniversalMAcrossで、x時間後にclose_losing_positionを追加することは可能ですか? 私は、sertenの設定で閉じない取引を持ち続けています:stoplosが追加されていません。 私はUseCounterTrendをtrueにしてこの問題があります。 そして、3番目のMAをtrueで使用します。 良いセットファイルを共有しましょう dave fransman 2013.04.18 19:57 #895 良いセットファイルを教えてください。 私が抱えている問題はCT_stopにあるようです。 すべてのポジションに同じストップ、TP、トレーリングルールを与えることは可能でしょうか? 私は良いセットファイルを持っていますが、ビューポジションがクローズされずにDDの原因となります。 もし、ポジションが通常のSLでクローズされるなら、結果はとても良いものです。 ファイル: chart.gif 40 kb testergraph_1.gif 17 kb Mladen Rakic 2013.04.18 20:07 #896 star821: mladenさん、こんにちは。 添付の「BuySel Alert」インジケータを「第三移動平均線」の代わりに使ってみました。x "が "BUY "の時は、"BUY "のみになる。x "が "SELL "の時は、"SELL "のみになる。と表示されるのですが、うまくいきません。検証をお願い します。下記は「Buysel Alert」インジケータ です。#プロパティ indicator_chart_window#プロパティ indicator_buffers 1#プロパティ indicator_color1 白#property indicator_width1 10//---- 入力パラメータextern int barn=300;extern int Length=30;// 19でした。double prev;double last;double alertBar;extern int SoundAlertMode = 1;extern int Soundonly = 1;extern bool targets = false;//---- バッファdouble ExtMapBuffer1[];//double ExtMapBuffer2[];//+------------------------------------------------------------------+//| カスタムインジケータ初期化関数//+------------------------------------------------------------------+int init(){//---- インジケータSetIndexEmptyValue(0,0.0);SetIndexDrawBegin(0, barn);SetIndexStyle(0,DRAW_ARROW)を設定します。SetIndexArrow(0,251);SetIndexBuffer(0,ExtMapBuffer1)を設定します。IndicatorShortName("DIN")。そこで、"iMA() "の代わりに "iCustom() "を使っています。//第三移動平均線//+------------------------------------------------------------------+if(UseThirdMA==true){ThirdMAValue = iCustom(NULL,0, "BuySel Alert",0,0);if(UseCounterTrend==false){if(BuyCondition==true && SlowMACurrent>ThirdMAValue) BuyCondition = true; else BuyCondition = false;if(SellCondition==true && SlowMACurrent<ThirdMAValue) SellCondition = true; else SellCondition = false;}さもなくば{if((BuyCondition==true && FastMACurrent<ThirdMAValue) ||| (SellCondition==true && FastMACurrent<ThirdMAValue))(SellCondition==true && FastMACurrent>ThirdMAValue))CounterTrend = true; else CounterTrend = false; ありがとうございました。 スター821 BuySell alertは、バッファの値が0であることが多く、0以外の値であっても通常の移動 平均と比較することはできません。この2つの指標は同じ系列には属さないので、比較することはできません。 [Deleted] 2013.04.20 06:12 #897 Noted and Thank you mladen. cookiechan 2013.04.26 16:40 #898 hi; mladen お世話になりました、改善されたeaです。 ポールック cookiechan 2013.04.26 23:24 #899 EDIT: 私もです。 投稿を忘れてしまい、投稿するものを手に入れたのですが、このEAにはなかったのです。 ありがとうございます。 Sir 2013.04.27 10:24 #900 今、テストしているので、結果を報告します。 1...838485868788899091929394959697...127 新しいコメント 取引の機会を逃しています。 無料取引アプリ 8千を超えるシグナルをコピー 金融ニュースで金融マーケットを探索 新規登録 ログイン スペースを含まないラテン文字 このメールにパスワードが送信されます エラーが発生しました Googleでログイン WebサイトポリシーおよびMQL5.COM利用規約に同意します。 新規登録 MQL5.com WebサイトへのログインにCookieの使用を許可します。 ログインするには、ブラウザで必要な設定を有効にしてください。 ログイン/パスワードをお忘れですか? Googleでログイン
追加フィルター
mladenさん、こんにちは。
添付の「BuySel Alert」インジケータを「第3移動平均線」の代わりに使ってみました。
x "がBUYと表示された場合、買い方向にしか動きません。
x "が "SELL "の時は、"SELL "のみになります。
と表示されるのですが、うまくいきません。
検証をお願い
します。下記は「Buysel Alert」インジケータ です。
#プロパティ indicator_chart_window
#プロパティ indicator_buffers 1
#プロパティ indicator_color1 白
#property indicator_width1 10
//---- 入力パラメータ
extern int barn=300;
extern int Length=30;// 19でした。
double prev;
double last;
double alertBar;
extern int SoundAlertMode = 1;
extern int Soundonly = 1;
extern bool targets = false;
//---- バッファ
double ExtMapBuffer1[];
//double ExtMapBuffer2[];
//+------------------------------------------------------------------+
//| カスタムインジケータ 初期化関数
//+------------------------------------------------------------------+
int init()
{
//---- インジケータ
SetIndexEmptyValue(0,0.0);
SetIndexDrawBegin(0, barn);
SetIndexStyle(0,DRAW_ARROW)を設定します。
SetIndexArrow(0,251);
SetIndexBuffer(0,ExtMapBuffer1)を設定します。
IndicatorShortName("DIN")。
そこで、"iMA() "の代わりに "iCustom() "を使っています。
//第三移動平均線
//+------------------------------------------------------------------+
if(UseThirdMA==true)
{
ThirdMAValue = iCustom(NULL,0, "BuySel Alert",0,0);
if(UseCounterTrend==false)
{
if(BuyCondition==true && SlowMACurrent>ThirdMAValue) BuyCondition = true; else BuyCondition = false;
if(SellCondition==true && SlowMACurrent<ThirdMAValue) SellCondition = true; else SellCondition = false;
}
さもなくば
{
if((BuyCondition==true && FastMACurrent<ThirdMAValue) ||| (SellCondition==true && FastMACurrent<ThirdMAValue))
(SellCondition==true && FastMACurrent>ThirdMAValue))CounterTrend = true; else CounterTrend = false;
ありがとうございます。
ねぇ。
StopAndReverseとExitOnCrossにあまり違いがないように思うのですが、私の勘違いでしょうか?
ユニバーサルマクロスEAでトレーリングプロフィールを設定する方法。
こんにちは、皆さん。
最後のUniversalMAcrossで、x時間後にclose_losing_positionを追加することは可能ですか?
私は、sertenの設定で閉じない取引を持ち続けています:stoplosが追加されていません。
私はUseCounterTrendをtrueにしてこの問題があります。
そして、3番目のMAをtrueで使用します。
良いセットファイルを共有しましょう
良いセットファイルを教えてください。
私が抱えている問題はCT_stopにあるようです。
すべてのポジションに同じストップ、TP、トレーリングルールを与えることは可能でしょうか?
私は良いセットファイルを持っていますが、ビューポジションがクローズされずにDDの原因となります。
もし、ポジションが通常のSLでクローズされるなら、結果はとても良いものです。
mladenさん、こんにちは。
添付の「BuySel Alert」インジケータを「第三移動平均線」の代わりに使ってみました。
x "が "BUY "の時は、"BUY "のみになる。
x "が "SELL "の時は、"SELL "のみになる。
と表示されるのですが、うまくいきません。
検証をお願い
します。下記は「Buysel Alert」インジケータ です。
#プロパティ indicator_chart_window
#プロパティ indicator_buffers 1
#プロパティ indicator_color1 白
#property indicator_width1 10
//---- 入力パラメータ
extern int barn=300;
extern int Length=30;// 19でした。
double prev;
double last;
double alertBar;
extern int SoundAlertMode = 1;
extern int Soundonly = 1;
extern bool targets = false;
//---- バッファ
double ExtMapBuffer1[];
//double ExtMapBuffer2[];
//+------------------------------------------------------------------+
//| カスタムインジケータ初期化関数
//+------------------------------------------------------------------+
int init()
{
//---- インジケータ
SetIndexEmptyValue(0,0.0);
SetIndexDrawBegin(0, barn);
SetIndexStyle(0,DRAW_ARROW)を設定します。
SetIndexArrow(0,251);
SetIndexBuffer(0,ExtMapBuffer1)を設定します。
IndicatorShortName("DIN")。
そこで、"iMA() "の代わりに "iCustom() "を使っています。
//第三移動平均線
//+------------------------------------------------------------------+
if(UseThirdMA==true)
{
ThirdMAValue = iCustom(NULL,0, "BuySel Alert",0,0);
if(UseCounterTrend==false)
{
if(BuyCondition==true && SlowMACurrent>ThirdMAValue) BuyCondition = true; else BuyCondition = false;
if(SellCondition==true && SlowMACurrent<ThirdMAValue) SellCondition = true; else SellCondition = false;
}
さもなくば
{
if((BuyCondition==true && FastMACurrent<ThirdMAValue) ||| (SellCondition==true && FastMACurrent<ThirdMAValue))
(SellCondition==true && FastMACurrent>ThirdMAValue))CounterTrend = true; else CounterTrend = false;
ありがとうございました。スター821
BuySell alertは、バッファの値が0であることが多く、0以外の値であっても通常の移動 平均と比較することはできません。この2つの指標は同じ系列には属さないので、比較することはできません。
Noted and Thank you mladen.
hi; mladen お世話になりました、改善されたeaです。
ポールック
EDIT: 私もです。
投稿を忘れてしまい、投稿するものを手に入れたのですが、このEAにはなかったのです。
ありがとうございます。
今、テストしているので、結果を報告します。