절반 부지를 폐쇄합니다. - 페이지 10

 
DomGilberto :

LOL, 감사합니다. 하지만 그 비트는 다른 비트와 연결되지 않습니다. . . 15:50:27 부터 비트를 찾을 수 있으므로 절반이 마감되기 전에 입찰 가격을 볼 수 있습니다. . .
 
DomGilberto : 티켓 번호가 모두 같은 경우 계속해서 반을 연속적으로 닫으려는 시도를 중지하려면 어떻게 해야 하나요? 한 번만 반쯤 닫고 싶다...

전반부를 닫으면 새로운 티켓 번호를 받게 됩니다.

제대로 코딩해야 합니다. A) SL을 BE+1로 이동한 다음 닫습니다. SL이 이미 BE 위에 있으면 원래의 1/2 종가를 이미 한 것입니다. 나) 고정 로트 사이즈를 사용하는 경우 확인할 수 있습니다. C) 처음 1/2 클로즈를 할 때까지 TP를 설정하지 마십시오. D) 두 개의 주문을 열고 별도의 TP를 사용합니다. E) 영구 저장소(파일)에 티켓 번호 쓰기 ...

 
RaptorUK :
LOL, 감사합니다. 하지만 그 비트는 다른 비트와 연결되지 않습니다. . . 15:50:27 부터 비트를 찾을 수 있으므로 절반이 마감되기 전에 입찰 가격을 볼 수 있습니다. . .


나머지는 이거? :
 16 : 50 : 22 2013.02 . 04 07 : 35   trendfishing_play_ground EURUSD,H1: OrderModify error 1
16 : 50 : 22 2013.02 . 04 07 : 35   trendfishing_play_ground EURUSD,H1: OrderModify error 1
16 : 50 : 22 2013.02 . 04 07 : 35   trendfishing_play_ground EURUSD,H1: OrderModify error 1
16 : 50 : 22 2013.02 . 04 07 : 35   trendfishing_play_ground EURUSD,H1: OrderModify error 1
16 : 50 : 22 2013.02 . 04 07 : 35   trendfishing_play_ground EURUSD,H1: OrderModify error 1
16 : 50 : 22 2013.02 . 04 07 : 35   trendfishing_play_ground EURUSD,H1: OrderModify error 1
16 : 50 : 22 2013.02 . 04 07 : 35   trendfishing_play_ground EURUSD,H1: OrderModify error 1
16 : 50 : 22 2013.02 . 04 07 : 35   trendfishing_play_ground EURUSD,H1: OrderModify error 1
16 : 50 : 22 2013.02 . 04 07 : 35   trendfishing_play_ground EURUSD,H1: OrderModify error 1
16 : 50 : 22 2013.02 . 04 07 : 35   trendfishing_play_ground EURUSD,H1: OrderModify error 1
16 : 50 : 22 2013.02 . 04 07 : 35   trendfishing_play_ground EURUSD,H1: modify # 14 buy 0.20 EURUSD at 1.36740 sl: 1.36079 tp: 1.38722 ok
16 : 50 : 22 2013.02 . 04 07 : 38   trendfishing_play_ground EURUSD,H1: OrderModify error 1
16 : 50 : 22 2013.02 . 04 07 : 38   trendfishing_play_ground EURUSD,H1: OrderModify error 1
16 : 50 : 22 2013.02 . 04 07 : 38   trendfishing_play_ground EURUSD,H1: OrderModify error 1
 
WHRoeder :

전반부를 닫으면 새로운 티켓 번호를 받게 됩니다.

제대로 코딩해야 합니다. A) SL을 BE+1로 이동한 다음 닫습니다. SL이 이미 BE 위에 있으면 원래의 1/2 청산을 이미 한 것입니다. 나) 고정 로트 사이즈를 사용하는 경우 확인할 수 있습니다. C) 첫 번째 1/2 클로즈를 할 때까지 TP를 설정하지 마십시오. D) 두 개의 주문을 열고 별도의 TP를 사용합니다. E) 영구 저장소(파일)에 티켓 번호 쓰기 ...



A) 나는 이것을 시도할 것이다.

나) 고정 로트 크기를 사용하지 않습니다.

C) 이것이 어떤 차이를 만드는지 확실하지 않습니까?

D) 4개의 주문을 열어야 할 것입니다. - 주어진 가격으로 로트를 마감하는 것이 더 쉬울 것이라고 생각했습니다... 그렇지 않을 것 같아요! 이 경로를 할 수 있습니다.

E) 영구 저장소에 티켓 번호를 쓰는 방법을 모릅니다.

조언 감사합니다!

 
DomGilberto :

나머지는 이거? :

아니요, 바로 앞 부분:

 2013.08 . 02 15 : 50 : 27      2013.01 . 31 07 : 00   trendfishing_play_ground EURUSD,H1: Half Closed Order Details:- Lots Remaining Open: 0.17 Closing Price was: 1.3557 Magic Number is : 1234 Order Ticket Number: 7
