Forex



Go Back   Forex Trading > Training > Metatrader > Metatrader 4 mql 4 - Development course
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

View Poll Results: Would you like to see all the lessons have been gathered in one ebook?
Yes! 1,907 96.65%
No! 14 0.71%
Dosen't matter! 52 2.64%
Voters: 1973. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #11 (permalink)  
Old 11-21-2005, 01:14 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web 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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #13 (permalink)  
Old 11-24-2005, 06:40 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web 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, 195 views)
File Type: mq4 2PROC.mq4 (2.0 KB, 196 views)
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
  #15 (permalink)  
Old 12-07-2005, 10:38 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web 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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #17 (permalink)  
Old 12-09-2005, 05:43 AM
Junior Member
 
Join Date: Dec 2005
Posts: 5
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #18 (permalink)  
Old 12-09-2005, 04:43 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web 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!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, forex mql4, how to program mql4, learning mql4, lesson, mladen, mq4 course, MQ4 forum, mql training, mql4 course, mql4 courses, mql4 ebook, mql4 forum, MQL4 lessons, MQL4 TRAINING, MT4 course, slope direction line


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
Arrays in MQL4 clippertm Questions 5 08-11-2008 02:16 AM
Help for convert from VT to MQL4 M-E-C Expert Advisors - Metatrader 4 11 07-27-2007 07:53 PM
www.mql4.com DeSt Metatrader 4 18 02-02-2006 12:59 AM


All times are GMT. The time now is 05:58 AM.



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