Download MetaTrader 5
To add comments, please log in or register
Publish the program in the Market and sell it to millions of traders!
MetaQuotes Software Corp.
Moderator
177116
MQL4 Comments
16309
MQL4 Comments 2008.12.05 18:33  

Useful indeed sir, but your coding style is amongst the worst I have ever seen! What's with the commented line numbering and the semi-colons at the ends of the lines? Were you not taught to indent your blocks?

Airat Safin
1302
Airat Safin 2008.12.08 01:34  
Hello
Semicolons at the ends of the lines and line numbering are result of code right margin control.
I always inspect horizontal scroll bar to keep it invisible.
Horisontal scroll bar appearance signalizes that somewhere code right margin is broken.
Code right margin control lets me be sure that all my code is in my sight.

Best regards

Ais

Airat Safin
1302
Airat Safin 2009.03.18 11:15  
Lot size computing: Additional Information
In this code sample "Position" means marginal position.
Value of "ali.PositionPoints" variаble means size of marginal position in points.
/
To add comments, please log in or register