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 (1) Thread Tools Display Modes
  #151 (permalink)  
Old 09-12-2006, 12:15 PM
Senior Member
 
Join Date: Jan 2006
Location: 3rd rock from the sun
Posts: 130
fred is on a distinguished road
Can anyone code these Trading indicators?

Check the link, look down the page then click on to the trading indicators. They look Vgood.
http://www.trendpro.com/floortraders.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #152 (permalink)  
Old 09-22-2006, 02:48 AM
mmf mmf is offline
Junior Member
 
Join Date: Jun 2006
Posts: 9
mmf is on a distinguished road
how i do code order sell & order buy?

Hello my freinds
now , i went to do code to order sell and code to order buy .. what`s codes to write it in my expret ?
and the expret give alert when the sign appear to sell or buy.
and thank you for all

Last edited by mmf; 09-22-2006 at 02:55 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #153 (permalink)  
Old 09-22-2006, 07:45 AM
fotovat's Avatar
Member
 
Join Date: May 2006
Posts: 74
fotovat is on a distinguished road
Quote:
Originally Posted by mmf
Hello my freinds
now , i went to do code to order sell and code to order buy .. what`s codes to write it in my expret ?
and the expret give alert when the sign appear to sell or buy.
and thank you for all
You can read the MQL programming guide , it's a very basic question and you will have more problem in future if you don't pay time to read the mql guide,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #154 (permalink)  
Old 09-22-2006, 11:59 PM
mmf mmf is offline
Junior Member
 
Join Date: Jun 2006
Posts: 9
mmf is on a distinguished road
I try to make that indecator to EA and i don`t know please any person help me.
.......lots=1
.......stop=0
.......limit=on Attach Chart

Thank You
Attached Images
File Type: gif mm.gif (17.9 KB, 168 views)
Attached Files
File Type: mq4 Solar Winds alert.mq4 (2.6 KB, 49 views)

Last edited by mmf; 09-30-2006 at 04:01 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #155 (permalink)  
Old 09-23-2006, 11:02 PM
mmf mmf is offline
Junior Member
 
Join Date: Jun 2006
Posts: 9
mmf is on a distinguished road
Please my friends any one help me to make that expret
or write code sell & buy
i cantn`t understand that mql4 it`s hard idon`t know why i can to understand it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #156 (permalink)  
Old 10-02-2006, 07:21 AM
Junior Member
 
Join Date: Oct 2006
Posts: 12
BaasHarm is on a distinguished road
Help needed to code entry

Hi guys,

I've been following this forum for a while now and picked up a lot of valuable lessons already. Especially thanks to Coder Guru for the quickstart to MQL4.

I'm managed to build a few simple EA's just to get familar with MT4. Now I want to start a new project but I got stuck.

I want to enter a trade after a 10 pip move, not based on any indicator, just on the tick data, if price moves up 10 pips (eventually with a time limit), I want to enter long and and if it moves down, go short. I don't want to use the bar open or close as this may be late or miss some big moves. What I need is how to "freeze" the starting price to compare to the bid/ask to see when the condition is met.

Any suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #157 (permalink)  
Old 10-02-2006, 08:13 AM
igorad's Avatar
Senior Member
 
Join Date: Oct 2005
Location: Ukraine
Posts: 829
igorad is on a distinguished road
Quote:
Originally Posted by BaasHarm
Hi guys,

I've been following this forum for a while now and picked up a lot of valuable lessons already. Especially thanks to Coder Guru for the quickstart to MQL4.

I'm managed to build a few simple EA's just to get familar with MT4. Now I want to start a new project but I got stuck.

I want to enter a trade after a 10 pip move, not based on any indicator, just on the tick data, if price moves up 10 pips (eventually with a time limit), I want to enter long and and if it moves down, go short. I don't want to use the bar open or close as this may be late or miss some big moves. What I need is how to "freeze" the starting price to compare to the bid/ask to see when the condition is met.

Any suggestions?

Hi,
i think you should use something similar to:

double prevPrice=0; // should be described in Global vars

int start()
{
double curPrice = Bid;
...
bool BuySetup = curPrice - prevPrice > 10*Point;
...
prevPrice = curPrice;
}
__________________
Let's improve trade skills together
http://finance.groups.yahoo.com/group/TrendLaboratory
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #158 (permalink)  
Old 10-02-2006, 11:47 AM
Junior Member
 
Join Date: Oct 2006
Posts: 12
BaasHarm is on a distinguished road
Quote:
Originally Posted by igorad
Hi,
i think you should use something similar to:

double prevPrice=0; // should be described in Global vars

int start()
{
double curPrice = Bid;
...
bool BuySetup = curPrice - prevPrice > 10*Point;
...
prevPrice = curPrice;
}
Thanks I'll give it a go.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #159 (permalink)  
Old 10-10-2006, 03:15 PM
Junior Member
 
Join Date: Aug 2006
Posts: 21
knili is on a distinguished road
Help with simple code

Hello all,
Got a very simple question
I have this code in Expert Advisors and doesn't work. Same code in Custome Indicators and works, any idea? I excuting this code against 1 min chart

Also I have declear bars as global int.

int start()
{
if(Bars != bars)
{
bars = Bars;
Alert(High[1]);
}
return(0);
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #160 (permalink)  
Old 10-10-2006, 03:17 PM
Kalenzo's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 696
Kalenzo is on a distinguished road
U initialized bars variable before start function - in global section?
Try to use if (Bars>bars)
__________________
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!
Reply With Quote
Reply

Bookmarks

Tags
candle time, CHinGsMAroonCLK, coders guru, expert advisor, forex, how to code, I_XO_A_H, mechanical trading, trading

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

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/metatrader-programming/554-how-code.html
Posted By For Type Date
Need an experienced programmer? - Page 2 Post #0 Refback 09-24-2008 07:24 AM

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



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