코딩하는 방법? - 페이지 209 1...202203204205206207208209210211212213214215216...347 새 코멘트 kessing 2009.10.11 04:39 #2081 안녕하세요 여러분... 누군가가 지표와 EA 코딩을 시작하는 방법을 보여줄 수 있습니까? InTrance 2009.10.11 07:04 #2082 kessing: 안녕 모두... 누군가 나에게 지표와 EA 코딩을 시작하는 방법을 보여줄 수 있습니까? 안녕, 여기를 보십시오: https://www.mql5.com/en/forum/172969/page2 Sergey Golubev 2009.10.11 07:31 #2083 kessing: 안녕 모두... 누군가가 표시기 및 EA 코딩을 시작하는 방법을 보여줄 수 있습니까? 이 스레드(첫 번째 게시물) 읽기: https://www.mql5.com/en/forum/178706 그리고 이 스레드: https://www.mql5.com/en/forum/173290 luxinterior 2009.10.11 19:14 #2084 kessing: 안녕 모두... 누군가 나에게 지표와 EA 코딩을 시작하는 방법을 보여줄 수 있습니까? FF에는 여기저기서 많은 정보가 있습니다. 구글에서 검색하셔도 됩니다. EA 프로그래밍에 대한 쉬운 소개는 내 시그의 링크를 확인하십시오 . 초보 프로그래머가 시작하기에 좋은 곳입니다. 행운을 빕니다! 럭스 Chee Chua 2009.10.13 12:35 #2085 sparow21 2009.10.13 15:32 #2086 EA 표시기 안녕하세요 여러분, 첨부된 Waddah Attar Explosion에서 EA를 만들 수 있는 사람 의 도움을 요청하고 싶습니다. 응답을 기다리십시오. 고맙습니다. -에스- 파일: waddah_attar_explosion.mq4 8 kb drhouse7 2009.10.14 11:56 #2087 ea 유니버셜 마 2 크로스 안녕하세요 여러분! 이 firedave's ea를 수정하기 위해 찾고 있습니다(이 포럼에서) 더 에아는 '유니버설 마크로스 에아'라고 부른다. 내가 만들고 싶은 것은 2개의 교차 확인에 입력하는 ea입니다(예: ema 2 & 4와 ema 5 & 20의 또 다른 커플) 이것은 메인 코드입니다. 어떻게 해야 합니까? //----------------------- 변수에 대한 값 설정 if(ConfirmedOnEntry==true) { if(CheckTime==iTime(NULL,TimeFrame,0)) return(0); 그렇지 않으면 CheckTime = iTime(NULL,TimeFrame,0); FastMACurrent = iMA(NULL,TimeFrame,FastMAPeriod,FastMAshift,FastMAType,FastMAPrice,1); SlowMACurrent = iMA(NULL,TimeFrame,SlowMAPeriod,SlowMAshift,SlowMAType,SlowMAPrice,1); } 또 다른 { FastMACurrent = iMA(NULL,TimeFrame,FastMAPeriod,FastMAshift,FastMAType,FastMAPrice,0); SlowMACurrent = iMA(NULL,TimeFrame,SlowMAPeriod,SlowMAshift,SlowMAType,SlowMAPrice,0); } CrossDirection = subCrossDirection(FastMACurrent,SlowMACurrent); 나는 모든 것을 시도했지만 해결책을 찾지 못했습니다 ...이 커뮤니티의 건강을 위해 저를 도와주세요 , 나는 이것과 비슷한 것을 원합니다. //----------------------- 변수에 대한 값 설정 if(ConfirmedOnEntry==true) { if(CheckTime==iTime(NULL,TimeFrame,0)) return(0); 그렇지 않으면 CheckTime = iTime(NULL,TimeFrame,0); FastMACurrent = iMA(NULL,TimeFrame,2,FastMAshift,FastMAType,FastMAPrice,1); SlowMACurrent = iMA(NULL,TimeFrame,4,SlowMAshift,SlowMAType,SlowMAPrice,1); FastMACurrent2 = iMA(NULL,TimeFrame,5,FastMAshift,FastMAType,FastMAPrice,1); SlowMACurrent2 = iMA(NULL,TimeFrame,20,SlowMAshift,SlowMAType,SlowMAPrice,1); } 또 다른 { FastMACurrent = iMA(NULL,TimeFrame,2,FastMAshift,FastMAType,FastMAPrice,0); SlowMACurrent = iMA(NULL,TimeFrame,4,SlowMAshift,SlowMAType,SlowMAPrice,0); FastMACurrent2 = iMA(NULL,TimeFrame,5,FastMAshift,FastMAType,FastMAPrice,0); SlowMACurrent2 = iMA(NULL,TimeFrame,20,SlowMAshift,SlowMAType,SlowMAPrice,0); } CrossDirection = subCrossDirection(FastMACurrent,SlowMACurrent && FastMACurrent2,SlowMACurrent2); 파일: universalmacrossea.mq4 33 kb 눈사태 에마 크로스! CyberiaTrader..놀라운 EA! sunshineh 2009.10.15 17:42 #2088 내 표시기에 무슨 문제가 있습니까? 에러 메시지 안녕, 내 표시기의 코드는 다음과 같습니다. #속성 표시기_분리_창 #속성 표시기_버퍼 2 #property indicator_color1 LightSeaGreen #property indicator_color2 파란색 외부 문자열 Timeframe_Momentum = "PERIOD_H1"; extern int Periode_Momentum = 500; extern int Periode_MA_Momentum = 8; 이중 Buffer_Mom[]; 이중 Buffer_Ma[]; 정수 초기화() { //---- 표시기 SetIndexStyle(0,DRAW_LINE); SetIndexStyle(1,DRAW_LINE); SetIndexBuffer(0,Buffer_Mom); SetIndexBuffer(1,Buffer_Ma); //---- SetIndexEmptyValue(0,0.0); SetIndexEmptyValue(1,0.0); SetIndexDrawBegin(0,100); SetIndexDrawBegin(1,100); //---- 리턴(0); } 정수 초기화() { //---- 리턴(0); } 무효 시작() { int counted_bars=IndicatorCounted(); int limit=막대-counted_bars; if(counted_bars>0) 제한++; //---- for(int i=0; i<limit; i++) { Buffer_Mom=iMomentum(NULL,Timeframe_Momentum,Periode_Momentum,PRICE_CLOSE,i); Buffer_Ma=iMAOnArray(Buffer_Mom,0,Periode_MA_Momentum,0,MODE_SMA,i); } 반환(0); } 다음은 기본 Programm에서 사용하는 코드입니다. 이중 GMI1 = iCustom(NULL,0,"GMI",Timeframe_Momentum,Periode_Momentum,Periode_MA_Momentum, 0,1); 이중 GMI2 = iCustom(NULL,0,"GMI",Timeframe_Momentum,Periode_Momentum,Periode_MA_Momentum, 1,2); 이제 내 문제: 다음 오류 메시지가 나타납니다. EURUSD,M5: 표시기 호출 기능 에 대한 매개변수 2의 정수가 잘못되었습니다. 그리고 내 차트에는 Buffer_Ma가 없습니다! 내 코드에 무슨 문제가 있습니까?! How to code? Whats wrong with my 구피 다중 이동 평균 Beno 2009.10.15 17:43 #2089 여보세요 이전 막대의 시가와 고가 사이의 표준 편차 를 어떻게 계산합니까? 어떤 도움이라도 좋습니다. 건배 베노 cockeyedcowboy 2009.10.15 21:31 #2090 PERIOD_H1은 정수 매크로입니다. 해당 행을 다음으로 변경해 보십시오. extern int TimeFrame_Momentum = PERIOD_H1; 또는 PERIOD_H1을 60으로 바꾸고 시도해보십시오. sunshineh: 안녕, 내 표시기의 코드는 다음과 같습니다. #속성 표시기_분리_창 #속성 표시기_버퍼 2 #property indicator_color1 LightSeaGreen #property indicator_color2 파란색 외부 문자열 Timeframe_Momentum = "PERIOD_H1"; extern int Periode_Momentum = 500; extern int Periode_MA_Momentum = 8; 이중 Buffer_Mom[]; 이중 Buffer_Ma[]; 정수 초기화() { //---- 표시기 SetIndexStyle(0,DRAW_LINE); SetIndexStyle(1,DRAW_LINE); SetIndexBuffer(0,Buffer_Mom); SetIndexBuffer(1,Buffer_Ma); //---- SetIndexEmptyValue(0,0.0); SetIndexEmptyValue(1,0.0); SetIndexDrawBegin(0,100); SetIndexDrawBegin(1,100); //---- 리턴(0); } 정수 초기화() { //---- 리턴(0); } 무효 시작() { int counted_bars=IndicatorCounted(); int limit=막대-counted_bars; if(counted_bars>0) 제한++; //---- for(int i=0; i<limit; i++) { Buffer_Mom=iMomentum(NULL,Timeframe_Momentum,Periode_Momentum,PRICE_CLOSE,i); Buffer_Ma=iMAOnArray(Buffer_Mom,0,Periode_MA_Momentum,0,MODE_SMA,i); } 리턴(0); } 다음은 기본 Programm에서 사용하는 코드입니다. 이중 GMI1 = iCustom(NULL,0,"GMI",Timeframe_Momentum,Periode_Momentum,Periode_MA_Momentum, 0,1); 이중 GMI2 = iCustom(NULL,0,"GMI",Timeframe_Momentum,Periode_Momentum,Periode_MA_Momentum, 1,2); 이제 내 문제: 다음 오류 메시지가 나타납니다. EURUSD,M5: 표시기 호출 기능에 대한 매개변수 2의 정수가 잘못되었습니다. 그리고 내 차트에는 Buffer_Ma가 없습니다! 내 코드에 무슨 문제가 있습니까?! 1...202203204205206207208209210211212213214215216...347 새 코멘트 사유: 취소 트레이딩 기회를 놓치고 있어요: 무료 트레이딩 앱 복사용 8,000 이상의 시그널 금융 시장 개척을 위한 경제 뉴스 등록 로그인 공백없는 라틴 문자 비밀번호가 이 이메일로 전송될 것입니다 오류 발생됨 Google으로 로그인 웹사이트 정책 및 이용약관에 동의합니다. 계정이 없으시면, 가입하십시오 MQL5.com 웹사이트에 로그인을 하기 위해 쿠키를 허용하십시오. 브라우저에서 필요한 설정을 활성화하시지 않으면, 로그인할 수 없습니다. 사용자명/비밀번호를 잊으셨습니까? Google으로 로그인
안녕하세요 여러분...
누군가가 지표와 EA 코딩을 시작하는 방법을 보여줄 수 있습니까?
안녕 모두... 누군가 나에게 지표와 EA 코딩을 시작하는 방법을 보여줄 수 있습니까?
안녕,
여기를 보십시오: https://www.mql5.com/en/forum/172969/page2
안녕 모두... 누군가가 표시기 및 EA 코딩을 시작하는 방법을 보여줄 수 있습니까?
이 스레드(첫 번째 게시물) 읽기: https://www.mql5.com/en/forum/178706
그리고 이 스레드: https://www.mql5.com/en/forum/173290
안녕 모두... 누군가 나에게 지표와 EA 코딩을 시작하는 방법을 보여줄 수 있습니까?
FF에는 여기저기서 많은 정보가 있습니다. 구글에서 검색하셔도 됩니다.
EA 프로그래밍에 대한 쉬운 소개는 내 시그의 링크를 확인하십시오 . 초보 프로그래머가 시작하기에 좋은 곳입니다.
행운을 빕니다!
럭스
EA 표시기
안녕하세요 여러분,
첨부된 Waddah Attar Explosion에서 EA를 만들 수 있는 사람 의 도움을 요청하고 싶습니다.
응답을 기다리십시오.
고맙습니다.
-에스-
ea 유니버셜 마 2 크로스
안녕하세요 여러분!
이 firedave's ea를 수정하기 위해 찾고 있습니다(이 포럼에서)
더 에아는 '유니버설 마크로스 에아'라고 부른다.
내가 만들고 싶은 것은 2개의 교차 확인에 입력하는 ea입니다(예: ema 2 & 4와 ema 5 & 20의 또 다른 커플)
이것은 메인 코드입니다. 어떻게 해야 합니까?
if(ConfirmedOnEntry==true)
{
if(CheckTime==iTime(NULL,TimeFrame,0)) return(0); 그렇지 않으면 CheckTime = iTime(NULL,TimeFrame,0);
FastMACurrent = iMA(NULL,TimeFrame,FastMAPeriod,FastMAshift,FastMAType,FastMAPrice,1);
SlowMACurrent = iMA(NULL,TimeFrame,SlowMAPeriod,SlowMAshift,SlowMAType,SlowMAPrice,1);
}
또 다른
{
FastMACurrent = iMA(NULL,TimeFrame,FastMAPeriod,FastMAshift,FastMAType,FastMAPrice,0);
SlowMACurrent = iMA(NULL,TimeFrame,SlowMAPeriod,SlowMAshift,SlowMAType,SlowMAPrice,0);
}
CrossDirection = subCrossDirection(FastMACurrent,SlowMACurrent);나는 모든 것을 시도했지만 해결책을 찾지 못했습니다 ...이 커뮤니티의 건강을 위해 저를 도와주세요 , 나는 이것과 비슷한 것을 원합니다.
if(ConfirmedOnEntry==true)
{
if(CheckTime==iTime(NULL,TimeFrame,0)) return(0); 그렇지 않으면 CheckTime = iTime(NULL,TimeFrame,0);
FastMACurrent = iMA(NULL,TimeFrame,2,FastMAshift,FastMAType,FastMAPrice,1);
SlowMACurrent = iMA(NULL,TimeFrame,4,SlowMAshift,SlowMAType,SlowMAPrice,1);
FastMACurrent2 = iMA(NULL,TimeFrame,5,FastMAshift,FastMAType,FastMAPrice,1);
SlowMACurrent2 = iMA(NULL,TimeFrame,20,SlowMAshift,SlowMAType,SlowMAPrice,1);
}
또 다른
{
FastMACurrent = iMA(NULL,TimeFrame,2,FastMAshift,FastMAType,FastMAPrice,0);
SlowMACurrent = iMA(NULL,TimeFrame,4,SlowMAshift,SlowMAType,SlowMAPrice,0);
FastMACurrent2 = iMA(NULL,TimeFrame,5,FastMAshift,FastMAType,FastMAPrice,0);
SlowMACurrent2 = iMA(NULL,TimeFrame,20,SlowMAshift,SlowMAType,SlowMAPrice,0);
}
CrossDirection = subCrossDirection(FastMACurrent,SlowMACurrent && FastMACurrent2,SlowMACurrent2);내 표시기에 무슨 문제가 있습니까? 에러 메시지
안녕,
내 표시기의 코드는 다음과 같습니다.
#속성 표시기_분리_창
#속성 표시기_버퍼 2
#property indicator_color1 LightSeaGreen
#property indicator_color2 파란색
외부 문자열 Timeframe_Momentum = "PERIOD_H1";
extern int Periode_Momentum = 500;
extern int Periode_MA_Momentum = 8;
이중 Buffer_Mom[];
이중 Buffer_Ma[];
정수 초기화()
{
//---- 표시기
SetIndexStyle(0,DRAW_LINE);
SetIndexStyle(1,DRAW_LINE);
SetIndexBuffer(0,Buffer_Mom);
SetIndexBuffer(1,Buffer_Ma);
//----
SetIndexEmptyValue(0,0.0);
SetIndexEmptyValue(1,0.0);
SetIndexDrawBegin(0,100);
SetIndexDrawBegin(1,100);
//----
리턴(0);
}
정수 초기화()
{
//----
리턴(0);
}
무효 시작()
{
int counted_bars=IndicatorCounted();
int limit=막대-counted_bars;
if(counted_bars>0) 제한++;
//----
for(int i=0; i<limit; i++)
{
Buffer_Mom=iMomentum(NULL,Timeframe_Momentum,Periode_Momentum,PRICE_CLOSE,i);
Buffer_Ma=iMAOnArray(Buffer_Mom,0,Periode_MA_Momentum,0,MODE_SMA,i);
}
반환(0);
}
다음은 기본 Programm에서 사용하는 코드입니다.
이중 GMI1 = iCustom(NULL,0,"GMI",Timeframe_Momentum,Periode_Momentum,Periode_MA_Momentum, 0,1);
이중 GMI2 = iCustom(NULL,0,"GMI",Timeframe_Momentum,Periode_Momentum,Periode_MA_Momentum, 1,2);
이제 내 문제:
다음 오류 메시지가 나타납니다. EURUSD,M5: 표시기 호출 기능 에 대한 매개변수 2의 정수가 잘못되었습니다.
그리고 내 차트에는 Buffer_Ma가 없습니다! 내 코드에 무슨 문제가 있습니까?!
여보세요
이전 막대의 시가와 고가 사이의 표준 편차 를 어떻게 계산합니까?
어떤 도움이라도 좋습니다.
건배
베노
PERIOD_H1은 정수 매크로입니다. 해당 행을 다음으로 변경해 보십시오.
extern int TimeFrame_Momentum = PERIOD_H1;
또는 PERIOD_H1을 60으로 바꾸고 시도해보십시오.
안녕,
내 표시기의 코드는 다음과 같습니다.
#속성 표시기_분리_창
#속성 표시기_버퍼 2
#property indicator_color1 LightSeaGreen
#property indicator_color2 파란색
외부 문자열 Timeframe_Momentum = "PERIOD_H1";
extern int Periode_Momentum = 500;
extern int Periode_MA_Momentum = 8;
이중 Buffer_Mom[];
이중 Buffer_Ma[];
정수 초기화()
{
//---- 표시기
SetIndexStyle(0,DRAW_LINE);
SetIndexStyle(1,DRAW_LINE);
SetIndexBuffer(0,Buffer_Mom);
SetIndexBuffer(1,Buffer_Ma);
//----
SetIndexEmptyValue(0,0.0);
SetIndexEmptyValue(1,0.0);
SetIndexDrawBegin(0,100);
SetIndexDrawBegin(1,100);
//----
리턴(0);
}
정수 초기화()
{
//----
리턴(0);
}
무효 시작()
{
int counted_bars=IndicatorCounted();
int limit=막대-counted_bars;
if(counted_bars>0) 제한++;
//----
for(int i=0; i<limit; i++)
{
Buffer_Mom=iMomentum(NULL,Timeframe_Momentum,Periode_Momentum,PRICE_CLOSE,i);
Buffer_Ma=iMAOnArray(Buffer_Mom,0,Periode_MA_Momentum,0,MODE_SMA,i);
}
리턴(0);
}
다음은 기본 Programm에서 사용하는 코드입니다.
이중 GMI1 = iCustom(NULL,0,"GMI",Timeframe_Momentum,Periode_Momentum,Periode_MA_Momentum, 0,1);
이중 GMI2 = iCustom(NULL,0,"GMI",Timeframe_Momentum,Periode_Momentum,Periode_MA_Momentum, 1,2);
이제 내 문제:
다음 오류 메시지가 나타납니다. EURUSD,M5: 표시기 호출 기능에 대한 매개변수 2의 정수가 잘못되었습니다.
그리고 내 차트에는 Buffer_Ma가 없습니다! 내 코드에 무슨 문제가 있습니까?!