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
  #411 (permalink)  
Old 10-19-2006, 03:18 PM
Bongo's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 496
Bongo is an unknown quantity at this point
Market Execution

Hi,
I need a help.
On market execution,
It is posible to put instant of Ask or Bid
Market Price.
res = OrderSend(Symbol(),OP_BUY,lots,Ask,Slippage,sl,tp, "D2",OrderID,0,Blue);

something as:
res = OrderSend(Symbol(),OP_BUY,lots,MarketPrice,Slippag e,sl,tp,"D2",OrderID,0,Blue);
Thanks
B.
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
  #412 (permalink)  
Old 10-20-2006, 06:30 AM
Member
 
Join Date: Aug 2006
Location: singapore
Posts: 39
eooojj is on a distinguished road
Anywhere that i can find SIMPLE step-by-step instruction on how to operate and the EA

Dear Anyone,

Anywhere that i can find SIMPLE step-by-step instruction on how to operate and the EA?
Please please help. Many thanks.

ed
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
  #413 (permalink)  
Old 10-20-2006, 08:22 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,058
Blog Entries: 241
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 eooojj
Dear Anyone,

Anywhere that i can find SIMPLE step-by-step instruction on how to operate and the EA?
Please please help. Many thanks.

ed
Try Codersguru lessons:
- http://www.metatrader.info/node/27
- http://www.metatrader.info/node/34
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
  #414 (permalink)  
Old 10-20-2006, 09:52 PM
fotovat's Avatar
Member
 
Join Date: May 2006
Posts: 79
fotovat is on a distinguished road
hello,

How I can use == with current price ?

I want code somting like this :

if(CurrentPrice==(dailylow+20*point) && OrdersTotal()<=0)

. . .

I have Dailylow value but if i use "ask" insted of price I can't use == . I can use only <=>


I think i should convert the currentprice to str , right?
pending order is not good becoz it modify alot!

any advice ?

Last edited by fotovat; 10-20-2006 at 10:26 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
  #415 (permalink)  
Old 10-21-2006, 05:30 AM
Eaglehawk's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 141
Eaglehawk is on a distinguished road
Quote:
Originally Posted by fotovat
hello,

How I can use == with current price ?

I want code somting like this :

if(CurrentPrice==(dailylow+20*point) && OrdersTotal()<=0)

. . .

I have Dailylow value but if i use "ask" insted of price I can't use == . I can use only <=>


I think i should convert the currentprice to str , right?
pending order is not good becoz it modify alot!

any advice ?
why "==" doesn't work is beyond me, but maybe a little grammatical advise in coding, what it looks like you're trying to say to the computer is put this way. who knows, maybe it'll fix ur problem.

if ((CurrentPrice==(dailylow+20*point)) && OrdersTotal()<=0)

one other possiblity is that, it does work, but the current price doesn't often equal exactly 20 pips above teh daily low, idk, you're the only one who has to whole code to tell.
__________________
"One's ability to accomplish his or her goals is limited only by the ingenuity of how one uses what he or she already knows."- Eaglehawk
REMEMBER,
"Genius is nothing but a greater aptitude for patience." –Benjamin Franklin

____________________________________

Have a simple ea you just can't figure out how to code??? Odds are you can make it here. Just remember to push complete when you're done, NOT SAVE!!!

http://sufx.core.t3-ism.net/ExpertAdvisorBuilder

Last edited by Eaglehawk; 10-21-2006 at 05:32 AM. Reason: one other possibility
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
  #416 (permalink)  
Old 10-21-2006, 07:46 AM
Junior Member
 
Join Date: Sep 2006
Posts: 13
forexx is on a distinguished road
help me plz

hi all i was wondering if some one could help me make any EA not open source i mean no one can see the code and make i trial version that work for a limited time only????????
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
  #417 (permalink)  
Old 10-24-2006, 07:20 PM
Nicholishen's Avatar
Senior Member
 
Join Date: Dec 2005
Posts: 531
Nicholishen is on a distinguished road
why are coders...

I am curious, why are coders using "MarketInfo(OrderSymbol(),MODE_BID)" instead of simply using the "Bid"?
__________________
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein
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
  #418 (permalink)  
Old 10-24-2006, 07:21 PM
Kalenzo's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 722
Kalenzo is on a distinguished road
Quote:
Originally Posted by Nicholishen
I am curious, why are coders using "MarketInfo(OrderSymbol(),MODE_BID)" instead of simply using the "Bid"?
Well, with the market info function u are able to check eg Bid price from GBPUSD when UR on eurusd chart
__________________
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
  #419 (permalink)  
Old 10-25-2006, 12:47 PM
Bongo's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 496
Bongo is an unknown quantity at this point
ECN feed

Quote:
Originally Posted by Nicholishen
I am curious, why are coders using "MarketInfo(OrderSymbol(),MODE_BID)" instead of simply using the "Bid"?
I'm using this:
OrderSend(Symbol(),OP_BUY,lotsi,(Ask-MarketInfo( Symbol(), MODE_STOPLEVEL )*Point),slippage,.......
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
  #420 (permalink)  
Old 10-27-2006, 05:51 PM
Senior Member
 
Join Date: Aug 2006
Posts: 456
RickW00716 is on a distinguished road
Elite indicators

I am not interested in EA's...I prefer to manually trade...however, I am interested in the indicators that are only available in the elite section...Is there any more information available on these? I would not mind subscribing to this section I just want to know how many indicators there are and maybe what type(purpose) they are.
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 01:37 PM.



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