Taki Eddine / Publications
Forum
Getting double value from textbox
When i extract a value from a textbox using: Value = DoubleToString ( ObjectGetString ( 0 , OBJPROP_TOOLTIP , 0 )) It works fine when you convert it to a double and print it. However, when i try to add 0.5 to the value, i get incorrect results. For example, the result of Value + 0.5 is 50.05 instead
Select orders and the MagicNumber
Hello Everyone i have this function on mql4 to check if there is an opened order with specific magic number : bool CheckIfOpenOrdersByMagicNB( int magicNB) { int openOrders = OrdersTotal (); for ( int i = 0 ; i < openOrders; i++) { if ( OrderSelect (i,SELECT_BY_POS)== true ) {