Forex



Go Back   Forex Trading > Training > Metatrader > Metatrader 4 mql 4 - Development course > Questions
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #401 (permalink)  
Old 10-12-2006, 01:56 PM
increase's Avatar
Senior Member
 
Join Date: May 2006
Posts: 845
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #402 (permalink)  
Old 10-12-2006, 02:18 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,083
Blog Entries: 243
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, 40 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #403 (permalink)  
Old 10-12-2006, 03:03 PM
increase's Avatar
Senior Member
 
Join Date: May 2006
Posts: 845
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #404 (permalink)  
Old 10-12-2006, 11: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, 296 views)
Attached Files
File Type: mq4 TriggerLinesAlert.mq4 (4.2 KB, 87 views)
File Type: ex4 TrendManager.ex4 (3.5 KB, 86 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #405 (permalink)  
Old 10-13-2006, 03: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 03:59 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #406 (permalink)  
Old 10-16-2006, 01:23 AM
Senior Member
 
Join Date: Aug 2006
Posts: 456
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #407 (permalink)  
Old 10-16-2006, 06:58 AM
Kalenzo's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 724
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, 300 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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #408 (permalink)  
Old 10-16-2006, 04: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, 104 views)

Last edited by massecho; 10-16-2006 at 04:49 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #409 (permalink)  
Old 10-17-2006, 03: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, 50 views)

Last edited by coin.inv; 10-23-2006 at 01:07 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #410 (permalink)  
Old 10-18-2006, 12:17 PM
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
forex, histogram, JMASlope, ToR 1.20, ZUP_v1.mq4


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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


All times are GMT. The time now is 03:09 PM.



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