포럼을 어지럽히 지 않도록 모든 초보자 질문. 프로, 놓치지 마세요. 너 없이는 아무데도 - 6. - 페이지 782 1...775776777778779780781782783784785786787788789...1178 새 코멘트 Vitalie Postolache 2014.11.18 21:22 #7811 Leonid123456 : 시험에 아무것도... OrderSelect() 어디에 등록되어 있습니까? Leon 2014.11.18 21:22 #7812 더 높은 for(int d=0; d<OrdersTotal(); d++) if( 주문선택(d, SELECT_BY_POS )) Vitalie Postolache 2014.11.18 21:24 #7813 전체 코드가 필요합니다. 너무 이해할 수 없습니다. 여기에는 일부, 저기에는 일부 ... Leon 2014.11.18 21:24 #7814 Leonid123456 : 더 높은 for(int d=0; d<OrdersTotal(); d++) if(주문선택(d,SELECT_BY_POS)) 변경 없이 함수에 작성 Leon 2014.11.18 21:25 #7815 엉망이있다) 무엇인지 이해하기가 훨씬 더 어려울 것입니다. Leon 2014.11.18 21:27 #7816 if(New_Bar) { OrderSend(Symbol(),OP_BUYSTOP,Lotpers,Ask+step,100,0,0,NULL,MagicNumber,0,DarkTurquoise); OrderSend(Symbol(),OP_SELLSTOP,Lotpers,Bid-step,100,0,0,NULL,MagicNumber,0,Yellow); } for(int b=0; b<OrdersTotal(); b++) if(OrderSelect(b,SELECT_BY_POS)){ lastlot = OrderLots(); } for(int c=0; c<OrdersTotal(); c++) { if(OrderSelect(c,SELECT_BY_POS)){ if (OrderType() == OP_BUYSTOP||OrderType() == OP_BUY) orderprisebuy= OrderOpenPrice(); } for(int d=0; d<OrdersTotal(); d++) if(OrderSelect(d,SELECT_BY_POS)) if (OrderType() == OP_SELLSTOP||OrderType() == OP_SELL) orderprisecell= OrderOpenPrice(); } SL_VirtualCell = orderprisecell+step1*Point; SL_VirtualBuy = orderprisebuy-step1*Point; /* if(Mas_Tip[0] >0|| Mas_Tip[1] >0) { if (New_Bar&&/*valsar1<Ask && osma0>0&&osma1<0 /*&& Volume[1]>VolumeFiltr) OrderSend(Symbol(),OP_BUY,NormalizeDouble( lastlot*Marti,2),Ask,100,0,0,NULL,MagicNumber,0,DarkTurquoise); if (New_Bar&& /*valsar1>Bid && osma0<0&&osma1>0 /* && Volume[1]>VolumeFiltr) OrderSend(Symbol(),OP_SELL,NormalizeDouble( lastlot*Marti,2),Bid,100,0,0,NULL,MagicNumber,0,Yellow); }*/ CheckEvents( MagicNumber ); /*if ( eventSellClosed_SL >0|| eventBuyClosed_SL >0) { as(); } /* /// if ( eventBuyClosed_TP > 0 ) // Alert( Symbol(), ": Buy-позиция закрыта по ТейкПрофиту!" ); */ if ( eventBuyStopOpened > 0 ){ OrderSend(Symbol(),OP_SELLSTOP,NormalizeDouble( Lotpers,5),orderprisecell,0,0,0,NULL,MagicNumber,0,clrKhaki); } if( eventBuyStopOpened > 0 ) if (OrderType() == OP_SELL){ OrderClose(OrderTicket(),OrderLots(), Ask, 3,clrIvory ); } /// if ( eventSellStopOpened > 0 ) { OrderSend(Symbol(),OP_BUYSTOP,NormalizeDouble( Lotpers,5),orderprisebuy,0,0,0,NULL,MagicNumber,0,clrPlum); } if ( eventSellStopOpened > 0 ) if (OrderType() == OP_BUY){ OrderClose(OrderTicket(),OrderLots(), Bid, 3,clrIvory ); } Vitalie Postolache 2014.11.18 21:30 #7817 공포... Leon 2014.11.18 21:31 #7818 evillive : 공포... )) Leon 2014.11.18 21:33 #7819 옵션을 정렬하는 중입니다 ... 다소간 작동 중 /* */ Vitalie Postolache 2014.11.18 21:36 #7820 필요하고 필요하지 않은 모든 곳에서 OrderSelect() 가 중단되고 실제로 등록해야 하는 곳이 닫히기 전에 없습니다. 1...775776777778779780781782783784785786787788789...1178 새 코멘트 트레이딩 기회를 놓치고 있어요: 무료 트레이딩 앱 복사용 8,000 이상의 시그널 금융 시장 개척을 위한 경제 뉴스 등록 로그인 공백없는 라틴 문자 비밀번호가 이 이메일로 전송될 것입니다 오류 발생됨 Google으로 로그인 웹사이트 정책 및 이용약관에 동의합니다. 계정이 없으시면, 가입하십시오 MQL5.com 웹사이트에 로그인을 하기 위해 쿠키를 허용하십시오. 브라우저에서 필요한 설정을 활성화하시지 않으면, 로그인할 수 없습니다. 사용자명/비밀번호를 잊으셨습니까? Google으로 로그인
시험에 아무것도...
더 높은
for(int d=0; d<OrdersTotal(); d++)
if( 주문선택(d, SELECT_BY_POS ))
더 높은
for(int d=0; d<OrdersTotal(); d++)
if(주문선택(d,SELECT_BY_POS))
엉망이있다)
무엇인지 이해하기가 훨씬 더 어려울 것입니다.
공포...
옵션을 정렬하는 중입니다 ... 다소간 작동 중 /*
*/