Forum

Help!! I have lost access to all my programs.

I have lost access to MQL4 Storage and 100's of programs that I have written. I took a few months off at the end of the year, when I returned to trading with a new computer system and a fresh download of MQL4 my programs are not available through storage anymore. Anyone know how I can retrieve them

mql storage

i finally updated to windows 10, but now when i tried to update files from storage nothing happens, it is like blank. anyone else have this problem

Is there a better way to do this?

//+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ void StopLoss_Management() {

Margin Requirements

My broker has changed some of its margin requirements but when I print the results I am still getting the old requirements. When I place a trade with one of these currencies the new margin requirements are used. Yes I have tried to get an answer from the broker but they either say it is a Metaquotes

Question for the Guru's

I have an idea for a advisory type of indicator. 1) Calculate the maximum risk of a account using a Risk/Reward ratio and convert into the number of pips allowed to risk. <Got this covered. 2) Reset the Risk at midnight (Broker Time). < Got this covered 3) Check Order History for losing trades

Question for those smarter than I

double StopLoss() { /*-------------------------------------------------------------------------------------------------*/ double Calc= 0 ; double TickDigits=MarketInfo( Symbol (),MODE_TICKSIZE); if (TickDigits== 0.00001 || TickDigits== 0.0001 ) Calc=. 001 ; else Calc=. 1 ;

Is there a way to program color changes on the chart?

I have searched google and the MQL's but I cant find any examples on how to change the colors of the axis, scale, etc. I would like to cahnge the according what order is open. red for sell,green for buy,blue for no orders

I am stuck. What am I missing?

I have the following function that is supposed to create 5 pending orders . The distance of the the pending orders are to be 20pips apart. I can open the inital market order and place the first pending order at the proper distance but the following 4 pending orders are placed at the same price as

Blank Tab

I was wondering if anyone knows of a way to create a totally blank tab. I have tried setting the all of the colors in the properties section to black but my panel will still show candles in the background. thanks in advance

Margin used to open a position.

I am working an a indicator that gives me certain information about the currencies I trade. One part of this is the amount of Margin Used to open a trade. Market Info(NULL,MODE_MARGIN REQUIRED) works just fine as long as the "quote" part of the symbol is USD but it does nothing if USD is the "base"