Dukascopy
 
 
Wiki JStore Search Login

Closing of pending orders
 Post subject: Closing of pending orders Post rating: 0   New post Posted: Tue 13 May, 2014, 21:01 

User rating: 1
Joined: Sun 29 Dec, 2013, 15:36
Posts: 17
Location: Russian Federation,
Good afternoon.

Your help is needed in the strategy. Spread strategy for information. Bit description for understanding how this strategy works. ON H1 chart on the pair EUR \ USD.

1)Start strategy at close of the candle, the robot opens two pending orders 20 points above the candle to close and 20 points below the candle close. If within one hour pending orders are not open at forming a new hourly candle old pending orders are closed and open new pending orders, depending on the closing price of the candle.

2) If a pending order is triggered, the other pending order is deleted.


Attachments:
dimon_mag_ver1.vfs [44.32 KiB]
Downloaded 94 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Closing of pending orders Post rating: 0   New post Posted: Wed 14 May, 2014, 08:20 
Visual JForex expert at Dukascopy
User avatar

User rating: 27
Joined: Fri 03 May, 2013, 18:25
Posts: 366
Location: GermanyGermany
Greetings!

Do not think too complicated...:)

Keep in mind that when you want to refer previous candles it is better to use GetHistoricalCandle block - it is more precise ;)


Attachments:
dimon_mag_ver1_mod.vfs [53.23 KiB]
Downloaded 136 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Closing of pending orders Post rating: 0   New post Posted: Wed 14 May, 2014, 19:37 

User rating: 1
Joined: Sun 29 Dec, 2013, 15:36
Posts: 17
Location: Russian Federation,
dirk_r1 wrote:
Greetings!

Do not think too complicated...:)

Keep in mind that when you want to refer previous candles it is better to use GetHistoricalCandle block - it is more precise ;)



BIG THANK YOU! :)


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com