Relina / Publications
Forum
Convert Unix timestamp to Readable Date/time
Hi guys, I'm parsing some data from the net, but Date/Time on the page I'm parsing is in Unix timestamp format (example: 16557750000 is Tue, 21 Jun 2022 01:30:00 GMT). How to convert it, any idea? Thanks for your help, will be very much appreciated
Max Drawdown
Hi guys, If you can help me with this, I will be really grateful! I need a simple code which prints on the screen as Comment() the following parameters: TotalProfit Max Drawdown These 2 values should be calculated over all the history for orders with the same Magic # I couldn't find anything similar
StringFind is not working correctly
Hi guys, I'm facing a problem when Using the StringFind() function . Here it is my code: GlobalVariableName is in format: "Msg_123456789_-213.34" double a( int ticket) { string tik = IntegerToString (ticket); Alert ( "t- " +tik); int tot= GlobalVariablesTotal (); for ( int i= 0 ; i<tot;