[아카이브!] 포럼을 어지럽히 지 않도록 초보자 질문. 프로, 놓치지 마세요. 너 없이는 아무데도 - 2. - 페이지 158 1...151152153154155156157158159160161162163164165...537 새 코멘트 Dmitry Tolmachev 2011.02.28 04:11 #1571 100yan : 일정 기간 동안 추세 변화 에... https://www.mql5.com/ru/forum/131277/page148 및 https://www.mql5.com/ru/forum/131277/page149 참조 같이 합시다. 업무 경험이 있습니까? 나는 또한 그것이 현재 어느 방향으로 가고 있는지를 보여주는 mashek의 표시기를 가지고 있습니다. 필요한가요? Dmitry Tolmachev 2011.02.28 06:01 #1572 주제의 누군가가 계정의 수익성 비율에 대해 썼습니다. 파일: i_pribilnost_1.mq4 4 kb Aybulat 2011.02.28 06:23 #1573 힘 지수 를 막대 차트로 사용하는 사람은 누구입니까? [삭제] 2011.02.28 06:27 #1574 todem : 의 말을하자: if (d1!= 0 ) {OrdOpen( 0 ,OP_BUY,flot,MG);} 고마워, 나는 이것과 같은 것을 시도했다. 그러나 불행히도 작동하지 않습니다. 이 표시기 는 점을 그립니다 . 조언자를 만들고 싶지만 iCustom을 통해 열기 조건을 작성하는 방법을 모르겠습니다. //+------------------------------------------------------------------+ //| ADX Crossing.mq4 //| Amir //+------------------------------------------------------------------+ #property copyright "Author - Amir" #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Lime #property indicator_color2 Red //---- input parameters extern int ADXbars=14; extern int CountBars=1000; extern int Level=25; //---- buffers double val1[]; double val2[]; double b4plusdi,nowplusdi,b4minusdi,nowminusdi; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { string short_name; //---- indicator line IndicatorBuffers(2); SetIndexStyle(0,DRAW_ARROW); SetIndexArrow(0,108); SetIndexStyle(1,DRAW_ARROW); SetIndexArrow(1,108); SetIndexBuffer(0,val1); SetIndexBuffer(1,val2); //---- return(0); } //+------------------------------------------------------------------+ //| AltrTrend_Signal_v2_2 | //+------------------------------------------------------------------+ int start() { double adx; if (CountBars>=Bars) CountBars=Bars; SetIndexDrawBegin(0,Bars-CountBars); SetIndexDrawBegin(1,Bars-CountBars); int i,shift,counted_bars; //---- check for possible errors if(counted_bars<0) return(-1); //---- initial zero if(counted_bars<1) { for(i=1;i<=CountBars;i++) val1[CountBars-i]=0.0; for(i=1;i<=CountBars;i++) val2[CountBars-i]=0.0; } for (shift = CountBars; shift>=0; shift--) { adx=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_MAIN,shift); b4plusdi=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_PLUSDI,shift-1); nowplusdi=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_PLUSDI,shift); b4minusdi=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_MINUSDI,shift-1); nowminusdi=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_MINUSDI,shift); if (b4plusdi>b4minusdi && nowplusdi<nowminusdi && adx>Level) { val1[shift]=Low[shift]-5*Point; } if (b4plusdi<b4minusdi && nowplusdi>nowminusdi && adx>Level) { val2[shift]=High[shift]+5*Point; } } return(0); } //+------------------------------------------------------------------+ [Archive!] Any rookie question, ADX Crossover query... Indicators with alerts/signal Dmitry Tolmachev 2011.02.28 06:43 #1575 BooGUY : 고마워, 나는 이것과 같은 것을 시도했다. 그러나 불행히도 작동하지 않습니다. 이 표시기는 점을 그립니다. 거기에 Expert Advisor를 만들고 싶지만 iCustom을 통해 열기 조건을 작성하는 방법을 모르겠습니다. d1= iCustom ( Symbol (), "ADX Crossing" , 14 , 1000 , 25 , 0 , 1 ); // lime d2= iCustom ( Symbol (), "ADX Crossing" , 14 , 1000 , 25 , 1 , 1 ); // red Dmitry Tolmachev 2011.02.28 06:54 #1576 안녕하세요 여러분! 우리는 오후 18시 이후에 20/200핍의 좋은 거래 전략이 무엇인지 보았습니다. Aybulat 2011.02.28 06:58 #1577 힘 지수 를 막대 차트로 사용하는 사람은 누구입니까? 코드를 게시합니다. Dmitry Tolmachev 2011.02.28 07:06 #1578 _Aybulat_ : 힘 지수를 막대 차트로 사용하는 사람은 누구입니까? 코드를 게시합니다. RSI - 상대 강도 지수 ? [삭제] 2011.02.28 07:17 #1579 todem, if (d1!= 0) 으로 시도 그러나 고문은 여전히 잘못된 위치에서 열립니다. 일반적으로 매수를 매도로 바꿔야 하며, 때때로 매도를 두 번 엽니다. 내가 뭔가를 추가하지 않았을 수도 있습니다. Dmitry Tolmachev 2011.02.28 07:20 #1580 BooGUY : todem, if (d1!= 0) 으로 시도 그러나 고문은 여전히 잘못된 위치에서 열립니다. 일반적으로 매수를 매도로 변경해야 하며, 때때로 매도를 두 번 엽니다. 내가 뭔가를 추가하지 않았을 수도 있습니다. 코드를 알려주세요 - 수정하겠습니다. 1...151152153154155156157158159160161162163164165...537 새 코멘트 사유: 취소 트레이딩 기회를 놓치고 있어요: 무료 트레이딩 앱 복사용 8,000 이상의 시그널 금융 시장 개척을 위한 경제 뉴스 등록 로그인 공백없는 라틴 문자 비밀번호가 이 이메일로 전송될 것입니다 오류 발생됨 Google으로 로그인 웹사이트 정책 및 이용약관에 동의합니다. 계정이 없으시면, 가입하십시오 MQL5.com 웹사이트에 로그인을 하기 위해 쿠키를 허용하십시오. 브라우저에서 필요한 설정을 활성화하시지 않으면, 로그인할 수 없습니다. 사용자명/비밀번호를 잊으셨습니까? Google으로 로그인
일정 기간 동안 추세 변화 에... https://www.mql5.com/ru/forum/131277/page148 및 https://www.mql5.com/ru/forum/131277/page149 참조
같이 합시다. 업무 경험이 있습니까? 나는 또한 그것이 현재 어느 방향으로 가고 있는지를 보여주는 mashek의 표시기를 가지고 있습니다. 필요한가요?
의 말을하자:
고마워, 나는 이것과 같은 것을 시도했다. 그러나 불행히도 작동하지 않습니다.
이 표시기 는 점을 그립니다 . 조언자를 만들고 싶지만 iCustom을 통해 열기 조건을 작성하는 방법을 모르겠습니다.
//+------------------------------------------------------------------+
//| ADX Crossing.mq4
//| Amir
//+------------------------------------------------------------------+
#property copyright "Author - Amir"
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Lime
#property indicator_color2 Red
//---- input parameters
extern int ADXbars=14;
extern int CountBars=1000;
extern int Level=25;
//---- buffers
double val1[];
double val2[];
double b4plusdi,nowplusdi,b4minusdi,nowminusdi;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
string short_name;
//---- indicator line
IndicatorBuffers(2);
SetIndexStyle(0,DRAW_ARROW);
SetIndexArrow(0,108);
SetIndexStyle(1,DRAW_ARROW);
SetIndexArrow(1,108);
SetIndexBuffer(0,val1);
SetIndexBuffer(1,val2);
//----
return(0);
}
//+------------------------------------------------------------------+
//| AltrTrend_Signal_v2_2 |
//+------------------------------------------------------------------+
int start()
{
double adx;
if (CountBars>=Bars) CountBars=Bars;
SetIndexDrawBegin(0,Bars-CountBars);
SetIndexDrawBegin(1,Bars-CountBars);
int i,shift,counted_bars;
//---- check for possible errors
if(counted_bars<0) return(-1);
//---- initial zero
if(counted_bars<1)
{
for(i=1;i<=CountBars;i++) val1[CountBars-i]=0.0;
for(i=1;i<=CountBars;i++) val2[CountBars-i]=0.0;
}
for (shift = CountBars; shift>=0; shift--)
{
adx=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_MAIN,shift);
b4plusdi=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_PLUSDI,shift-1);
nowplusdi=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_PLUSDI,shift);
b4minusdi=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_MINUSDI,shift-1);
nowminusdi=iADX(NULL,0,ADXbars,PRICE_CLOSE,MODE_MINUSDI,shift);
if (b4plusdi>b4minusdi && nowplusdi<nowminusdi && adx>Level)
{
val1[shift]=Low[shift]-5*Point;
}
if (b4plusdi<b4minusdi && nowplusdi>nowminusdi && adx>Level)
{
val2[shift]=High[shift]+5*Point;
}
}
return(0);
}
//+------------------------------------------------------------------+
고마워, 나는 이것과 같은 것을 시도했다. 그러나 불행히도 작동하지 않습니다.
이 표시기는 점을 그립니다. 거기에 Expert Advisor를 만들고 싶지만 iCustom을 통해 열기 조건을 작성하는 방법을 모르겠습니다.
안녕하세요 여러분! 우리는 오후 18시 이후에 20/200핍의 좋은 거래 전략이 무엇인지 보았습니다.
힘 지수를 막대 차트로 사용하는 사람은 누구입니까? 코드를 게시합니다.
RSI - 상대 강도 지수 ?
todem, if (d1!= 0) 으로 시도
그러나 고문은 여전히 잘못된 위치에서 열립니다. 일반적으로 매수를 매도로 바꿔야 하며, 때때로 매도를 두 번 엽니다. 내가 뭔가를 추가하지 않았을 수도 있습니다.
todem, if (d1!= 0) 으로 시도
그러나 고문은 여전히 잘못된 위치에서 열립니다. 일반적으로 매수를 매도로 변경해야 하며, 때때로 매도를 두 번 엽니다. 내가 뭔가를 추가하지 않았을 수도 있습니다.
코드를 알려주세요 - 수정하겠습니다.