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
  #921 (permalink)  
Old 01-16-2008, 03:50 PM
ANCOLL's Avatar
Senior Member
 
Join Date: Nov 2006
Location: Indonesia
Posts: 252
ANCOLL is on a distinguished road
Quote:
Originally Posted by codersguru View Post
PHP Code:
if(DayOfWeek()==&& TimeHour(TimeCurrent())==8) return(0); 
put this line into the start() function and before any line fo code!
I have tried all the possibility posted in this thread,
I think this code is the best one for shutting down EA and Indicator at certain time
simple yet powerful


Thanks a lot codersguru

Last edited by ANCOLL; 01-17-2008 at 09:58 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
  #922 (permalink)  
Old 01-16-2008, 04:29 PM
Junior Member
 
Join Date: Jun 2007
Posts: 5
oei168 is on a distinguished road
Hello

i want to ask, how to unite all indicators and template to become one indicators ?



..
example :

i have this indicators in one single chart windows

1.bband stop
2.bolinger squeze
3.wcci
4.fibopiv

and i already made Template for all this indicators

--------------------

and i want to combine it all to become 1 indicator, so just 1 indicator that have all that stuffs, can i do it ??
can someone help me ??

thank you very much
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
  #923 (permalink)  
Old 01-16-2008, 08:22 PM
Warren's Avatar
Junior Member
 
Join Date: Jan 2006
Posts: 9
Warren is on a distinguished road
Quote:
Originally Posted by codersguru View Post
PHP Code:
if(DayOfWeek()==&& TimeHour(TimeCurrent())==8) return(0); 
put this line into the start() function and before any line fo code!
Thanks a lot for Your help! It works fine!

Could You be so kind to post a simple piece of code which disable operation of EA on definite month - September?

I'm not a programmer and that's why I ask for Your advice
__________________
Short Term Pain for Long Term Gain!
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
  #924 (permalink)  
Old 01-16-2008, 08:30 PM
Junior Member
 
Join Date: Dec 2007
Posts: 7
boophaty is on a distinguished road
Hello

Im new to this forum, and have a question. I'm using this indicator and it seems to be programed crappy, I have to update every bar and i guess is just annoying to me lol would anybody be willing to take a look at it, and maybe shape it up a bit for me thank you for your time.
Attached Files
File Type: mq4 #00_ZZ_Window.mq4 (7.1 KB, 16 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
  #925 (permalink)  
Old 01-16-2008, 08:31 PM
Putz's Avatar
Junior Member
 
Join Date: Aug 2006
Posts: 24
Putz is on a distinguished road
Hi Sendra,

Thanks again for your help. I've been playing with iHigh and iLow but you sure use it differently than I was going to. I've copied it and will check it out as soon as I have a chance. I'm sure it will work out fine but I will need to put my thinking cap on this old and grey head of mine to see if I can put it together.

I will let you know how I made out with it

Thanks again,
Putz
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
  #926 (permalink)  
Old 01-17-2008, 05:30 AM
Senior Member
 
Join Date: Oct 2007
Posts: 230
Dave137 is on a distinguished road
Smile How to show currency spread from indicator??

PHP Code:

#property indicator_chart_window


double spread=Ask-Bid;
   
 
   
{
  
   
ObjectCreate("Spread_Label"OBJ_LABEL000);
   
ObjectSetText("Spread_Label"DoubleToStr(spread,0), 14"Ariel"Yellow);
   
ObjectSet("Spread_Label"OBJPROP_CORNER3);
   
ObjectSet("Spread_Label"OBJPROP_XDISTANCE50);
   
ObjectSet("Spread_Label"OBJPROP_YDISTANCE55);
  } 
I tried this but get a big '0' value on the graph. How do I get the indicator to place the spread on the graph of the currency it is being overlayed on?

Your wisdom and knowledge is needed!

Dave
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
  #927 (permalink)  
Old 01-17-2008, 05:35 AM
Junior Member
 
Join Date: Jun 2007
Posts: 5
oei168 is on a distinguished road
DIN V3

i notice that, Pivot text is not update everyday ??

always need to refresh it...


what is the solution ??

i use it with others indicators in 1 chart windows

thanks
Attached Files
File Type: mq4 Dolly_Graphics_v11-GMTShift.mq4 (88.8 KB, 18 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
  #928 (permalink)  
Old 01-17-2008, 06:26 AM
Junior Member
 
Join Date: Dec 2007
Posts: 1
gelimat is on a distinguished road
Symbol Pips

Hello, can anyone guide me on how to calculate single symbol pips.

Example, i've 2 chart GBPJPY and GBPUSD, so i want to count GBPJPY and GBPUSD pips separately. Please help.

TQ.
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
  #929 (permalink)  
Old 01-17-2008, 09:56 AM
ANCOLL's Avatar
Senior Member
 
Join Date: Nov 2006
Location: Indonesia
Posts: 252
ANCOLL is on a distinguished road
How to make indicator or EA valid for only one person?

I am still figuring out, how to make indicator or EA which only 1 user can use.
What string code should be added in .mtq?
For example,


I want to give indicator or EA to codersguru, so that anyone other than codersguru who copy it and put it on their own computer won't able to use that indicator or EA.


Thanks a lot in advance before.
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
  #930 (permalink)  
Old 01-17-2008, 12:04 PM
cja's Avatar
cja cja is offline
Senior Member
 
Join Date: Apr 2006
Posts: 676
cja is on a distinguished road
Account code

Quote:
Originally Posted by ANCOLL View Post
I am still figuring out, how to make indicator or EA which only 1 user can use.
What string code should be added in .mtq?
For example,


I want to give indicator or EA to codersguru, so that anyone other than codersguru who copy it and put it on their own computer won't able to use that indicator or EA.


Thanks a lot in advance before.

This works by allowing the indicator or EA to work only on 1 account, sample of code in mq4 posted below, this works but there may be a better way to do it ???

int Account = 12345;

if (Account != AccountNumber()){
Comment("Incorrect account : "+AccountNumber()+" Price Display Indicator Deactivated !");
return(0);
}else {Comment(" Price Display Indicator Activated");}


Price_Display.mq4
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:35 PM.



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