Forex
Google
New signals service!

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course


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

View Poll Results: Would you like to see all the lessons have been gathered in one ebook?
Yes! 1,715 96.78%
No! 11 0.62%
Dosen't matter! 46 2.60%
Voters: 1772. You may not vote on this poll

Reply
 
LinkBack (107) Thread Tools Display Modes
  5 links from elsewhere to this Post. Click to view. #11 (permalink)  
Old 11-21-2005, 01:14 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Unhappy Thanks!

Quote:
Originally Posted by barry
Coders guru,
I add my thanks to the others. What a wonderful act of generosity this is!

I have picked up a tiny error for you: in Q2 part 3, and in it's answer, there is a typo- metalang.exe vs metalnag.exe.
barry,
Thank you very much, I've corrected them.
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 11-23-2005, 08:31 AM
dude007's Avatar
Junior Member
 
Join Date: Nov 2005
Posts: 3
dude007 is on a distinguished road
Thumbs up

This is a great thread. Thanx for all your help Codersguru. I am sure it will help alot of us. Cant wait for your next lesson.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 11-24-2005, 06:40 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Talking Thank

Quote:
Originally Posted by dude007
This is a great thread. Thanx for all your help Codersguru. I am sure it will help alot of us. Cant wait for your next lesson.
Thanks dude.
Please download the new lesson and tell me what do you think?
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 12-06-2005, 04:00 PM
Junior Member
 
Join Date: Nov 2005
Posts: 18
saslam is on a distinguished road
This is agreat course. I went through the lessons until the first custom indicator. I have some understanding, but not thorogh. I hope in due course I will get the hang of it. THANK YOU CODEGURU for putting together this course.

I tried to convert one of my simple indicator from mql2, but there is something wrong. Can you check it?
Attached Files
File Type: mql 2PROC V 3.mql (977 Bytes, 135 views)
File Type: mq4 2PROC.mq4 (2.0 KB, 129 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 12-07-2005, 10:38 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow MQL to MQL4

Quote:
Originally Posted by saslam
This is agreat course. I went through the lessons until the first custom indicator. I have some understanding, but not thorogh. I hope in due course I will get the hang of it. THANK YOU CODEGURU for putting together this course.

I tried to convert one of my simple indicator from mql2, but there is something wrong. Can you check it?
saslam,

Please try this code:

PHP Code:
//+------------------------------------------------------------------+
//|                                                     2PROC.mq4 |
//|                                                         saslam |
//|                                     http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "saslam"
#property link      "http://www.metaquotes.net"

#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Red
#property indicator_color2 Blue
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];

//----
//int ExtCountedBars=0;
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- indicators
   
SetIndexStyle(0,DRAW_LINE);
   
SetIndexBuffer(0,ExtMapBuffer1);
   
SetIndexStyle(1,DRAW_LINE);
   
SetIndexBuffer(1,ExtMapBuffer2);
   
string short_name "2PROC";
   
IndicatorShortName(short_name);
//----
   
return(0);
  }
