Dukascopy
 
 
Wiki JStore Search Login

answers are not helping me
 Post subject: answers are not helping me Post rating: 0   New post Posted: Wed 18 Jun, 2014, 14:26 
User avatar

User rating: 0
Joined: Thu 13 Feb, 2014, 21:12
Posts: 11
Location: Brazil, Vitória-es
My strategy is a simple alarm.
If there is no pending order then sounds the alarm.
I used VJF and converted the code to. Jfx.
Worked on the demo account.
In Live account did not work.
I received this message

JForex v.2.35 Whisenand 17.06.2014 15:14:25 No server time Client message java.security.PrivilegedActionException: com.dukascopy.api.JFException: Unable to download component 1252 @ java.security.AccessController.doPrivileged(Native Method


How do I solve this problem? (Unable to download component 1252)


reply do amine_chourou

Greetings,

We've sent you an email with regards to your question from [email protected] yesterday.
For your error, you need to implement a sound alert IN Jforex and NOT using Visual IF you want to run your strategy from the trading platform.
To do so, please read the following information:
https://www.dukascopy.com/wiki/#Create_Alert

Thanks !

responded and locked my topic.

Some user is getting use VJF> JFX? Conversion?

I'm finding it very bad. I do not know how to program using code, so open an account at Dukascopy to use propaganda to the VJF now false.
A simple alarm like what I'm doing does not work.
That is so bad for you other users too?

The guy did not solve my problem, he threw codes for me.
TOO BAD THAT


 
 Post subject: Re: answers are not helping me Post rating: 1   New post Posted: Wed 18 Jun, 2014, 16:30 
Visual JForex expert at Dukascopy
User avatar

User rating: 288
Joined: Thu 18 Apr, 2013, 09:26
Posts: 1496
Location: Switzerland, Geneva
Greetings,

Thanks for your posts and emails.
We kindly remind you that Visual Jforex is still in Beta status, therefore it is only available in Demo environment which is the main reason why it is not possible to use Visual Jforex in Live and run your sound alert in Live mode for the time being. Meanwhile, and in order to help you accomplishing your strategy we routed you to the wiki page where you'll be able to implement a sound alert within your strategy.

As a matter of information, please note that there is no conversion made from Visual Jforex (vfs) to jfx files or java as strategies built using Visual are written in Java which means it is Java programing language used for all file types.

In order to move forward, please find attached an example of strategy that plays a sound alert once a FILL is made. Also, note that you need to change the following path in order to point on a sound file located in your computer (public File alarmSound = new File("C:\\temp\\notify.wav")

If you need more support, don't hesitate to raise your questions in the automated trading forum where our colleagues will provide you with the needed help.
viewforum.php?f=65

Thanks


Attachments:
AlertOnFill.java [2.72 KiB]
Downloaded 161 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.
 

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