This is the result placing only a buy stop:
1 2013.01.25 09:03 buy stop 1 1.00 0.85062 0.84862 0.85262 0.00 10000.00 2 2013.01.25 09:30 buy 1 1.00 0.85062 0.84862 0.85262 0.00 10000.00 3 2013.01.25 09:30 close at stop 1 1.00 0.85064 0.84862 0.85262 -167999999996.65 -167999989996.65
and this is the result of only sell:
1 2013.01.25 09:30 sell 1 1.00 0.85064 0.85262 0.84862 0.00 10000.00 2 2013.01.25 09:30 close at stop 1 1.00 0.85079 0.85262 0.84862 -168000000025.09 -167999990025.09 In the Journal-Tab: 2014.03.05 20:24:33.649 EURGBP,M1: 546411 tick events (2541855 bars, 24929032 bar states) processed within 9812 ms (total time 10421 ms) 2014.03.05 20:24:33.649 2013.01.25 09:30 Tester: order #1 is closed 2014.03.05 20:24:33.649 2013.01.25 09:30 Booom: stopped because of Stop Out 2014.03.05 20:24:33.649 2013.01.25 09:30 Booom EURGBP,M1: After placeOrder 09:30:01 Digits for EURGBP: 5 Ask: 0.85074 Bid: 0.85064 Sprd: 10 2014.03.05 20:24:33.649 2013.01.25 09:30 Booom EURGBP,M1: open #1 sell 1.00 EURGBP at 0.85064 sl: 0.85262 tp: 0.84862 ok 2014.03.05 20:24:33.649 2013.01.25 09:30 Booom EURGBP,M1: Befor placeOrder 09:30:01 Digits for EURGBP: 5 Ask: 0.85074 Bid: 0.85064 Sprd: 10 2014.03.05 20:24:33.649 2013.01.25 09:30 Booom EURGBP,M1: After placeOrder 09:30:00 Digits for EURGBP: 5 Ask: 0.85061 Bid: 0.85051 Sprd: 10 2014.03.05 20:24:33.649 2013.01.25 09:30 Booom EURGBP,M1: Befor placeOrder 09:30:00 Digits for EURGBP: 5 Ask: 0.85061 Bid: 0.85051 Sprd: 10 2014.03.05 20:24:23.839 Booom test started
the sweet little snippet;
if ( !isSell && TimeCurrent() >= D'2013.01.25 09:29:00' && Bid >= 0.8502 ) { ResetLastError(); Print("Befor placeOrder ",TimeToStr(TimeCurrent(),TIME_SECONDS)+" Digits for ",Symbol(),": ",Digits, " Ask: "+DoubleToStr(Ask,Digits)+" Bid: "+DoubleToStr(Bid,Digits)+" Sprd: "+DoubleToStr((Ask-Bid)/Point,0)); if ( Bid >= 0.85060 ) { OrderSend(Symbol(),OP_SELL,1.0,Bid,10,0.85262,0.84862,"WOWc",1,0,Yellow); isSell = true; } Print("After placeOrder ",TimeToStr(TimeCurrent(),TIME_SECONDS)+" Digits for ",Symbol(),": ",Digits, " Ask: "+DoubleToStr(Ask,Digits)+" Bid: "+DoubleToStr(Bid,Digits)+" Sprd: "+DoubleToStr((Ask-Bid)/Point,0)); }
The very sad thing is - it is only and always in favour of the broker :(((
Gooly
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Again more problems :(
This sweet little snippet of code would kill my complete existence:
This is how the chart looks:
And this is what is printed in the Journal-Tab:
Really strange!
The first time this loss appears was with a Buy-Stop at this price (a Sell-Stop was place below the open of this bar).
REALLY Today I am struggling ONLY with things that do not work! The whole Ash-Wednesday wasted!Gooly