MQL4 - automated forex trading   /  

Forum

ODL Securities

New MetaTrader 4 Client Terminal Build 218

Back to topics list To post a new topic, please log in or register

avatar
Moderator
28568
MetaQuotes 2008.08.27 22:10 

New MetaTrader 4 Client Terminal Build 218:

  1. MQL4: Fixed reinitialization of Expert Advisors at change of accounts.
  2. Fixed calculation of a signal line for the Relative Vigor Index indicator.
  3. Added extra checks of price correctness when placing a pending order.
  4. Fixed setting of proxy parameters from a command line.
  5. Extended records in a terminal journal at a partial closing of a position.
  6. Fixed operation in MS Windows 2008.

The live updates are available through the LiveUpdate system.
You can download this build of the terminal at http://www.metatrader4.com/files/mt4setup.exe

article

10 Days of Registration

A brief summary of the first 10 days of registration for participation in the Automated Trading Championship 2007. Over 370 developers have already applied for participation in the competition. About 2000 Participants are expected to have applied by the end of registration.


avatar
3
monicmtne 2008.09.26 13:24 
MetaQuotes wrote >>

New MetaTrader 4 Client Terminal Build 218:

  1. MQL4: Fixed reinitialization of Expert Advisors at change of accounts.
  2. Fixed calculation of a signal line for the Relative Vigor Index indicator.
  3. Added extra checks of price correctness when placing a pending order.
  4. Fixed setting of proxy parameters from a command line.
  5. Extended records in a terminal journal at a partial closing of a position.
  6. Fixed operation in MS Windows 2008.

The live updates are available through the LiveUpdate system.
You can download this build of the terminal at http://www.metatrader4.com/files/mt4setup.exe


Very good trading platform, and it would be the perfect one on the market if you could also fix the problem it has with "OBJ_TRENDBYANGLE" – troubles setting a trend line and reading its coordinates


Here is the code I tried and the results I received:

datetime lt=Time[100];
double l=Low[100];
ObjectCreate("test",OBJ_TRENDBYANGLE,0,lt,l);
ObjectSet("test",OBJPROP_ANGLE,30);
//ObjectSet("test",OBJPROP_TIME2,Time[0]); // places the line forwards

double i1=ObjectGetValueByShift("test",10);
Alert("1=",i1);
double i2=ObjectGetValueByShift("test",120);
Alert("2=",i2);
double i3=ObjectGetValueByShift("test",130);
Alert("3=",i3);


Result: 1st of all it draws the line backwards instead of forwards and even so the coordinates (value by shift) returned are not correct



trendline

Back to topics list  

To add comments, please log in or register