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

 
 
Thread Tools
 
Old 10-27-2009, 07:21 AM
Junior Member
 
Join Date: Jun 2008
Posts: 1
eagledpm is on a distinguished road
5 Line Channel indicator

Can anyone lead me to a MT4 channel indicator with 5 lines and not just the 2 lines?

Thank you!

eagledpm
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!
 
Old 10-27-2009, 08:23 PM
Junior Member
 
Join Date: Oct 2009
Posts: 4
herbertn is on a distinguished road
How do I display values on chart?

Hello,

I am hoping somebody could help me...

I have an EA which is running, I would like it to display some of its variable values on the chart, how do I do this?

I am sorry that this is probably a very easy question, I am reletively new to MQ4 coding, but used to be a C programmer many moons ago.

Thanks for your help.
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!
 
Old 10-27-2009, 11:12 PM
Junior Member
 
Join Date: May 2009
Posts: 17
c0deZ is on a distinguished road
This is how I do it in my RogueTrader:
Just change the variables to what ever your using and the rest should work fine.


string sComment = "";
string sp = "----------------------------------------\n";
string NL = "\n";
string sDirection = "";
sComment = eaname + NL;
sComment = sComment + "Stop Loss = " + DoubleToStr(Stoploss,0) + " | ";
sComment = sComment + "Take Profit = " + DoubleToStr(TakeProfit,0) + " | ";
sComment = sComment + "Main Trailing Stop = " + DoubleToStr(TrailingStop1,0) + NL;
sComment = sComment + sp;
sComment = sComment + "Lots = " + Lots + " | " + "Current Open Orders = " + ordTotal + NL;
sComment = sComment + "Max Orders = " + MaxOrders + NL;
sComment = sComment + "ADX Period = " +APeriod + " | " + " RVI Period = " + RPeriod + NL;
//sComment = sComment + "sig_sell=" + DoubleToStr(sig_sell,Digits) + NL;
sComment = sComment + sp;
Comment(sComment);

return (0);

I put the at the very bottom of the program

Hope this helps
- Mike
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!
 
Old 10-27-2009, 11:42 PM
Junior Member
 
Join Date: Oct 2009
Posts: 4
herbertn is on a distinguished road
That works great...many thanks for that!
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!
 
Old 11-05-2009, 06:40 PM
Junior Member
 
Join Date: Jul 2009
Posts: 1
cook-dmFX is on a distinguished road
I wanted some advice, I know that metatrader is very important nowadays, but I don’t use it yet cause I’m doing well with my actual platform of my broker ACM. For what I’ve read, MT4 seems more of a platform for technical traders right? Since you trade directly on the charts right? Am I correct?

I’m more of a fundamental trader, you think I should try it or is not worth it?
Thanks a lot!!!!!
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!
 
Old 11-18-2009, 08:33 AM
Junior Member
 
Join Date: Oct 2007
Posts: 8
Ghosthand is on a distinguished road
Everything Is done

Last edited by Ghosthand; 11-19-2009 at 07:09 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!
 
Old 11-21-2009, 01:06 PM
Senior Member
 
Join Date: Jun 2006
Posts: 363
chrisstoff is on a distinguished road
incorrect start position for Array

In testing one of my EAs I received some error messages such as
Quote:
incorrect start position 1046 for Array Maximum function
or
Quote:
incorrect start position 1046 for Array Minimum function
end the EA stopped running.

That EA does not define arrays. What does this kind of error message mean and how can I prevent the error?

Any help would be appreciated,

Regards,

Chrisstoff

Last edited by chrisstoff; 11-21-2009 at 01:08 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!
 

Bookmarks

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

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 04:47 PM.



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