Forex
Google
New signals service!

Go Back   Forex Trading > Programming > Metatrader Programming


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 Thread Tools Display Modes
  #231 (permalink)  
Old 09-12-2007, 03:40 AM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
omelette is on a distinguished road
Quote:
Originally Posted by etrade View Post
When attaching some of indicators, MT4 just shows them on recent chart and long back history of them is not available.

How one can draw longer history ?
The short answer, learn to program MQL.

More to the point, these are all custom indicators that are programmed to just calculate on a certain number of bars - often because the calculations are time-consuming so a lot of bars would use more CPU time.

Assuming that there is no 'Bars' etc. available in the indicators' settings, the only thing you can do is change the code itself...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #232 (permalink)  
Old 09-12-2007, 10:01 AM
etrade's Avatar
Senior Member
 
Join Date: Aug 2007
Posts: 266
etrade is on a distinguished road
Quote:
Originally Posted by omelette View Post
The short answer, learn to program MQL.

More to the point, these are all custom indicators that are programmed to just calculate on a certain number of bars - often because the calculations are time-consuming so a lot of bars would use more CPU time.

Assuming that there is no 'Bars' etc. available in the indicators' settings, the only thing you can do is change the code itself...
Thanks for your kind advice
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #233 (permalink)  
Old 09-12-2007, 08:21 PM
Dan7974's Avatar
Senior Member
 
Join Date: Jul 2006
Posts: 264
Dan7974 is on a distinguished road
Functions?

What does this mean in EA's?

PHP Code:
openOrder(string type,double LotSize
__________________
God Bless Everyone, and their trading logic.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #234 (permalink)  
Old 09-12-2007, 09:26 PM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
omelette is on a distinguished road
Quote:
Originally Posted by Dan7974 View Post
What does this mean in EA's?

PHP Code:
openOrder(string type,double LotSize
You are passing two objects (type and LotSize) to function 'openOrder', located elsewhere in the code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #235 (permalink)  
Old 09-17-2007, 10:32 PM
etrade's Avatar
Senior Member
 
Join Date: Aug 2007
Posts: 266
etrade is on a distinguished road
Question Default SL and TP

Is it possible to define a default value for SL and TP in MT4 ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #236 (permalink)  
Old 09-18-2007, 02:44 AM
1Dave7's Avatar
Member
 
Join Date: Aug 2007
Posts: 82
1Dave7 is on a distinguished road
Smile How To Code F11 (Full Screen) in an EA?

What must I do to have an EA open up to full screen without having to press F11??


Dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #237 (permalink)  
Old 09-20-2007, 11:23 PM
etrade's Avatar
Senior Member
 
Join Date: Aug 2007
Posts: 266
etrade is on a distinguished road
Custom indocator to main indicator

How one can change a custom indicator to one of main indicators of MT4

In main indicators, one can draw indicator of another indicator (e.g. MA of RSI), but it is not possible for custom indicators
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #238 (permalink)  
Old 10-01-2007, 05:29 PM
Junior Member
 
Join Date: Sep 2007
Posts: 2
jimddmason@hotmail.com is on a distinguished road
MT4 EA code???

Hello,

Can someone tell me what language the advisors are written in, I think they're C++???

If this is the case does anyone know the functions/parameters used to call the code for input?

Please excuse my wording, I'm not a programmer...

Thanks for any help!!!
James
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #239 (permalink)  
Old 10-04-2007, 07:46 PM
Junior Member
 
Join Date: Dec 2005
Posts: 2
peters is on a distinguished road
It is called MQL4 but it is very similar compared to C++.
__________________
www.foorex.ch.vu
- The Forex Search Engine -

Find Forex or Trading related stuff precise and fast
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #240 (permalink)  
Old 10-08-2007, 08:10 AM
Junior Member
 
Join Date: Jun 2007
Posts: 9
rayz is on a distinguished road
can someone tell me about time setting for ea.

hello, i am newbie in forex

Can someone tell me can we put time setting code for ea?

if i can put it, how to code it?

For example, i am using stoch ea when ranging time or non active trading time and easy to get 10pips daily but by doing manually. Yes, i am using this ea for my testing:-http://www.forex-tsd.com/expert-advisors-metatrader-4/440-stoch-hellkas-ea.html

Let say, from 11pm to 3am, i need time setting for ea so that i am not manually make trading and sitting on the my pc 24hours for that time, i just set time on my ea and let the ea running itself and not make trading before and after the time that i have set on ea.

When i open my pc and trading platform on 11pm, i just run my ea and put the time setting from that time and until certain time and i can left my pc still open and ea running with this time setting to auto trade for me.

Im using the stoch ea for my study for MQL but i need some support because
I'm not a programmer and have background in IT.



Thanks for any help!!!

Last edited by rayz; 10-08-2007 at 08:15 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
automated close order, close, eas, forex, learn mql4, learn mql4 video, mql4 learning, OrderCloseBy, profit, reach, secure profit function, T101_v1.11_orest_IBFXm.mq4, learning mql4

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Learning Cycles For New Traders Dan7974 General Discussion 350 01-18-2008 07:04 PM
Learning to code for autotrading GoatT Metatrader Programming 8 01-10-2007 09:55 PM
Self learning expert mrtools Expert Advisors - Metatrader 4 32 10-22-2006 06:29 PM


All times are GMT. The time now is 08:38 AM.



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