どんな新人の質問でも、フォーラムを乱雑にしないように。プロフェッショナルは、通り過ぎないでください。Nowhere without you - 6. - ページ 782 1...775776777778779780781782783784785786787788789...1178 新しいコメント Vitalie Postolache 2014.11.18 20:22 #7811 Leonid123456: テスターに何も表示されない...OrderSelect() どこに書いてある? Leon 2014.11.18 20:22 #7812 上for(int d=0; d<OrdersTotal(); d++)if(OrderSelect(d,SELECT_BY_POS)) Vitalie Postolache 2014.11.18 20:24 #7813 コード全体が必要なのか、不明確で、ここに一枚、あそこに一枚・・・。 Leon 2014.11.18 20:24 #7814 Leonid123456:上for(int d=0; d<OrdersTotal(); d++)if(OrderSelect(d,SELECT_BY_POS)) をそのまま関数に書き込みました。 Leon 2014.11.18 20:25 #7815 になってしまう)何が何だかわからなくなりそうです Leon 2014.11.18 20: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 20:30 #7817 恐怖 Leon 2014.11.18 20:31 #7818 evillive: 恐怖)) Leon 2014.11.18 20:33 #7819 選択肢の中から...多少なりとも動いている /*。*/ Vitalie Postolache 2014.11.18 20:36 #7820 あちこちにOrderSelect() があるが、本当に必要な場所、閉じる前のOrderSelect()がない。 1...775776777778779780781782783784785786787788789...1178 新しいコメント 取引の機会を逃しています。 無料取引アプリ 8千を超えるシグナルをコピー 金融ニュースで金融マーケットを探索 新規登録 ログイン スペースを含まないラテン文字 このメールにパスワードが送信されます エラーが発生しました Googleでログイン WebサイトポリシーおよびMQL5.COM利用規約に同意します。 新規登録 MQL5.com WebサイトへのログインにCookieの使用を許可します。 ログインするには、ブラウザで必要な設定を有効にしてください。 ログイン/パスワードをお忘れですか? Googleでログイン
テスターに何も表示されない...
上
for(int d=0; d<OrdersTotal(); d++)
if(OrderSelect(d,SELECT_BY_POS))
上
for(int d=0; d<OrdersTotal(); d++)
if(OrderSelect(d,SELECT_BY_POS))
になってしまう)
何が何だかわからなくなりそうです
恐怖
選択肢の中から...多少なりとも動いている /*。
*/