New MetaTrader 4 Client Terminal Build 218

 

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 https://www.metatrader4.com/en/download

 
MetaQuotes:

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 https://www.metatrader4.com/en/download


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

Reason: