| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack (2) | Thread Tools | Display Modes |
|
|||
|
S.O.S: Problem with Buy_STOP/Sell_STOP
Hello all,
I'd like to have a buystop and a sellstop taken at the same time. The buystop is always triggered, but the sellstop is only triggered for one second and disappeared leaving only the buystop. How do I correct that? Do I need to post some other parts of the code in order for you to help? Thanks in advance for helping me. Regards, forexcel Code: if(position && lastsig!=1) { co=CalculateCurrentOrders(Symbol()) ; if (co==0) { res = OpenStop(OP_BUYSTOP,LotsRisk(StopLo ss), High[shift]+OrderPipsDiff*Point, StopLoss, TakeProfit1); res = OpenStop(OP_SELLSTOP,LotsRisk(StopL oss),Low[shift]-OrderPipsDiff*Point, StopLoss, TakeProfit2); } last=Time[0]; lastsig=1; return; |
|
||||
:: use your code that only send out one order (a buy or a sell), when you have a confirmation that first one is accepted, start the second request (in your case the opposite then the first one) Quote:
__________________
..updated 4.Oct.08.. IN10TION newsReader v09.84 Lite - the best news reader on your chart
|
|
|||
|
Quote:
Can you code it for me, please? Thanks forexcel |
|
||||
:: is this script working ok? Would be strange because there also, the orders are send together, or shortly after each other, they don't wait for conformation. I think it will make faults sometimes.
__________________
..updated 4.Oct.08.. IN10TION newsReader v09.84 Lite - the best news reader on your chart
Last edited by IN10TION; 06-24-2008 at 02:43 PM. |
|
|||
|
Indicator is on this post http://www.forex-tsd.com/180575-post2.html
|
|
|||
|
Hi folks,
I'm looking for some code that will send me a copy of my statement for a preset period, for example once a week or, once a month. It must be able to send it to an address that I enter in the code if that's possible. I found this piece of code here in the forum, can someone show me how to make it send my statement to any address. Quote:
|
|
|||
|
Quote:
Dave |
![]() |
| Bookmarks |
| Tags |
| histogram, forex |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/questions/270-ask.html
|
||||
| Posted By | For | Type | Date | |
| OzFx System:) - Page 639 | This thread | Refback | 06-21-2008 09:53 PM | |
| Forex SRDC Sidus Sibkis EA MT4 Forum OTCSmart | This thread | Refback | 12-08-2007 11:46 AM | |