- Ev
- Topluluk
- Programlama
- Sound notification
Advertisement
            
                
                Edit Your Comment
            
            
        Sound notification
                    
                        
                            Sep 10, 2009 zamanından beri üye
                                     
                        
                        
                            145 iletiler
                        
                    
                
            
                    Jul 30, 2015 at 09:20
                                    
                
                    
                            
                                Sep 10, 2009 zamanından beri üye
                                 
                            
                            
                                145 iletiler
                            
                    
                
            
                        Hi guys, would it be possible to make MT4 play sound when button "Auto trading" is pressed?
                                                                                            
                                                             
    
                            forex_trader_25447                    
                                    
                    
                        
                            Dec 21, 2010 zamanından beri üye
                                     
                        
                        
                            127 iletiler
                        
                    
                
            
                    Jul 30, 2015 at 12:11
                                            
                                        (Jul 30, 2015 at 12:12 düzenlendi)
                                    
                                    
                
                    
                            
                                Dec 21, 2010 zamanından beri üye
                                 
                            
                            
                                127 iletiler
                            
                    
                
            
                        Here is simple SCRIPT about that :
... but why do you need it ?
                                                            void OnStart()
{ bool OldAutoTrade=IsExpertEnabled();
while ( !IsStopped() )
{ if ( OldAutoTrade!=IsExpertEnabled() )
{ PlaySound("alert.wav"); OldAutoTrade=IsExpertEnabled(); }
Sleep(1000);
}
}
... but why do you need it ?
                    
                        
                            Sep 10, 2009 zamanından beri üye
                                     
                        
                        
                            145 iletiler
                        
                    
                
            
                    Jul 30, 2015 at 14:07
                                    
                
                    
                            
                                Sep 10, 2009 zamanından beri üye
                                 
                            
                            
                                145 iletiler
                            
                    
                
            Thank you Ivan. My friend is old, and smiling icon in right top corner is very small for him, so he never knows if EA runs or not :) The idea was to play a sound when EAs are enabled and different sound when EAs are disabled.
 
    
                            forex_trader_25447                    
                                    
                    
                        
                            Dec 21, 2010 zamanından beri üye
                                     
                        
                        
                            127 iletiler
                        
                    
                
            
                    Jul 30, 2015 at 16:05
                                    
                
                    
                            
                                Dec 21, 2010 zamanından beri üye
                                 
                            
                            
                                127 iletiler
                            
                    
                
            
                        That is a little different.
I make it to have 2 different sounds (using terminal's sound).
Also add input parameter how long script to work (default 5 min),
this will auto-unload script if it is NOT used for last 5 min.
If you want it non-stop, enter hi number , like 9999.
                                                            I make it to have 2 different sounds (using terminal's sound).
Also add input parameter how long script to work (default 5 min),
this will auto-unload script if it is NOT used for last 5 min.
If you want it non-stop, enter hi number , like 9999.
                    
                        
                            Aug 04, 2015 zamanından beri üye
                                     
                        
                        
                            1 iletiler
                        
                    
                
            
                    Aug 06, 2015 at 06:26
                                    
                
                    
                            
                                Aug 04, 2015 zamanından beri üye
                                 
                            
                            
                                1 iletiler
                            
                    
                
            
                        I have 3 indicators that I would like to make a sound and or a display when a new bar appears when it changes from negative to positive or vice versa. (On the open of the new bar). 2 of them can be found on the MT4 indicator

list as PSAR & OsMA. The other indicator is the itmf-sigalert. I have numbered them 1, 2 & 3 on the picture.

                                                                                                    
                                            
                                                            
list as PSAR & OsMA. The other indicator is the itmf-sigalert. I have numbered them 1, 2 & 3 on the picture.

                                    F*** Baby Steps!! F*** the 1% Rule!!
                                
                                                                         
        
            *Ticari kullanım ve istenmeyen e-postalara müsamaha gösterilmez ve hesabın feshedilmesine neden olabilir.
        
        
                
                
                    İpucu: Bir resim/youtube urlsi yayınlamak, onu otomatik olarak gönderinize gömer!
                
            
            
                
                
                    İpucu: Bu tartışmaya katılan bir kullanıcı adını otomatik olarak tamamlamak için @ işaretini yazın.
                
            
         
 
                                         
                                     
                             
 
     
     
     
                     
                                 
                                 
                                 
                                     
