Forum

posible to hide mt4 active trade but not hide Equity?

A trader gives investor password to investors, but the mt4 account only can see history of trades, cannot see active trades, all active trades are hidden to protect the trader (nobody can copy his trade to earn extra money outside). But I realize the trader hide the Equity too. I want to check the

which website show correct economic calendar news event?

I want to backtest my EA on news event in the past 10 years, but... I don't think we can backtest news filter, because all website news event history are wrong fxstreet.com investing.com forexfactory.com myfxbook.com all this 4 websites news events are so difference from each other. Does anyone have

can indicator force to close trades of an EA during strategy tester?

I want to build a platform / website / software / indicator for people to backtest their EA by news filter (prevent ea open trades on big impact news, close all trades before news start). I understand many people only have EX4 files of the EA, because ea seller won't give mq4 file. So I can't modify

MQ4 how to identify multiple groups of trades?

If there are only 2 horizontal lines, I can easily open new trades by the following condition : if (Total_Sell() > Total_Buy() && Ask > upper_blue_horizontal_line) { Open_New_Buy_Position(); } Now there are 4 horizontal lines, how to separate the Total_Sell() and Total_Buy() between the blue

How to make mt4 default iExposure indicator sorting by pair name

How to make mt4 default iExposure indicator sorting by pair name like below ? Audcad EURchf Gbpusd I trying sort the array but not working : ArraySort(ExtSymbolsSummaries, WHOLE_ARRAY ,0,MODE_ASCEND);

Security Concern MT4 hacker

My question : I worry hacker hack into my mt4 account and simply open big lot size trade causing huge loss causing all investors losing money. How to set to block the ip if people try 3 attempt login with wrong password on my mt4 account? My question : Even if I often change acc password, but the

How substract 1 day from TimeDayOfYear() ?

input DateTime Date1; if (TimeDayOfYear(Date1) == TimeDayOfYear( TimeCurrent ())) { Print ( "It is the same day" ); } if ((TimeDayOfYear(Date1) - 1 day) == TimeDayOfYear( TimeCurrent ())){ { Print ( "It is 1 day before Today" ); } (TimeDayOfYear(Date1) -1 day) is causing error. What

Do something only if order is opened successfully?

int oldSellEntry = 0 ; if ( OrderSend ( _Symbol ,OP_SELLLIMIT , NormalizeDouble ( sellLot , 2 ), ighest1, 3 , SL_TMP, TP_TMP, "1" , 0 , 0 ,Red)) { oldSellEntry = 555 ; } print (oldSellEntry); // Why output is 555 even if no trade is open? How to make sure Ordersend() successful before

mql4 how to get datetime of iHigh?

double highestPrice = iHigh ( Symbol (), 0 , iHighest ( NULL , 0 , MODE_HIGH , 1900 , 2 )); How to get what is the datetime of the iHigh in format YYYY-mm-dd 03:12:01

Problem with coding, please help

I have problem with my coding. Why DoubleToString only accept value from 0.0 to 9.9 only? Why cannot accept 10.0 to 30.0? Hopefully any expert can help me out. I have attach the screenshots. #property indicator_chart_window #property indicator_buffers 1 #property indicator_color1 Red //----