Forum

Abnormal Termination Problem

Dear community. I am absolutly sure the problem i am facing is caused by my own stupidity :). Anyway i can not find a propper solution in my own brain, so i am here willing to learn from the wiser ones. Let me start with my snippet here: for ( int i= 0 ; i < SymbolsTotal ( false ) ; i++ ) {

MQL5 - write to file unixtimestamp with copyrates

Hello! I am using copyrates to get data. MqlRates t_rates[]; ArraySetAsSeries (t_rates, true ); CopyRates ( Symbol() , 0 , 0 , bars_total , t_rates ); so i ecxpect t_rates[i].time to be a unixtimestamp. But if i write it to file for example it becomes "Human readable". How to write it as a int to

put indicator into EA

Dear Community. At first let me thank you for all those helping hands posts of other topics which made me learn a lot here. Iam using following "simple" indicator in MT4 #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Blue #property indicator_color2 Red