당신도 손절매가 필요하다는 것이 밝혀졌습니다 - (왜 즉시 닫혔는지 이해할 수 없음) 손절매 를 추가했습니다
매우 감사합니다 !!!
당신은 모든 것을 잘 블라인드했지만 고문의 완전히 다른 알고리즘에 관심이 있습니다. 다음 사용자 지정 옵션과 함께 간단한 마틴게일(그리드)을 사용하고 싶습니다.
input group "======== МАРТИН ========";
inputint MMType = 1 ; // 1 - вкл. , 2 - выкл.
inputdouble Multiplikator = 1.667 ; // множитель следующего лота
inputdouble Step = 150.0 ; // Расстояние между ордерами
input group "==== МАНИ МЕНЕДЖМЕНТ ====;
inputbool LotConst = true ; // фиксированный - true , или от баланса - falseinput group "-: фиксированный лот :--";
inputdouble Lot = 0.01 ; // первый фиксированный лот, если МАРТИН включен
input group "---: лот от баланса :---";
inputdouble RiskPercent = 30.0 ; // первый лот в процентах от баланса, если МАРТИН включен
input group "== ПРИБЫЛЬ В ПУНКТАХ ===";
inputdouble TakeProfit = 56.0 ; // параметры тейкпрофита в пунктах
input group "========= Шаг ==========";
inputdouble Step = 150.0 ; // шаг в пунктах между ордерами
input group "===== ОГРАНИЧИТЕЛЬ =====";
inputint MaxTrades = 15 ; // Максимальное количество ордеров одного направления
input group "=== ПРОСКАЛЬЗОВАНИЕ ====";
inputdouble Slippage = 5.0 ; // Допустимое проскальзывание на новостях в пунктах
input group "== МАГИЧЕСКИЙ НОМЕР ===";
inputint Magic = 1111111 ; // Идентификатор ордера (Магик №)
, 그러나 내가 위에 넣은 표시기를 추가하십시오. 그리고 그것을 트리거로 사용하십시오(거짓 - 우리는 SHORT에서만 작동하고 참 - 우리는 LONG에서만 작동합니다).
나는 이 지표가 MovingAverages처럼 작동하기 때문에 선택했지만 메뉴의 이익 설정을 사용하여 추세 전용 EA 트리거로 사용할 수 있는 몇 가지 스무딩 필터와 가격 반전 포인트가 있습니다.
그리고 테이크가 종료되자마자 추세가 끝나고 전환될 때까지 같은 방향(추세와 함께)으로 다음 주문을 엽니다. 그럼에도 불구하고 추세를 따르지 않는 주문이 나타나면(현재 추세가 한 상태에서 다른 상태로 변경되면 메뉴의 설정과 함께 Martin을 사용하십시오.
그러한 고문을 작성하는 데 도움이 되고자 하는 소망이 있다면 매우 감사할 것입니다.
이제 주제:
내가 알기로는 칠면조 자체에 대한 내 코드에는 표시기 버퍼 가 아니라 버퍼 배열이 있으며 이를 어드바이저의 표시기 버퍼로 가져왔습니다.
질문을 복제하겠습니다. 그렇지 않으면 그들이 눈치채지 못했을 수 있습니다.))) 이 모든 방법을 사용하려면 어느 클래스에서 클래스를 상속해야 하는지 알려주세요
자신의 클래스 내부에 객체를 생성 하지 않고 자체 클래스 내부의 거래 클래스?
상속은 클래스를 만드는 것을 의미합니다.
안녕하세요!
EA를 만드는 데 사용하고 싶은 mql5로 작성된 표시기가 있습니다.
Expert Advisor에서 생성할 때 필요한 버퍼를 찾을 수 없어 아예 존재하지 않는 것 같습니다.
나는 이것을 이렇게 한다:
iCustom 라인을 어떻게 변경하고 보완하더라도 로그에 계속 같은 내용이 기록됩니다.
2021.06.26 17:59:42.251 프로바 (EURUSD,M15) 1.00000
그리고 코멘트에서: 1.00000 그리고 다시 1.00000
이해를 도와주세요. 고문을 만드는 데 적합합니까, 아니면 마무리해야 합니까, 아니면 일반적으로 제가 뭔가 잘못하고 있습니까?MT5에서는 다르게 사용됩니다. 예제는 도움말을 참조하십시오.
아이커스텀
지정된 사용자 지정 표시기의 핸들을 반환합니다 .
https://www.mql5.com/ru/docs/indicators/icustom
MT5에서는 다르게 사용됩니다. 예제는 도움말을 참조하십시오.
아이커스텀
지정된 사용자 지정 표시기의 핸들을 반환합니다 .
https://www.mql5.com/ru/docs/indicators/icustom
저는 이제 막 프로그램을 시작하고 있으며 저를 관대하게 대해 주시기 바랍니다.
나는 이것이 추가 기능이 필요하다고 의심하기 시작했습니다.
무엇을 .... 어디서 .... 그리고 어떻게 .... 설명해주세요.
안녕하세요!
EA를 만드는 데 사용하고 싶은 mql5로 작성된 표시기가 있습니다.
Expert Advisor에서 생성할 때 필요한 버퍼를 찾을 수 없어 아예 존재하지 않는 것 같습니다.
나는 이것을 이렇게 한다:
iCustom 라인을 어떻게 변경하고 보완하더라도 로그에 계속 같은 내용이 기록됩니다.
2021.06.26 17:59:42.251 프로바 (EURUSD,M15) 1.00000
그리고 코멘트에서: 1.00000 그리고 다시 1.00000
이해를 도와주세요. 고문을 만드는 데 적합합니까, 아니면 마무리해야 합니까, 아니면 일반적으로 제가 뭔가 잘못하고 있습니까?코드:
결과:
안녕하세요!
EA를 만드는 데 사용하고 싶은 mql5로 작성된 표시기가 있습니다.
여기 블라인드가 있습니다. 작동하는 것 같습니다! (노란색 버퍼가 있는 곳)
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\\\\\\\\\
손절매도 필요하다는 것이 밝혀졌습니다. (왜 즉시 닫혔는지 이해할 수 없음) 손절매 를 추가했습니다.
나는 이것이 추가 기능이 필요하다고 의심하기 시작했습니다.
예 모든 것이 맞습니다. OnInit에서 표시기를 연결하고 거기에 매개변수를 설정하고 핸들을 가져옵니다. 그리고 더 나아가 CopyBuffer를 사용하십시오.
https://www.mql5.com/ru/docs/series/copybuffer
여기 블라인드가 있습니다. 작동하는 것 같습니다! (노란색 버퍼가 있는 곳)
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\\\\\\\\\\\
당신도 손절매가 필요하다는 것이 밝혀졌습니다 - (왜 즉시 닫혔는지 이해할 수 없음) 손절매 를 추가했습니다
매우 감사합니다 !!!
당신은 모든 것을 잘 블라인드했지만 고문의 완전히 다른 알고리즘에 관심이 있습니다. 다음 사용자 지정 옵션과 함께 간단한 마틴게일(그리드)을 사용하고 싶습니다.
, 그러나 내가 위에 넣은 표시기를 추가하십시오. 그리고 그것을 트리거로 사용하십시오(거짓 - 우리는 SHORT에서만 작동하고 참 - 우리는 LONG에서만 작동합니다).
나는 이 지표가 MovingAverages처럼 작동하기 때문에 선택했지만 메뉴의 이익 설정을 사용하여 추세 전용 EA 트리거로 사용할 수 있는 몇 가지 스무딩 필터와 가격 반전 포인트가 있습니다.
그리고 테이크가 종료되자마자 추세가 끝나고 전환될 때까지 같은 방향(추세와 함께)으로 다음 주문을 엽니다. 그럼에도 불구하고 추세를 따르지 않는 주문이 나타나면(현재 추세가 한 상태에서 다른 상태로 변경되면 메뉴의 설정과 함께 Martin을 사용하십시오.
그러한 고문을 작성하는 데 도움이 되고자 하는 소망이 있다면 매우 감사할 것입니다.
이제 주제:
독학해서 설명할 수 없습니다. 필요한 기능만 선택했습니다. 여기 저기 저쪽으로 압니다.
기본적으로 Vladimir Karputov 의 코드에서 모든 기능을 복사합니다. 정말 감사합니다!!! - 질문이 있으면 그가 당신에게 말할 것입니다.
내가 알기로는 필터링 할 지표가 필요합니다!?
이 필터를 통해 전문가를 통과해야 합니다.