Single function DLL to play sounds sequentially, according to hierarchical level submitted...

MQL4 통합 다른

명시

I am currently running MT4 on my system with charts for 24 currency pairs with several indicators.  I also have source code for the indicator I need to link to to this DLL.

Non-circumstantial information

 I have an indicator that successfully fires the PlaySound event and plays a WAV file when I should open and/or close a trade according to my Business Plan, Indicator triggers, etc.

The problem

When price action is such that I have several events trigger at the same time,  the MT4 PlaySound event gets jammed and tries to play several WAV files simultaneously.  Then all hell breaks loose!  For the next several minutes the same PlaySound events try to repeat themselves.  Not good, not what I envisioned!

My Solution

I have three different events where sound bites should be played.  I will quote the words I recorded in the individual WAV files, and you'll immediately see what I mean:

  • Prepare to Buy (or Sell) EURUSD
  • Buy (or Sell) EURUSD
  • Close EURUSD 

 These three files exist for all 24 currency pairs, and inside of my Indicator, I have triggers where I fire the PlaySound event.  Instead, I want to fire the command to a dll that will receive "DLL PLAY SOUND" events from 1 - n currency pair charts and manage the sound events as follows:

 I expect to send two parameters to the single external function sequencedSound(string wavFileName, int Heirarchy) of the dll.

I need the events sorted according to a 0 - 10 hierarchy so that I can for instance send all Close Order events as 0 level events 0 being most important, 10 least important.  If more than one 0 level or 3 level events come in while the queue is working on playing other events, then FIFO will work with a 5 second delay behind all events.  60 seconds (or as soon as the queue is empty) later, the same sound file should be replayed.

The DLL will default into the \Sound  folder under the MT4 installation.

I do not expect the DLL to need to work with multiple MT4 or any MT5 installations. 

Note: I will manage how often I send DLL Play Sound requests inside of the Indicator

 

 

 

  

응답함

1
개발자 1
등급
(129)
프로젝트
208
54%
중재
21
24% / 52%
기한 초과
64
31%
무료
2
개발자 2
등급
(219)
프로젝트
370
42%
중재
145
17% / 41%
기한 초과
124
34%
무료
비슷한 주문
I need an EA to use for the Supertrend strategy I use in Tradingview. The Supertrend indicator generates buy and sell signals by following the trend. According to the buy signal from the indicator, it will buy in a certain lot amount / a certain percentage of the balance amount and then close the buy position with the sell signal and open a sell order. In general, it is my preference to work with signals from
hi uhm im look for someone who can make me an indicator , which is able to show the entry and exit point and also to show stop lose and take profit . nass 100 , us30 an Ger40 and all currencies the time frame it should use 15 min and it should be scalping . the name of the indicator should be called Pro Da Trader please who ever can do that please contact ne via whats app 0715240554 or my email
Objective: Our objective is to develop a platform that simplifies the analysis and presentation of trading ideas sourced from various channels. This platform will act as a centralized hub for traders to efficiently access and evaluate trading signals. Current Situation: We are actively engaged with multiple trading signal channels, VIP groups on Telegram, and applications. However, we face challenges due to private

프로젝트 정보

예산
20 - 25 USD
개발자에게
18 - 22.5 USD
기한
에서 1  5 일