コーディングのヘルプ - ページ 473 1...466467468469470471472473474475476477478479480...786 新しいコメント pavaka 2015.05.15 00:18 #4721 zigflip: このインジケーターは、すべてのアラートオプションを "false "に設定してもアラートが出続けるので、どうか修正してください。はMr Toolsのバージョンだと思います...。 心から感謝します。 このインジケータは何かを言おうとしているのですが、残念ながら誰も聞いてくれません......。 Tomcat98 2015.05.15 02:20 #4722 Pava: 何かを言おうとしている...残念だが...誰も聞いていない...。 誰が電話しているの? みんな聞いてるよ 時差の関係で... これだ nmc これ以上警報を出さないでくれ さもなければムラデンに警報を出せ! 敬具 Tomcat98 ファイル: better_bollinger_bands_mtfalertsma_nrp-2_nmc.mq4 11 kb ms03-039 2015.05.15 04:59 #4723 位置情報の矢印の代わりに何を変更すればよいですか? ファイル: arow.jpg 180 kb Mladen Rakic 2015.05.15 07:06 #4724 popej30: 位置矢印の代わりに何を変更するのですか? 低いドットの価格をLow[nnn]からHigh[nnn]に変更します。 また、上のドットの価格をHigh[nnn]からLow[nnn]に変更する。 zigflip 2015.05.15 10:20 #4725 Tomcat98: 誰だ?みんな聞いてるよ。 ただ、時差の問題で... ここで、それはnmcです、これ以上警告が来てはいけません、そうでなければ、Mladenに警告してください!!!!。 誠実に。 トムキャット98 Good stuff thank you zigflip 2015.05.15 10:30 #4726 このインジケータはどうでしょうか。ZUPハーモニックインジケータと同じコードを使用しているかもしれませんが、とにかくZUPや他のインジケータと一緒に使用すると、いくつかの光線や他のものが削除さ れます。 修正できないものでしょうか?レイヤーができるはずの「Complet」機能が働いて いないような気がするのですが、あくまで私の推測です。もし、修正するのに時間がかかりすぎるようでしたら、気にしないでください。(私はオリジナルバージョンに少し化粧直しをしただけですが、同じ問題があります。) 心から感謝します。 ファイル: gann_sq9_mxi.mq4 14 kb Mladen Rakic 2015.05.15 10:53 #4727 zigflip: このインジケータはどうでしょうか...いくつかのZUPハーモニックインジケータと同じコードを使用しているかもしれませんが、とにかくZUPや他のインジケータと一緒に使用すると、いくつかの光線や他のものを削除し、 ガートレーなどの形状に使われる三角形や線を削除するようなものです。修正できるのでしょうか?レイヤーができるはずの「Complet」機能が働いていないような気がするのですが、私の推測です。もし、修正するには長すぎるのであれば、気にしないでください。(オリジナル版に少し化粧直しをしただけですが、同じ問題があります)。 心から 1つだけ、問題を起こす可能性のあるエラーがありました。今すぐ確認する :gann_sq9_mxi_nmc.mq4 ファイル: gann_sq9_mxi_nmc.mq4 14 kb ms03-039 2015.05.15 12:29 #4728 mladen: 低いドットの価格を Low[nnn] から High[nnn] に変更する。 また、高いドットの価格を High[nnn] から Low[nnn] に変更する。 どこを表示するか #property indicator_buffers 4 #property indicator_chart_window #property indicator_color1 Turquoise #property indicator_color2 Red #property indicator_color3 Turquoise #property indicator_color4 Red double ExtMapBuffer1[]; double ExtMapBuffer2[]; double ExtMapBuffer3[]; double ExtMapBuffer4[]; //================================================================ // =============== HIDDEN CODE // =============== HIDDEN CODE // =============== HIDDEN CODE // =============== HIDDEN CODE // =============== HIDDEN CODE // =============== HIDDEN CODE //================================================================ int init() { IndicatorBuffers(4); SetIndexStyle(0,DRAW_ARROW,STYLE_SOLID,2); SetIndexStyle(1,DRAW_ARROW,STYLE_SOLID,2); SetIndexArrow(0, 233); SetIndexArrow(1, 234); SetIndexBuffer(0,ExtMapBuffer1); SetIndexBuffer(1,ExtMapBuffer2); SetIndexStyle(2,DRAW_LINE); SetIndexBuffer(2,ExtMapBuffer3); SetIndexStyle(3,DRAW_LINE); SetIndexBuffer(3,ExtMapBuffer4); return(0); } void DrawVertical( int bar , double value, color clr) { static int cnt = 0; cnt++; string dv = "Signal" + cnt; ObjectCreate(dv, OBJ_VLINE, 0, Time, 0); ObjectSet(dv, OBJPROP_COLOR, clr); ObjectsRedraw(); } void DrawThumb( int bar , int thumb , double value, color clr) { static int cnt = 0; cnt++; string dv = "thumb" + cnt; ObjectCreate(dv, OBJ_ARROW, 0, Time, value); if(thumb == 1) { ObjectSet(dv, OBJPROP_ARROWCODE, 67); } if(thumb == 2) { ObjectSet(dv, OBJPROP_ARROWCODE, 68); } ObjectSet(dv, OBJPROP_COLOR, clr); ObjectSet(dv, OBJPROP_STYLE , STYLE_SOLID); ObjectSet(dv, OBJPROP_WIDTH , 3); ObjectsRedraw(); } int deinit() { int I = WindowsTotal(); for (int count = 0; count < WindowsTotal(); count++) { int nObjects = ObjectsTotal(); for (int i=nObjects; i>=0; i--) { string objName = ObjectName(i); if(StringFind(objName, "Signal", 0) >= 0) ObjectDelete(objName); if(StringFind(objName, "signal", 0) >= 0) ObjectDelete(objName); } } return(0); } int start() { int counted_bars=IndicatorCounted(); //---- int pos = Bars - counted_bars;//-1 static int right = 0 ; static int wrong = 0 ; while (pos>=0) { Signal1=0; Signal2=0; Previous_Bar=0; //================================================================ // =============== HIDDEN CODE // =============== HIDDEN CODE // =============== HIDDEN CODE // =============== HIDDEN CODE // =============== HIDDEN CODE // =============== HIDDEN CODE //================================================================ if (Open[pos+1] > Close[pos+1]) Previous_Bar = 1; if (Open[pos+1] < Close[pos+1]) Previous_Bar = 2; int confirm = 0; if(confirm == 1) { if (EmaShortPrevious>EmaLongPrevious && EmaShortCurrent<EmaLongCurrent && Previous_Bar == 1) Signal1=High[pos-1]; if (EmaShortPreviousEmaLongCurrent && Previous_Bar == 2) Signal2=Low[pos-1]; } else { if (EmaShortPrevious>EmaLongPrevious && EmaShortCurrent<EmaLongCurrent ) Signal1=High[pos-1]; if (EmaShortPreviousEmaLongCurrent ) Signal2=Low[pos-1]; } ExtMapBuffer1[pos-1]= Signal1+5*Point; ExtMapBuffer2[pos-1]= Signal2-5*Point; if(Vertical_Lines) { if(Signal1>0) DrawVertical(pos,0,Blue); if(Signal2>0) DrawVertical(pos,0,Red); } if (Show_Thumbs) { if(Signal1>0 && Open[pos-1] > Close[pos-1]) { DrawThumb(pos-1,1,Signal1+20*Point,Gold); right=right+1; } if(Signal1>0 && Open[pos-1] < Close[pos-1]) { DrawThumb(pos-1,2,Signal1+20*Point,Green); wrong=wrong+1; } if(Signal2>0 && Open[pos-1] < Close[pos-1]) { DrawThumb(pos-1,1,Signal2-10*Point,Gold); right=right+1; } if(Signal2>0 && Open[pos-1] > Close[pos-1]) { DrawThumb(pos-1,2,Signal2-10*Point,Green); wrong=wrong+1; } } if(Draw_Lines) { ExtMapBuffer3[pos]= EmaLongCurrent; ExtMapBuffer4[pos]= EmaShortCurrent; } pos--; } return(0); } Coding help MQL4コースへようこそ オジャラEA Mladen Rakic 2015.05.15 12:32 #4729 popej30: Show me where ................................ #property indicator_buffers 4 #property indicator_chart_window #property indicator_color1 Turquoise #property indicator_color2 Red #property indicator_color3 Turquoise #property indicator_color4 Red double ExtMapBuffer1[]; double ExtMapBuffer2[]; double ExtMapBuffer3[]; double ExtMapBuffer4[]; //================================================================ // =============== HIDDEN CODE // =============== HIDDEN CODE // =============== HIDDEN CODE // =============== HIDDEN CODE // =============== HIDDEN CODE // =============== HIDDEN CODE //================================================================ int init() { IndicatorBuffers(4); SetIndexStyle(0,DRAW_ARROW,STYLE_SOLID,2); SetIndexStyle(1,DRAW_ARROW,STYLE_SOLID,2); SetIndexArrow(0, 233); SetIndexArrow(1, 234); SetIndexBuffer(0,ExtMapBuffer1); SetIndexBuffer(1,ExtMapBuffer2); SetIndexStyle(2,DRAW_LINE); SetIndexBuffer(2,ExtMapBuffer3); SetIndexStyle(3,DRAW_LINE); SetIndexBuffer(3,ExtMapBuffer4); return(0); } void DrawVertical( int bar , double value, color clr) { static int cnt = 0; cnt++; string dv = "Signal" + cnt; ObjectCreate(dv, OBJ_VLINE, 0, Time, 0); ObjectSet(dv, OBJPROP_COLOR, clr); ObjectsRedraw(); } void DrawThumb( int bar , int thumb , double value, color clr) { static int cnt = 0; cnt++; string dv = "thumb" + cnt; ObjectCreate(dv, OBJ_ARROW, 0, Time, value); if(thumb == 1) { ObjectSet(dv, OBJPROP_ARROWCODE, 67); } if(thumb == 2) { ObjectSet(dv, OBJPROP_ARROWCODE, 68); } ObjectSet(dv, OBJPROP_COLOR, clr); ObjectSet(dv, OBJPROP_STYLE , STYLE_SOLID); ObjectSet(dv, OBJPROP_WIDTH , 3); ObjectsRedraw(); } int deinit() { int I = WindowsTotal(); for (int count = 0; count < WindowsTotal(); count++) { int nObjects = ObjectsTotal(); for (int i=nObjects; i>=0; i--) { string objName = ObjectName(i); if(StringFind(objName, "Signal", 0) >= 0) ObjectDelete(objName); if(StringFind(objName, "signal", 0) >= 0) ObjectDelete(objName); } } return(0); } int start() { int counted_bars=IndicatorCounted(); //---- int pos = Bars - counted_bars;//-1 static int right = 0 ; static int wrong = 0 ; while (pos>=0) { Signal1=0; Signal2=0; Previous_Bar=0; //================================================================ // =============== HIDDEN CODE // =============== HIDDEN CODE // =============== HIDDEN CODE // =============== HIDDEN CODE // =============== HIDDEN CODE // =============== HIDDEN CODE //================================================================ if (Open[pos+1] > Close[pos+1]) Previous_Bar = 1; if (Open[pos+1] < Close[pos+1]) Previous_Bar = 2; int confirm = 0; if(confirm == 1) { if (EmaShortPrevious>EmaLongPrevious && EmaShortCurrent<EmaLongCurrent && Previous_Bar == 1) Signal1=High[pos-1]; if (EmaShortPreviousEmaLongCurrent && Previous_Bar == 2) Signal2=Low[pos-1]; } else { if (EmaShortPrevious>EmaLongPrevious && EmaShortCurrent<EmaLongCurrent ) Signal1=High[pos-1]; if (EmaShortPreviousEmaLongCurrent ) Signal2=Low[pos-1]; } ExtMapBuffer1[pos-1]= Signal1+5*Point; ExtMapBuffer2[pos-1]= Signal2-5*Point; if(Vertical_Lines) { if(Signal1>0) DrawVertical(pos,0,Blue); if(Signal2>0) DrawVertical(pos,0,Red); } if (Show_Thumbs) { if(Signal1>0 && Open[pos-1] > Close[pos-1]) { DrawThumb(pos-1,1,Signal1+20*Point,Gold); right=right+1; } if(Signal1>0 && Open[pos-1] < Close[pos-1]) { DrawThumb(pos-1,2,Signal1+20*Point,Green); wrong=wrong+1; } if(Signal2>0 && Open[pos-1] < Close[pos-1]) { DrawThumb(pos-1,1,Signal2-10*Point,Gold); right=right+1; } if(Signal2>0 && Open[pos-1] > Close[pos-1]) { DrawThumb(pos-1,2,Signal2-10*Point,Green); wrong=wrong+1; } } if(Draw_Lines) { ExtMapBuffer3[pos]= EmaLongCurrent; ExtMapBuffer4[pos]= EmaShortCurrent; } pos--; } return(0); } Signal1、Signal2変数にどのような値が代入されているかを確認 します(130、131、135、136行目のHigh、Low)。反転させる _____________ Btw: そのインジケータは、将来の値に値を割り当てます。 ms03-039 2015.05.16 04:52 #4730 mladen: Signal1、Signal2変数にどのような値が代入されているかを確認します(130、131、135、136行目のHigh、Low)。それを反転させる_____________ Btw: そのインジケータは未来の値に値を割り当てます。 変更された ...ありがとうございました。 1...466467468469470471472473474475476477478479480...786 新しいコメント 理由: キャンセル 取引の機会を逃しています。 無料取引アプリ 8千を超えるシグナルをコピー 金融ニュースで金融マーケットを探索 新規登録 ログイン スペースを含まないラテン文字 このメールにパスワードが送信されます エラーが発生しました Googleでログイン WebサイトポリシーおよびMQL5.COM利用規約に同意します。 新規登録 MQL5.com WebサイトへのログインにCookieの使用を許可します。 ログインするには、ブラウザで必要な設定を有効にしてください。 ログイン/パスワードをお忘れですか? Googleでログイン
このインジケーターは、すべてのアラートオプションを "false "に設定してもアラートが出続けるので、どうか修正してください。
はMr Toolsのバージョンだと思います...。
心から感謝します。このインジケータは何かを言おうとしているのですが、残念ながら誰も聞いてくれません......。
何かを言おうとしている...残念だが...誰も聞いていない...。
誰が電話しているの?
みんな聞いてるよ
時差の関係で...
これだ nmc これ以上警報を出さないでくれ さもなければムラデンに警報を出せ!
敬具
Tomcat98
位置情報の矢印の代わりに何を変更すればよいですか?
位置矢印の代わりに何を変更するのですか?
低いドットの価格をLow[nnn]からHigh[nnn]に変更します。
また、上のドットの価格をHigh[nnn]からLow[nnn]に変更する。
誰だ?
みんな聞いてるよ。
ただ、時差の問題で...
ここで、それはnmcです、これ以上警告が来てはいけません、そうでなければ、Mladenに警告してください!!!!。
誠実に。
トムキャット98Good stuff thank you
このインジケータはどうでしょうか。ZUPハーモニックインジケータと同じコードを使用しているかもしれませんが、とにかくZUPや他のインジケータと一緒に使用すると、いくつかの光線や他のものが削除さ れます。
修正できないものでしょうか?レイヤーができるはずの「Complet」機能が働いて いないような気がするのですが、あくまで私の推測です。もし、修正するのに時間がかかりすぎるようでしたら、気にしないでください。(私はオリジナルバージョンに少し化粧直しをしただけですが、同じ問題があります。)
心から感謝します。
このインジケータはどうでしょうか...いくつかのZUPハーモニックインジケータと同じコードを使用しているかもしれませんが、とにかくZUPや他のインジケータと一緒に使用すると、いくつかの光線や他のものを削除し、 ガートレーなどの形状に使われる三角形や線を削除するようなものです。
修正できるのでしょうか?レイヤーができるはずの「Complet」機能が働いていないような気がするのですが、私の推測です。もし、修正するには長すぎるのであれば、気にしないでください。(オリジナル版に少し化粧直しをしただけですが、同じ問題があります)。
心から1つだけ、問題を起こす可能性のあるエラーがありました。今すぐ確認する :gann_sq9_mxi_nmc.mq4
低いドットの価格を Low[nnn] から High[nnn] に変更する。 また、高いドットの価格を High[nnn] から Low[nnn] に変更する。
どこを表示するか
#property indicator_buffers 4
#property indicator_chart_window
#property indicator_color1 Turquoise
#property indicator_color2 Red
#property indicator_color3 Turquoise
#property indicator_color4 Red
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
double ExtMapBuffer4[];
//================================================================
// =============== HIDDEN CODE
// =============== HIDDEN CODE
// =============== HIDDEN CODE
// =============== HIDDEN CODE
// =============== HIDDEN CODE
// =============== HIDDEN CODE
//================================================================
int init()
{
IndicatorBuffers(4);
SetIndexStyle(0,DRAW_ARROW,STYLE_SOLID,2);
SetIndexStyle(1,DRAW_ARROW,STYLE_SOLID,2);
SetIndexArrow(0, 233);
SetIndexArrow(1, 234);
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexBuffer(1,ExtMapBuffer2);
SetIndexStyle(2,DRAW_LINE);
SetIndexBuffer(2,ExtMapBuffer3);
SetIndexStyle(3,DRAW_LINE);
SetIndexBuffer(3,ExtMapBuffer4);
return(0);
}
void DrawVertical( int bar , double value, color clr)
{
static int cnt = 0;
cnt++;
string dv = "Signal" + cnt;
ObjectCreate(dv, OBJ_VLINE, 0, Time, 0);
ObjectSet(dv, OBJPROP_COLOR, clr);
ObjectsRedraw();
}
void DrawThumb( int bar , int thumb , double value, color clr)
{
static int cnt = 0;
cnt++;
string dv = "thumb" + cnt;
ObjectCreate(dv, OBJ_ARROW, 0, Time, value);
if(thumb == 1)
{
ObjectSet(dv, OBJPROP_ARROWCODE, 67);
}
if(thumb == 2)
{
ObjectSet(dv, OBJPROP_ARROWCODE, 68);
}
ObjectSet(dv, OBJPROP_COLOR, clr);
ObjectSet(dv, OBJPROP_STYLE , STYLE_SOLID);
ObjectSet(dv, OBJPROP_WIDTH , 3);
ObjectsRedraw();
}
int deinit()
{
int I = WindowsTotal();
for (int count = 0; count < WindowsTotal(); count++)
{
int nObjects = ObjectsTotal();
for (int i=nObjects; i>=0; i--)
{
string objName = ObjectName(i);
if(StringFind(objName, "Signal", 0) >= 0)
ObjectDelete(objName);
if(StringFind(objName, "signal", 0) >= 0)
ObjectDelete(objName);
}
}
return(0);
}
int start()
{
int counted_bars=IndicatorCounted();
//----
int pos = Bars - counted_bars;//-1
static int right = 0 ;
static int wrong = 0 ;
while (pos>=0)
{
Signal1=0;
Signal2=0;
Previous_Bar=0;
//================================================================
// =============== HIDDEN CODE
// =============== HIDDEN CODE
// =============== HIDDEN CODE
// =============== HIDDEN CODE
// =============== HIDDEN CODE
// =============== HIDDEN CODE
//================================================================
if (Open[pos+1] > Close[pos+1]) Previous_Bar = 1;
if (Open[pos+1] < Close[pos+1]) Previous_Bar = 2;
int confirm = 0;
if(confirm == 1)
{
if (EmaShortPrevious>EmaLongPrevious && EmaShortCurrent<EmaLongCurrent && Previous_Bar == 1) Signal1=High[pos-1];
if (EmaShortPreviousEmaLongCurrent && Previous_Bar == 2) Signal2=Low[pos-1];
}
else
{
if (EmaShortPrevious>EmaLongPrevious && EmaShortCurrent<EmaLongCurrent ) Signal1=High[pos-1];
if (EmaShortPreviousEmaLongCurrent ) Signal2=Low[pos-1];
}
ExtMapBuffer1[pos-1]= Signal1+5*Point;
ExtMapBuffer2[pos-1]= Signal2-5*Point;
if(Vertical_Lines)
{
if(Signal1>0) DrawVertical(pos,0,Blue);
if(Signal2>0) DrawVertical(pos,0,Red);
}
if (Show_Thumbs)
{
if(Signal1>0 && Open[pos-1] > Close[pos-1])
{
DrawThumb(pos-1,1,Signal1+20*Point,Gold);
right=right+1;
}
if(Signal1>0 && Open[pos-1] < Close[pos-1])
{
DrawThumb(pos-1,2,Signal1+20*Point,Green);
wrong=wrong+1;
}
if(Signal2>0 && Open[pos-1] < Close[pos-1])
{
DrawThumb(pos-1,1,Signal2-10*Point,Gold);
right=right+1;
}
if(Signal2>0 && Open[pos-1] > Close[pos-1])
{
DrawThumb(pos-1,2,Signal2-10*Point,Green);
wrong=wrong+1;
}
}
if(Draw_Lines)
{
ExtMapBuffer3[pos]= EmaLongCurrent;
ExtMapBuffer4[pos]= EmaShortCurrent;
}
pos--;
}
return(0);
}
Show me where ................................
#property indicator_buffers 4
#property indicator_chart_window
#property indicator_color1 Turquoise
#property indicator_color2 Red
#property indicator_color3 Turquoise
#property indicator_color4 Red
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
double ExtMapBuffer4[];
//================================================================
// =============== HIDDEN CODE
// =============== HIDDEN CODE
// =============== HIDDEN CODE
// =============== HIDDEN CODE
// =============== HIDDEN CODE
// =============== HIDDEN CODE
//================================================================
int init()
{
IndicatorBuffers(4);
SetIndexStyle(0,DRAW_ARROW,STYLE_SOLID,2);
SetIndexStyle(1,DRAW_ARROW,STYLE_SOLID,2);
SetIndexArrow(0, 233);
SetIndexArrow(1, 234);
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexBuffer(1,ExtMapBuffer2);
SetIndexStyle(2,DRAW_LINE);
SetIndexBuffer(2,ExtMapBuffer3);
SetIndexStyle(3,DRAW_LINE);
SetIndexBuffer(3,ExtMapBuffer4);
return(0);
}
void DrawVertical( int bar , double value, color clr)
{
static int cnt = 0;
cnt++;
string dv = "Signal" + cnt;
ObjectCreate(dv, OBJ_VLINE, 0, Time, 0);
ObjectSet(dv, OBJPROP_COLOR, clr);
ObjectsRedraw();
}
void DrawThumb( int bar , int thumb , double value, color clr)
{
static int cnt = 0;
cnt++;
string dv = "thumb" + cnt;
ObjectCreate(dv, OBJ_ARROW, 0, Time, value);
if(thumb == 1)
{
ObjectSet(dv, OBJPROP_ARROWCODE, 67);
}
if(thumb == 2)
{
ObjectSet(dv, OBJPROP_ARROWCODE, 68);
}
ObjectSet(dv, OBJPROP_COLOR, clr);
ObjectSet(dv, OBJPROP_STYLE , STYLE_SOLID);
ObjectSet(dv, OBJPROP_WIDTH , 3);
ObjectsRedraw();
}
int deinit()
{
int I = WindowsTotal();
for (int count = 0; count < WindowsTotal(); count++)
{
int nObjects = ObjectsTotal();
for (int i=nObjects; i>=0; i--)
{
string objName = ObjectName(i);
if(StringFind(objName, "Signal", 0) >= 0)
ObjectDelete(objName);
if(StringFind(objName, "signal", 0) >= 0)
ObjectDelete(objName);
}
}
return(0);
}
int start()
{
int counted_bars=IndicatorCounted();
//----
int pos = Bars - counted_bars;//-1
static int right = 0 ;
static int wrong = 0 ;
while (pos>=0)
{
Signal1=0;
Signal2=0;
Previous_Bar=0;
//================================================================
// =============== HIDDEN CODE
// =============== HIDDEN CODE
// =============== HIDDEN CODE
// =============== HIDDEN CODE
// =============== HIDDEN CODE
// =============== HIDDEN CODE
//================================================================
if (Open[pos+1] > Close[pos+1]) Previous_Bar = 1;
if (Open[pos+1] < Close[pos+1]) Previous_Bar = 2;
int confirm = 0;
if(confirm == 1)
{
if (EmaShortPrevious>EmaLongPrevious && EmaShortCurrent<EmaLongCurrent && Previous_Bar == 1) Signal1=High[pos-1];
if (EmaShortPreviousEmaLongCurrent && Previous_Bar == 2) Signal2=Low[pos-1];
}
else
{
if (EmaShortPrevious>EmaLongPrevious && EmaShortCurrent<EmaLongCurrent ) Signal1=High[pos-1];
if (EmaShortPreviousEmaLongCurrent ) Signal2=Low[pos-1];
}
ExtMapBuffer1[pos-1]= Signal1+5*Point;
ExtMapBuffer2[pos-1]= Signal2-5*Point;
if(Vertical_Lines)
{
if(Signal1>0) DrawVertical(pos,0,Blue);
if(Signal2>0) DrawVertical(pos,0,Red);
}
if (Show_Thumbs)
{
if(Signal1>0 && Open[pos-1] > Close[pos-1])
{
DrawThumb(pos-1,1,Signal1+20*Point,Gold);
right=right+1;
}
if(Signal1>0 && Open[pos-1] < Close[pos-1])
{
DrawThumb(pos-1,2,Signal1+20*Point,Green);
wrong=wrong+1;
}
if(Signal2>0 && Open[pos-1] < Close[pos-1])
{
DrawThumb(pos-1,1,Signal2-10*Point,Gold);
right=right+1;
}
if(Signal2>0 && Open[pos-1] > Close[pos-1])
{
DrawThumb(pos-1,2,Signal2-10*Point,Green);
wrong=wrong+1;
}
}
if(Draw_Lines)
{
ExtMapBuffer3[pos]= EmaLongCurrent;
ExtMapBuffer4[pos]= EmaShortCurrent;
}
pos--;
}
return(0);
}
Signal1、Signal2変数にどのような値が代入されているかを確認 します(130、131、135、136行目のHigh、Low)。反転させる
_____________
Btw: そのインジケータは、将来の値に値を割り当てます。
Signal1、Signal2変数にどのような値が代入されているかを確認します(130、131、135、136行目のHigh、Low)。それを反転させる
_____________
Btw: そのインジケータは未来の値に値を割り当てます。変更された ...ありがとうございました。