|
|||
|
|||||||
| Notices |
| 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 |
|
![]() |
|
|
Thread Tools | Display Modes |
|
||||
|
Quote:
I'm so sorry for the delay. ![]() I have a damn car that I spent the most of my time repairing it. If you lend me your car, maybe I write the lesson everyday Last edited by forexts; 12-01-2005 at 09:38 PM. |
|
|||
|
Error and Question
Quote:
Question: Why is the line Code:
int Crossed (double line1 , double line2) Thanks again for a great course! |
|
||||
|
Quote:
You are right! I'll change that.Quote:
The above line is the function declaration It means we want to create Crossed function which takes two double data type parameters and returns an integer. When you call this function you have to pass to it two double parameters and it will return an integer to you. Code:
shortEma = iMA(NULL,0,8,0,MODE_EMA,PRICE_CLOSE,0); longEma = iMA(NULL,0,13,0,MODE_EMA,PRICE_CLOSE,0); int isCrossed = 0; isCrossed = Crossed (shortEma,longEma); |
|
||||
|
Quote:
You will find a list with all the lessons here: http://www.forex-tsd.com/showpost.ph...6&postcount=20 |
|
|||
|
How to add arrows to Expert Advisor?
Please for the help: how to add to Expert Advisor pointers (arrows) showing coming into being of trading conditions (but not the concrete transaction!). This would be very useful for the purpose of the visual presentation of the rightness of the prompt from the EA under of tests before transactions.
I know that one can add pointers to indicators using code: //---- indicator line IndicatorBuffers(2); SetIndexStyle(0,DRAW_ARROW); SetIndexArrow(0,233); SetIndexStyle(1,DRAW_ARROW); SetIndexArrow(1,234); ........ But what to make, if EA uses with several indicators. Then pointers would be added to EA code. Please for the help how can I make this. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lesson 13 - Your First Expert Advisor (Part 1) | codersguru | Lessons | 21 | 02-07-2009 10:52 AM |
| CCI Expert Advisor | rodrigokaus | Expert Advisors - Metatrader 4 | 25 | 11-03-2008 11:10 AM |
| Lesson 16 - Your First Expert Advisor (Part 4) | codersguru | Lessons | 16 | 10-05-2006 05:42 AM |
| Lesson 15 - Your First Expert Advisor (Part 3) | codersguru | Lessons | 5 | 12-27-2005 10:00 PM |