Dukascopy
 
 
Wiki JStore Search Login

Close and cancel position
 Post subject: Close and cancel position Post rating: 0   New post Posted: Fri 10 Nov, 2017, 19:05 
User avatar

User rating: 0
Joined: Thu 09 Nov, 2017, 23:43
Posts: 4
Location: PortugalPortugal
Estou a tentar criar uma estrategia.
Nessa estrategia preciso que feche, por exemplo, um buy stop caso a candle feche verde.

Como posso fazer?


 
 Post subject: Re: Close and cancel position Post rating: 0   New post Posted: Wed 15 Nov, 2017, 10:02 
User avatar

User rating: 1
Joined: Wed 19 Oct, 2011, 00:06
Posts: 8
Location: Portugal, Riga
Estimado Cliente,

Em anexo envio os ficheiros que necessita. Basta abrir o Visual JForex e importar estes ficheiros.

Atenciosamente,

Carlos de Melo


Attachments:
HMA_trend.vfs [45.15 KiB]
Downloaded 294 times
BuyStopGreen.vfs [26.75 KiB]
Downloaded 290 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: Close and cancel position Post rating: 0   New post Posted: Mon 12 Mar, 2018, 14:50 
User avatar

User rating: 0
Joined: Thu 09 Nov, 2017, 23:43
Posts: 4
Location: PortugalPortugal
Obrigado.

De momento estou com outro problema..
Ao usar o Close/Cancel position, estou a definir metade do valor da posição.. Digamos que a posição é de 10000un, a estratégia fecha duas posições de 5000un..
Coloquei if block a filtrar se a posição têm => 10000un mas não está a funcionar...

Alguma sugestão?
Image
Image


Attachments:
Sem título1.png [61.43 KiB]
Downloaded 285 times
Sem título2.png [65.71 KiB]
Downloaded 295 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: Close and cancel position Post rating: 0   New post Posted: Mon 12 Mar, 2018, 15:47 
User avatar

User rating: 0
Joined: Thu 09 Nov, 2017, 23:43
Posts: 4
Location: PortugalPortugal
coloquei um filtro if TP >0.. em teste realtime funciona.. estou a aguardar confirmação em live..


 
 Post subject: Re: Close and cancel position Post rating: 0   New post Posted: Wed 14 Mar, 2018, 01:22 
User avatar

User rating: 0
Joined: Thu 09 Nov, 2017, 23:43
Posts: 4
Location: PortugalPortugal
continua igual.. fecha de imediato duas posições a metade do preço da original..


 

Jump to:  

  © 1998-2011 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