안녕하세요! 아래에 첨부된 지표를 기반으로 Expert Advisor를 작성할 수 있습니까? 지표는 가격 채널을 기반으로 하며 종종 진실을 다시 그리지만 본질은 흥미로울 수 있습니다. EA는 매수 또는 매도 화살표가 나타나면 거래를 하고 반대 방향이 나타나면 이 거래를 종료해야 합니다. 누군가 응답하면 매우 감사하겠습니다!
누군가 조언자에서 로트 크기를 변경하기 위해 수행해야 할 작업을 알려줍니다. 그렇지 않으면 항상 0.1에서 구매합니다.
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 더블 로트(int R) { 더블 minlot = MarketInfo(Symbol(), MODE_MINLOT); int o = MathAbs(MathLog(minlot) *0.4343) + 0.5; 이중 로트 = 최소 로트; //오오오오오오오오오오오오오오오오오오오오오오오오오오오오 많은 = NormalizeDouble (AccountFreeMargin() * 0.00001*R, o);//--- if (AccountFreeMargin() < 많은 * MarketInfo(Symbol(), MODE_MARGINREQUIRED)) { 많은 = NormalizeDouble(AccountFreeMargin() / MarketInfo(Symbol(), MODE_MARGINREQUIRED), o); } //오오오오오오오오오오오오오오오오오오오오오오오오오오오오 if(lot < minlot) lot = minlot; 이중 최대 슬롯 = MarketInfo(Symbol(), MODE_MAXLOT); if(lot > maxlot) lot = maxlot; 반환(로트); } //xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_end_film_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
누군가 조언자에서 로트 크기를 변경하기 위해 수행해야 할 작업을 알려줍니다. 그렇지 않으면 항상 0.1에서 구매합니다.
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 더블 로트(int R) { 더블 minlot = MarketInfo(Symbol(), MODE_MINLOT); int o = MathAbs(MathLog(minlot) *0.4343) + 0.5; 이중 로트 = 최소 로트; //오오오오오오오오오오오오오오오오오오오오오오오오오오오오 많은 = NormalizeDouble(AccountFreeMargin() * 0.00001*R, o);//--- if (AccountFreeMargin() < 많은 * MarketInfo(Symbol(), MODE_MARGINREQUIRED)) { 많은 = NormalizeDouble(AccountFreeMargin() / MarketInfo(Symbol(), MODE_MARGINREQUIRED), o); } //오오오오오오오오오오오오오오오오오오오오오오오오오오오오 if(lot < minlot) lot = minlot; 이중 최대 슬롯 = MarketInfo(Symbol(), MODE_MAXLOT); if(lot > maxlot) lot = maxlot; 반환(로트); } //xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_end_film_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
마지막으로 제거하고 ....... 맨 처음에 extern double lot = 0.5 라인을 넣으십시오. 또는 얼마나 필요한지!
여기에서 작업을 수행하고 작동하지 않을 것임을 정당화합니다.)
ㅋㅋㅋㅋㅋㅋ
이 고문이 이 계정에서만 적절하게 작업할 수 있도록 계정 번호 를 삽입할 위치를 알려주십시오.
다음은 예입니다.
정수 시작()
{
// if(계정번호()!=123) return(0);
누군가 조언자에서 로트 크기를 변경하기 위해 수행해야 할 작업을 알려줍니다. 그렇지 않으면 항상 0.1에서 구매합니다.
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
더블 로트(int R) { 더블 minlot = MarketInfo(Symbol(), MODE_MINLOT);
int o = MathAbs(MathLog(minlot) *0.4343) + 0.5;
이중 로트 = 최소 로트;
//오오오오오오오오오오오오오오오오오오오오오오오오오오오오
많은 = NormalizeDouble (AccountFreeMargin() * 0.00001*R, o);//---
if (AccountFreeMargin() < 많은 * MarketInfo(Symbol(), MODE_MARGINREQUIRED)) {
많은 = NormalizeDouble(AccountFreeMargin() / MarketInfo(Symbol(), MODE_MARGINREQUIRED), o);
}
//오오오오오오오오오오오오오오오오오오오오오오오오오오오오
if(lot < minlot) lot = minlot;
이중 최대 슬롯 = MarketInfo(Symbol(), MODE_MAXLOT);
if(lot > maxlot) lot = maxlot;
반환(로트); }
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_end_film_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
누군가 조언자에서 로트 크기를 변경하기 위해 수행해야 할 작업을 알려줍니다. 그렇지 않으면 항상 0.1에서 구매합니다.
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
더블 로트(int R) { 더블 minlot = MarketInfo(Symbol(), MODE_MINLOT);
int o = MathAbs(MathLog(minlot) *0.4343) + 0.5;
이중 로트 = 최소 로트;
//오오오오오오오오오오오오오오오오오오오오오오오오오오오오
많은 = NormalizeDouble(AccountFreeMargin() * 0.00001*R, o);//---
if (AccountFreeMargin() < 많은 * MarketInfo(Symbol(), MODE_MARGINREQUIRED)) {
많은 = NormalizeDouble(AccountFreeMargin() / MarketInfo(Symbol(), MODE_MARGINREQUIRED), o);
}
//오오오오오오오오오오오오오오오오오오오오오오오오오오오오
if(lot < minlot) lot = minlot;
이중 최대 슬롯 = MarketInfo(Symbol(), MODE_MAXLOT);
if(lot > maxlot) lot = maxlot;
반환(로트); }
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_end_film_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
외부 이중 로트 = 0.5
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_end_film_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
그래서 ? 더 이상은 없어