Gamestudio Links
Zorro Links
Newest Posts
Mixed frequency history (M1+D)
by jcl
Today at 12:21
New Zorro version 2.12
by jcl
Today at 11:48
This is my fault-tolerant ATR indicator for you
by OptimusPrime
05/18/19 16:35
missing trade variables
by AndrewAMD
05/18/19 12:37
export asset to .txt file
by sdh309795gaas
05/17/19 16:21
LookBack mysteries
by sdh309795gaas
05/17/19 06:28
It is easy for you.
by AndrewAMD
05/16/19 16:39
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online
11 registered (AndrewAMD, kvm, jumpman, mk_1, Dalla, MatPed, FLD, Realspawn, JeyKey II, 1 invisible), 460 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
h4h4rd, ccm, Pippo, hurleydood, JohnLouderback
18222 Registered Users
Page 10 of 10 < 1 2 ... 8 9 10
Topic Options
Rate This Topic
#476594 - 03/12/19 07:17 Re: Dukascopy plugin (yet another version) [Re: ags]
kvm Online
Junior Member

Registered: 01/18/17
Posts: 76
Loc: Bulgaria
Hi ags,

Could you attach the full log (starting from opening the order)?

Top
#476596 - 03/12/19 08:28 Re: Dukascopy plugin (yet another version) [Re: kvm]
ags Offline
Junior Member

Registered: 10/23/18
Posts: 73
Loc: Germanien
Hi kvm,

it is the Position #168186933, it starts 2019-03-11 with this lines

2019-03-11 04:00:11.050 INFO [Strategy] c.m.v.d.DukascopyPlugin - Strategy.onMessage: Message Type: NOTIFICATION; Text: ORDER_ACCEPTED-Order ACCEPTED: #646676239 BUY 3 USA30.IDX/USD @ MKT MAX SLIPPAGE 0.05 - Position #168186933; Related Order: [DukascopyPlugin1552273211035]-CREATED / USA30.IDX/USD / 25401.03 / 3.0E-6 / 3.0E-6

Here the related log file:


Attachments
vDukascopy-log.txt (10 downloads)


Top
#476597 - 03/12/19 09:12 Re: Dukascopy plugin (yet another version) [Re: ags]
kvm Online
Junior Member

Registered: 01/18/17
Posts: 76
Loc: Bulgaria
Hi ags,

Here is what happen from my view point:

1. The script opens a buy order with stoploss 201 points away from the price:
2019-03-11 04:00:11.035 - brokerBuy2: asset=USA30.IDX/USD, amount=3, stop=201.62, limit=0.0
2019-03-11 04:00:11.068 - brokerBuy2: tradeID=168186933, type=BUY, order=[DukascopyPlugin1552273211035]-FILLED / USA30.IDX/USD / 25401.03
where open price is 25401.03 and stoploss sell is at 25401.03-201.62=25199.41

2. The script moves the stoploss to 25351.25:
2019-03-11 05:00:07.232 - brokerStop: tradeID=168186933, stop=25351.25

3. The stoploss is triggered and the order is closed by the broker:
2019-03-11 09:00:52.691 - Strategy.onMessage: Message Type: NOTIFICATION; Text: ORDER_FILLED-Order FILLED at 25350.569 (#646676240 STOP LOSS SELL 3 USA30.IDX/USD @ MKT IF BID <= 25351.25 EXPIRES: GTC) - Position #168186933; Related Order: [DukascopyPlugin1552273211035]-FILLED / USA30.IDX/USD / 25401.03 / 3.0E-6 / 3.0E-6

4. The script is trying to close the order but it doesn't exist anymore:
2019-03-11 09:00:59.428 - brokerSell: tradeID=168186933, amount=3
brokerSell: Order not found for tradeID=168186933

Top
#476598 - 03/12/19 18:17 Re: Dukascopy plugin (yet another version) [Re: kvm]
ags Offline
Junior Member

Registered: 10/23/18
Posts: 73
Loc: Germanien
Hi kvm,

yes, the plugin seems not to report to Zorro that the position was closed.

I contacted the support team and the asked me to check if the plugin properly reports closed positions.

"For this, thei idicated to use the TradeTest script. Open a position and then close it directly in the broker platform. Zorro should detect the closed position within a few seconds, or a minute the latest."

I did that and indeed just get the same error message as before:

!ERROR brokerTrade: Order not found for tradeID= xx

So it really seams that the plugin is not reporting to Zorro that the position was closed.

Top
#476606 - 03/13/19 13:10 Re: Dukascopy plugin (yet another version) [Re: ags]
kvm Online
Junior Member

Registered: 01/18/17
Posts: 76
Loc: Bulgaria
New Dukascopy plugin v1.4 is available:

- Fixed issue with externally closed orders not being reported
- Tested with Zorro v1.96.4

Top
#476870 - 04/16/19 21:28 Re: Dukascopy plugin (yet another version) [Re: kvm]
hatten Offline
Junior Member

Registered: 07/01/16
Posts: 51
Dear KVM,

Thank you for the Dukascopy plugin. I would like to use it, but fail to login to my account using the included GUI plugin tester. I suspect this is related to the pin that is normally required as second authorization in addition to the password.

How is this circumvented?

Other questions are:

1. Does this plugin automatically get the RollShort and RollLong values when switching to a certain asset just as the zorro plugin for MT4 and MT5 brokers does?

2. Is the multibroker functionality of zorro supported? In other words if I switch from an asset belonging to one broker to an asset from Dukascopy, does that work with this plugin assuming of couse the DUkascopy account is included in the Accounts.scv and the asset names are adapated properly and included in the Assets.csv?


Thanks for any assistance

Hatten

Top
#476872 - 04/17/19 09:13 Re: Dukascopy plugin (yet another version) [Re: hatten]
kvm Online
Junior Member

Registered: 01/18/17
Posts: 76
Loc: Bulgaria
Hi Hatten,

Originally Posted By: hatten
Dear KVM,
Thank you for the Dukascopy plugin. I would like to use it, but fail to login to my account using the included GUI plugin tester. I suspect this is related to the pin that is normally required as second authorization in addition to the password.

I've intentionally not implemented PIN verification, because it contradicts to the principles of fully automated trading.
You can test the plugin with a demo account or you have to suppress PIN code verification for your live accounts.
On how to do this, please follow this link: https://www.dukascopy.com/wiki/en/forex-...r-live-accounts

Originally Posted By: hatten

1. Does this plugin automatically get the RollShort and RollLong values when switching to a certain asset just as the zorro plugin for MT4 and MT5 brokers does?


So far I've not figured out how to get the rolling rates via the API. You have to manually update the asset file, getting the rates from here:
https://www.dukascopy.com/swiss/english/cfd/cfd-overnight-policy

Originally Posted By: hatten

2. Is the multibroker functionality of zorro supported? In other words if I switch from an asset belonging to one broker to an asset from Dukascopy, does that work with this plugin assuming of couse the DUkascopy account is included in the Accounts.scv and the asset names are adapated properly and included in the Assets.csv?

Unfortunately, I can't comment on this because I don't have Zorro S license and can't test it.

Top
Page 10 of 10 < 1 2 ... 8 9 10



Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de