//+------------------------------------------------------------------+
//| Custor indicator deinitialization function                     |
//+------------------------------------------------------------------+
int deinit()
  {
//---- 
   
//----
   
return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                             |
//+------------------------------------------------------------------+
int start()
  {
   
int pos;
   
int counted_bars=IndicatorCounted();
//---- check for possible errors
   
if(counted_bars<0) return(-1);
//---- last counted bar will be recounted
   
if(counted_bars>0counted_bars--;

   
pos=Bars-counted_bars;
   
   

//---- main calculation loop
   
while(pos>=0)
   {
// ----Main loop   
 
      
ExtMapBuffer1[pos]=(Close[pos+1]-Close[pos+3])+Close[pos+2];
      
ExtMapBuffer2[pos]=(Close[pos+0]-Close[pos+2])+Close[pos+1];
      
pos--;
      }
     
//----
   
return(0);
  }
//+------------------------------------------------------------------+ 
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 12-08-2005, 02:41 PM
Junior Member
 
Join Date: Nov 2005
Posts: 18
saslam is on a distinguished road
Thanks Codesguru, it is working now. I realize my mistake. Looking forward to your future lessons on Indicators.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 12-09-2005, 05:43 AM
Junior Member
 
Join Date: Dec 2005
Posts: 4
JN75 is on a distinguished road
Thumbs up Thank You!

Coders' guru,

I am very new to metatrader and know very little about programing. I was looking for info on programming in metatrader. And came across your course (which made me decide to join). I look forward to learning from your course and your posts!!! Thanks again!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 12-09-2005, 04:43 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Talking You're welcome.

Quote:
Originally Posted by JN75
Coders' guru,

I am very new to metatrader and know very little about programing. I was looking for info on programming in metatrader. And came across your course (which made me decide to join). I look forward to learning from your course and your posts!!! Thanks again!
JN75,

You're welcome!
I hope you find it a useful place.
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 12-09-2005, 11:49 PM
Junior Member
 
Join Date: Dec 2005
Posts: 1
homero1 is on a distinguished road
great idea

hi Guru
i am new in this, i found unique your idea, please i just have one lesson .How many have you post, i have the first one.
have a nice weekend
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
mql4 course, MQL4 TRAINING, lesson, forex, mq4 course, mql training, forex mql4, learning mql4, mladen, MQL4 lessons, mql4 ebook, mql4 courses

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-4-mql-4-development-course/134-welcome-mql4-course.html
Posted By For Type Date
?MT4?MetaTrader Part13????????? - MetaTrader???Wiki Post #0 Refback 09-30-2008 01:52 PM
where to learn the scripting language? Post #0 Refback 09-13-2008 12:45 PM
FX初心者スレ Post #0 Refback 09-10-2008 07:30 AM
【MT4】MetaTrader Part9【メタトレーダー】 Post #0 Refback 08-19-2008 04:04 AM
【MT4】MetaTrader Part8【メタトレーダー】 Post #0 Refback 08-17-2008 01:49 PM
??????MetaTrader????????????? - MetaTrader???Wiki Post #0 Refback 08-17-2008 09:53 AM
【隔離スレ】MetaTrader初心者専用2【ゆとり専用】 Post #20 Refback 08-02-2008 05:59 AM
where to learn the scripting language? Post #20 Refback 07-27-2008 11:16 PM
。レMT4。ロMetaTrader Part11。レ・皈ソ・ネ・。シ・タ。シ。ロ - MetaTrader、゙、ネ、畍iki Post #20 Refback 07-07-2008 04:30 AM
【MT4】MetaTrader Part11【メタトレーダー】 Post #20 Refback 07-06-2008 09:30 AM
【隔離スレ】MetaTrader初心者専用2【ゆとり専用】 Post #20 Refback 07-03-2008 06:05 PM
FX初心者スレ Post #20 Refback 07-03-2008 11:04 AM
Automating Forex trading - HotStockMarket Message Boards - Penny Stocks | Stock Tips This thread Refback 07-02-2008 05:07 PM
。レMT4。ロMetaTrader Part12。レ・皈ソ・ネ・。シ・タ。シ。ロ - MetaTrader、゙、ネ、畍iki Post #20 Refback 06-20-2008 06:09 PM
Strategie i Systemy Forex This thread Refback 06-06-2008 04:51 PM
MQ4 Systemy Forex This thread Refback 06-05-2008 06:23 PM
Experts Advisors ? Comment 軋 marche ? - Forum Eole Trading Ltd Post #20 Refback 05-02-2008 03:56 PM
Jom Buat Ea Dan Robot Sendiri!!!! - Page 2 - CariGold Forum This thread Refback 04-02-2008 06:23 AM
Jom Buat Ea Dan Robot Sendiri!!!! - Page 2 - CariGold Forum This thread Refback 03-31-2008 12:07 PM
Jom Buat Ea Dan Robot Sendiri!!!! - CariGold Forum This thread Refback 03-31-2008 05:59 AM