Forex



Go Back   Forex Trading > Programming > MetaTrader
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
  #1881 (permalink)  
Old 07-04-2009, 11:26 PM
Senior Member
 
Join Date: Sep 2007
Posts: 121
Ms_Mel is on a distinguished road
Hi,

I asked for something similar in another forum a few weeks ago. A kind of CLOSEALL if balance = + x amount or -x amount. I'm not a programmer, but it doesn't seem to be possible (?) because I really only got a few answers which were unclear.

Doesn't seem to be so complicated, but then again, I'm not a programmer.

Good luck,
__________________
Profitable trading starts here:
http://forexleader-forexleader.blogspot.com/
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
  #1882 (permalink)  
Old 07-06-2009, 01:56 AM
Dax Dax is offline
Junior Member
 
Join Date: Apr 2009
Posts: 5
Dax is on a distinguished road
is it possible to open a trading popup window by EA ?

Hello.

I would like to open a trading popup window by EA.

Is it possible ?

If possible to open it by EA, is it possible to open a trading popup window on which the number of the traded volume (the number of lot) is set to a number ordered by EA ?
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
  #1883 (permalink)  
Old 07-06-2009, 12:24 PM
Senior Member
 
Join Date: Apr 2006
Posts: 158
InTrance is on a distinguished road
Quote:
Originally Posted by Dax View Post
Hello.

I would like to open a trading popup window by EA.

Is it possible ?

If possible to open it by EA, is it possible to open a trading popup window on which the number of the traded volume (the number of lot) is set to a number ordered by EA ?
You will have to do this with a dll.
__________________
Need a Professional Programmer? PM me
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
  #1884 (permalink)  
Old 07-06-2009, 12:26 PM
Senior Member
 
Join Date: Apr 2006
Posts: 158
InTrance is on a distinguished road
Quote:
Originally Posted by Ms_Mel View Post
Hi,

I asked for something similar in another forum a few weeks ago. A kind of CLOSEALL if balance = + x amount or -x amount. I'm not a programmer, but it doesn't seem to be possible (?) because I really only got a few answers which were unclear.

Doesn't seem to be so complicated, but then again, I'm not a programmer.

Good luck,
Search the forums for closeall EAs. There are a few here
__________________
Need a Professional Programmer? PM me
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
  #1885 (permalink)  
Old 07-06-2009, 01:38 PM
Junior Member
 
Join Date: Jun 2009
Posts: 2
kimito2 is on a distinguished road
Quote:
Originally Posted by Big Be View Post
I believe that can be done and I believe I can do it. Most of the tasks I have already in my own lengthy EA. It won't be cheap because I value my time.

Big Be
Big Be, could you please send me an email- h.stilyanov@abv.bg with your offer.

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
  #1886 (permalink)  
Old 07-06-2009, 04:24 PM
Dax Dax is offline
Junior Member
 
Join Date: Apr 2009
Posts: 5
Dax is on a distinguished road
Quote:
Originally Posted by InTrance View Post
You will have to do this with a dll.
Thank you for posting ,InTrance .

Do you mean that it is impossible to realize it by only EA and I have to use an other software ?
I dont know well about the conection between MT4 and other softwares .
if possible would you tell me what to do , please ?
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
  #1887 (permalink)  
Old 07-06-2009, 07:02 PM
paradiseview's Avatar
Junior Member
 
Join Date: Sep 2006
Posts: 4
paradiseview is on a distinguished road
Exclamation iBarShift() / TimeCurrent() help

Hi all,

I am building an indicator that prints london open / close / high /range and other things on my chart.

The problem I encountered is the following, since we have a new bar let's say every 1 hour. Trying to get the shift to have the london open price is impossible. Also, I tried the function iBarShift() but didn't succeed with it. I know there should be a way to do it (most probably a combination of iBarShift() and timeCurrent() ) but didn't figure it out yet. Any suggestions?

Thx
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
  #1888 (permalink)  
Old 07-06-2009, 09:47 PM
Senior Member
 
Join Date: Oct 2008
Location: Vancouver, BC
Posts: 158
Roger09 is on a distinguished road
Quote:
Originally Posted by Dax View Post
Hello.

I would like to open a trading popup window by EA.

Is it possible ?

If possible to open it by EA, is it possible to open a trading popup window on which the number of the traded volume (the number of lot) is set to a number ordered by EA ?
Mark "Ask manual confirmation" in Tools->Options->Expert Advisors and code OrderSend(...) in your EA. When conditions come, you'll see trading window.
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
  #1889 (permalink)  
Old 07-07-2009, 01:22 AM
fosgate_r's Avatar
Member
 
Join Date: Nov 2008
Posts: 91
fosgate_r is on a distinguished road
Quote:
Originally Posted by paradiseview View Post
Hi all,

I am building an indicator that prints london open / close / high /range and other things on my chart.

The problem I encountered is the following, since we have a new bar let's say every 1 hour. Trying to get the shift to have the london open price is impossible. Also, I tried the function iBarShift() but didn't succeed with it. I know there should be a way to do it (most probably a combination of iBarShift() and timeCurrent() ) but didn't figure it out yet. Any suggestions?

Thx
I don't understand this part "Trying to get the shift to have the london open price is impossible". Could you describe more? Maybe I can 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!
Reply With Quote
  #1890 (permalink)  
Old 07-07-2009, 02:19 AM
Dax Dax is offline
Junior Member
 
Join Date: Apr 2009
Posts: 5
Dax is on a distinguished road
Quote:
Originally Posted by Roger09 View Post
Mark "Ask manual confirmation" in Tools->Options->Expert Advisors and code OrderSend(...) in your EA. When conditions come, you'll see trading window.
Thank you , Roger09 !
A trading window appered well .

I would like to ask one more question .
I am planing a sculping trade .
I set EA and "ask manual confirmation " as you showed me .
I am trying to open a trading window by clicking the Expert Adviser button as soon as I find a good traiding condition .
But the Expert Adviser does not respond as long as a market does not move on the chart newly after I click the button .
That is , a trading window does not open as long as the market does not advance one step .
Is it possible to resolve this problem ?
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
#include, candle time, CHinGsMAroonCLK, code, coders guru, conditionally, dll, eli hayun, Eur_harvester.ex4, expert adviser, expert advisor, forex, higher high, how to code, indicator, I_XO_A_H, kehedge, mechanical trading, metatrader command line, mt4, MT4-LevelStop-Reverse, OrderReliable.mqh, programming, rectangle tool, trading, volty channel stop


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to code this? iscuba11 Metatrader 4 mql 4 - Development course 1 08-03-2007 05:22 PM


All times are GMT. The time now is 01:21 AM.



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