Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Sound Alert for EMAs cross over
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=146&t=51539
Page 1 of 1

Author:  hisho1907 [ Wed 30 Jul, 2014, 10:59 ]
Post subject:  Sound Alert for EMAs cross over

Hello all,

I just want to make a sound alert when 2 EMAs cross each other....i have tried to biuld it on the visual jforex, but it did not work.

Can you please help me

Thank you very much for your support.

Best Regards

Hisham

Attachments:
emaalert.vfs [18.45 KiB]
Downloaded 165 times

Author:  amine_chourou [ Wed 30 Jul, 2014, 16:49 ]
Post subject:  Re: Sound Alert for EMAs cross over

Greetings,

Thanks for your post !
Every single block that is not linked within the strategy is simply not considered as part of the code, therefore your EMA blocks are not implemented at all.
First, make sure your indicators are linked to the proper start point, looks like Oncandle start will meet your needs.
Second, the trading period: Would you like to trade on 10mn or One hour ? The expected cross should happen on wich trading period ? (would you like to overlap 2 charts with different periods ?)

PS: Attached a basic example of a sound alert strategy based on RSI indicator.

Thanks

Attachments:
RSI_Alert.vfs [17.95 KiB]
Downloaded 199 times

Author:  hisho1907 [ Wed 30 Jul, 2014, 18:40 ]
Post subject:  Re: Sound Alert for EMAs cross over

Dear Sir,

Thank you very much :)

I will try it and keep you updated.

Best Regards.

Hisham

Author:  hisho1907 [ Wed 30 Jul, 2014, 18:57 ]
Post subject:  Re: Sound Alert for EMAs cross over

Dear Sir,

I have modified it and run it on the jforex, however i got the below message.

17:53:30 java.security.PrivilegedActionException: com.dukascopy.api.JFException: Unable to download component 1252 @ java.security.AccessController.doPrivileged(Native Method)

Thank zou for your support.

Hisham

Attachments:
emaalert.java [14.99 KiB]
Downloaded 163 times

Author:  amine_chourou [ Thu 31 Jul, 2014, 16:13 ]
Post subject:  Re: Sound Alert for EMAs cross over

Hi,

We have an outstanding issue related to sound alerts when used in Jforex platform. For the time being, only "coin" alert works fine when a strategy is exported and tested in Jforex platform.
Otherwise, you can keep using Visual Jforex in real-time run and fully use the 6 sound alerts available.

Thanks

Author:  hisho1907 [ Thu 31 Jul, 2014, 19:15 ]
Post subject:  Re: Sound Alert for EMAs cross over

Dear Sir,

Thank you for your resosponce, but what is "coin" alert....where can i find it.....is it a block in the visiual jforex that can be selected?

Best Regards.

Hisham

Author:  amine_chourou [ Mon 04 Aug, 2014, 09:39 ]
Post subject:  Re: Sound Alert for EMAs cross over

Hi,
Please check the picture below:
Image

Attachments:
Coin.jpg [27.49 KiB]
Downloaded 433 times

Author:  Xisco1 [ Thu 07 Aug, 2014, 20:58 ]
Post subject:  Re: Sound Alert for EMAs cross over

amine_chourou wrote:
Hi,

We have an outstanding issue related to sound alerts when used in Jforex platform. For the time being, only "coin" alert works fine when a strategy is exported and tested in Jforex platform.
Otherwise, you can keep using Visual Jforex in real-time run and fully use the 6 sound alerts available.

Thanks

is it fixed yet? because I get this error:
19:40:00 java.security.AccessControlException: access denied ("java.net.NetPermission" "specifyStreamHandler") @ com.dukascopy.visualforex.Brok3r.alerta.SoundAlert_block_11(alerta.java:204)


thanks!

Author:  amine_chourou [ Fri 08 Aug, 2014, 12:20 ]
Post subject:  Re: Sound Alert for EMAs cross over

Hi,

Not yet sorted out but we're working on this issue that has been raised with high priority.
We'll keep you posted.

Thanks for your understanding.

Author:  ramos04 [ Thu 29 Jan, 2015, 11:11 ]
Post subject:  Re: Sound Alert for EMAs cross over

Hello Community,

I too have a familiar issue so I have decided to use this thread and not start a new one.

I did this sound alert and my interest is to have it alert when price touches the ema. I trade on tickbar charts and am to use it on the 233 tick chart. When I ran the strategy, regardless of where price was, the alerts were sounding continuously. May some one help me rectify this to sound only when the ema is touched.

Thanks

Attachments:
EMAring_alert2_AK.vfs [13.76 KiB]
Downloaded 115 times

  Page 1 of 1