Forex
Google
New signals service!

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course > Questions


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (2) Thread Tools Display Modes
  #401 (permalink)  
Old 10-12-2006, 12:56 PM
increase's Avatar
Senior Member
 
Join Date: May 2006
Posts: 643
increase is on a distinguished road
Quote:
Originally Posted by newdigital
You may look at some my indicator attached.

I used the following:

Code:
if (UseSound==1) PlaySound(NameFileSound);
      if (TypeChart==1) Comment ("Buy signal at Ask=",Ask,", Bid=",Bid,", Date=",TimeToStr(CurTime(),TIME_DATE)," ",TimeHour(CurTime()),":",TimeMinute(CurTime())," Symbol=",Symbol()," Period=",Period());
      }
And in the beginning (in the settings the following:

Code:
extern bool UseSound = True;
extern bool TypeChart = True;
extern string NameFileSound = "alert.wav";
'True' is 1 and 'False' is 0.
Thanks for your help, but I don't understand how that helps, I added the lines but it still plays the same, only alert window

If both are true, isn't that the same as the original? sorry I am missing something
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #402 (permalink)  
Old 10-12-2006, 01:18 PM
Administrator
 
Join Date: Sep 2005
Posts: 16,260
Blog Entries: 105
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by increase
Thanks for your help, but I don't understand how that helps, I added the lines but it still plays the same, only alert window

If both are true, isn't that the same as the original? sorry I am missing something
May be you did not place sound file in right place ...
Attached Files
File Type: mq4 wma_cross3.mq4 (4.9 KB, 29 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #403 (permalink)  
Old 10-12-2006, 02:03 PM
increase's Avatar
Senior Member
 
Join Date: May 2006
Posts: 643
increase is on a distinguished road
Quote:
Originally Posted by newdigital
May be you did not place sound file in right place ...
I copied exactly as you showed in your example, sound is in correct directory, I get the first ding of the sound file but then the alert takes over.

Are you thinking I want to play one or the other, I want both the sound file to play, followed by the alert wav
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #404 (permalink)  
Old 10-12-2006, 10:52 PM
Junior Member
 
Join Date: Aug 2006
Posts: 22
montage is on a distinguished road
Hi All!

I've benn using a very successful system on th 4HR. TF. The only problem I have is I need an aller for both of the indicators below. If some would be able to do this I would be eternally grateful.

TriggerLines: Already has a pop up alert, but I need it to send email alert as well. This will allow me to be away from a 4hr. chart and be called back when opportunity arises.

TrendManager: Needs a popup/sound and email as well. This would be great!

Thanks!
Sean
Attached Images
File Type: gif gdpusd.gif (45.1 KB, 235 views)
Attached Files
File Type: mq4 TriggerLinesAlert.mq4 (4.2 KB, 67 views)
File Type: ex4 TrendManager.ex4 (3.5 KB, 64 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #405 (permalink)  
Old 10-13-2006, 02:57 AM
Member
 
Join Date: Sep 2006
Posts: 34
tsuok is on a distinguished road
Talking

Hi

Is it possible to catch MESSAGE from MT4 on MQL?
for example, when open position has closed I want to know that automaticaly like event driven program. not triggered by incomming tick as in start() function.
I wanna make postion-closed-message-from-server a trigger to call or start other functions.

thanks

Last edited by tsuok; 10-13-2006 at 02:59 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #406 (permalink)  
Old 10-16-2006, 12:23 AM
Senior Member
 
Join Date: Aug 2006
Posts: 403
RickW00716 is on a distinguished road
indicators needed

Can anyone program an indicator that plots the high minus the open and also an average of this value....also the open minus the low and an average of this value?

I also wonder if there is an indicator that plots the daily range and the average daily range but doesn't include Sunday(my charts plot Sunday as a day even though it only consists of 2 hours 22:00 to 23:00) this messes up any daily range indicator I have and could mess up the indicators I have requested to have programmed.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #407 (permalink)  
Old 10-16-2006, 05:58 AM
Kalenzo's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 696
Kalenzo is on a distinguished road
Quote:
Originally Posted by RickW00716
Can anyone program an indicator that plots the high minus the open and also an average of this value....also the open minus the low and an average of this value?

I also wonder if there is an indicator that plots the daily range and the average daily range but doesn't include Sunday(my charts plot Sunday as a day even though it only consists of 2 hours 22:00 to 23:00) this messes up any daily range indicator I have and could mess up the indicators I have requested to have programmed.

Thanks
Hi, It seems like it points nice turning points of the market.
Indicator is avaible from elite section.
Attached Images
File Type: gif hlo_dif.gif (20.7 KB, 243 views)
__________________
You need proffesional mql coder? Contact me! I will help you!
........................................
http://www.fxservice.eu/
........................................
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #408 (permalink)  
Old 10-16-2006, 03:43 PM
massecho's Avatar
Junior Member
 
Join Date: Aug 2006
Posts: 1
massecho is on a distinguished road
Question does anyone can help me



hello all,i was newbie here and iam interest with harmonic pattern especially butterfly pattern. I think it was so great indicator,but i have some problem with this indicator does anyone can help me to translate this indicator? thx 4 all
Attached Files
File Type: mq4 butterfly.mq4 (8.6 KB, 89 views)

Last edited by massecho; 10-16-2006 at 03:49 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #409 (permalink)  
Old 10-17-2006, 02:49 AM
Junior Member
 
Join Date: Sep 2006
Posts: 7
coin.inv is on a distinguished road
I would like this created into a one time script

extern double StopLoss=30;
extern double TakeProfit=500;
extern double TrailingStop=8;
extern double Slippage=1;
extern double Lots=0.1;
extern int OrderTries=5;
// build magic# to adjust/monitor trailing stop if possible
Attached Files
File Type: mq4 TrendlineOrder.mq4 (10.8 KB, 30 views)

Last edited by coin.inv; 10-23-2006 at 12:07 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #410 (permalink)  
Old 10-18-2006, 11:17 AM
Junior Member
 
Join Date: Sep 2006
Posts: 7
coin.inv is on a distinguished road
does any one have any scripts to share? anything?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
histogram, forex

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/questions/270-ask.html
Posted By For Type Date
OzFx System:) - Page 639 This thread Refback 06-21-2008 09:53 PM
Forex SRDC Sidus Sibkis EA MT4 Forum OTCSmart This thread Refback 12-08-2007 11:46 AM


All times are GMT. The time now is 02:24 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.