2013.08 . 02 15 : 50 : 27      2013.01 . 31 07 : 00   trendfishing_play_ground EURUSD,H1: close # 7 buy 0.17 EURUSD at 1.34916 sl: 1.35128 tp: 1.36117 at price 1.35566
2013.08 . 02 15 : 50 : 27      2013.01 . 31 07 : 00   trendfishing_play_ground EURUSD,H1: Bid >= FirstTarget_Buy - Current Bid: 1.35566 FirstTarget_Buy: 1.35517
2013.08 . 02 15 : 50 : 27      2013.01 . 31 07 : 00   trendfishing_play_ground EURUSD,H1: Current Bid: 1.35566 FirstTarget_Buy: 1.35517
2013.08 . 02 15 : 50 : 27      2013.01 . 31 07 : 00   trendfishing_play_ground EURUSD,H1: FirstTarget_Buy: 1.35517
2013.08 . 02 15 : 50 : 27      2013.01 . 31 07 : 00   trendfishing_play_ground EURUSD,H1: Order Lots Open = 0.33
2013.08 . 02 15 : 50 : 27      2013.01 . 31 07 : 00   trendfishing_play_ground EURUSD,H1: Order Ticker Number = 7
2013.08 . 02 15 : 50 : 27      2013.01 . 31 07 : 00   trendfishing_play_ground EURUSD,H1: The Lots to close is : 0.17000
2013.08 . 02 15 : 50 : 27      2013.01 . 31 07 : 00   trendfishing_play_ground EURUSD,H1: The Lotstep is : 0.01000
 
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:00  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:01  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:02  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:02  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 06:02  trendfishing_play_ground EURUSD,H1: OrderModify error 1
16:48:28 2013.01.31 07:00  trendfishing_play_ground EURUSD,H1: open #12 buy stop 0.27 EURUSD at 1.35862 sl: 1.35120 tp: 1.37346 ok
16:48:28 2013.01.31 07:00  trendfishing_play_ground EURUSD,H1:  First Buy Order placed:- Lots to open: 0.27537 Entry Price: 1.35862 Buy Stop Loss: 1.35120 Buy Take Profit: 1.37346 Magic Number is: 1234.00000 Order Ticket Number: 11
16:48:28 2013.01.31 07:00  trendfishing_play_ground EURUSD,H1:  Checking Buy Order:- Lots to open: 0.27 Entry Price: 1.3586 Buy Stop Loss: 1.3512 Buy Take Profit: 1.3735 Magic Number is: 1234 Order Ticket Number: 12
16:48:28 2013.01.31 07:00  trendfishing_play_ground EURUSD,H1: delete #12 buy stop 0.27 EURUSD at 1.35862 sl: 1.35120 tp: 1.37346 ok
16:48:28 2013.01.31 07:00  trendfishing_play_ground EURUSD,H1:  Checking Buy Order:- Lots to open: 0.33 Entry Price: 1.3492 Buy Stop Loss: 1.3513 Buy Take Profit: 1.3612 Magic Number is: 1234 Order Ticket Number: 11
16:48:28 2013.01.31 07:00  trendfishing_play_ground EURUSD,H1: The minimum lots are: 0.01000
16:48:28 2013.01.31 07:00  trendfishing_play_ground EURUSD,H1: The Lotstep is: 0.01000
16:48:28 2013.01.31 07:00  trendfishing_play_ground EURUSD,H1: The Lots to close is: 0.17000
16:48:28 2013.01.31 07:00  trendfishing_play_ground EURUSD,H1: Order Ticker Number = 11
16:48:28 2013.01.31 07:00  trendfishing_play_ground EURUSD,H1: Order Lots Open = 0.33
16:48:28 2013.01.31 07:00  trendfishing_play_ground EURUSD,H1: FirstTarget_Buy: 1.35517
16:48:28 2013.01.31 07:00  trendfishing_play_ground EURUSD,H1: Current Bid: 1.35566 FirstTarget_Buy: 1.35517
16:48:28 2013.01.31 07:00  trendfishing_play_ground EURUSD,H1: Bid >= FirstTarget_Buy - Current Bid: 1.35566 FirstTarget_Buy: 1.35517
16:48:28 2013.01.31 07:00  trendfishing_play_ground EURUSD,H1: close #11 buy 0.17 EURUSD at 1.34916 sl: 1.35128 tp: 1.36117 at price 1.35566
16:48:28 2013.01.31 07:00  trendfishing_play_ground EURUSD,H1:  Half Closed Order Details:- Lots Remaining Open: 0.17 Closing Price was: 1.3557 Magic Number is: 1234 Order Ticket Number: 11
16:48:28 2013.01.31 07:00  trendfishing_play_ground EURUSD,H1: modify #13 buy 0.16 EURUSD at 1.34916 sl: 1.35135 tp: 1.36117 ok
 
RaptorUK :

아니요, 바로 앞 부분:


말 그대로 그게 전부입니까? 그것은 로그에서 거기 위의 모든 데이터 사이를 흐른다?
 

아하하하하 . . . . .

당신은 거래를 배치합니다. . . 그런 다음 한 시간 후에 첫 번째 목표를 달성했는지 확인하십시오 . . . 따라서 입찰가는 쉽게 목표를 훨씬 능가할 수 있습니다. . .

   if (IsNewCandle())
      {
      CheckForMaTrade(); //signals, deletions and candle trails only need checked on a new candle.
       if (UseCandleTrail)AdjustTrail();
      }
 
아 그래요. 기본적으로 보류 중인 주문이 실행된 후 모든 틱 을 확인해야 합니까(OP_BUY)?
 
DomGilberto :
아 그래요. 기본적으로 보류 중인 주문이 실행된 후 모든 틱을 확인해야 합니까(OP_BUY)?