Forum

12 month VPS offer does not show in MQL5?

Does anyone knows why, in the web-page of MQL5 there is an offer of renting VPS for 12 months, but in MQL5 VPS that offer does not appear? The largest available is 6 month

how to calculate breakeven price of open positions accounting for swaps

Would anyone know how to incorporate into a breakeven price calculation the swaps of the given positions? I am working on the function below, which calculate the BE price of positions of a given pair in a given direction, but I have not figure out a simple way to add the losses from swaps into that

What is the best suggestion for multicurrency EAs: OnTick, OnTimer, onChartevent?

While working with multi-currency EAs, most commonly one has a unique EA that is applied over to multiple currencies. In theory, there is an infinite loop, running the same operations over data from multiple currency pairs. While studying how to do this, I came across three alternative suggestions

VPS.. "indicator is too slow, rewrite the indicator"... how to reduce Max bars in chart below 1000?

I have a multi-currency EA that works very well in my local computer. However, when moving it to the MQL5 VPS, I get a warning saying " indicator is too slow, rewrite the indicator, please". Looking on the web over solutions to this problem I found several solutions like: 1. Disable news. 2. reduce

Help getting highest value from a calculated indicator

Hi, I am trying to convert an indicator from MQL4 to MQL5. I am struggling with the last part of it, which collects the highest and lowest prior values. This indicator is suppose to add and subtract the ATR to the high and low of each bar, and from a given lookback period select the largest or

MQL5 version of Chande Kroll Stop?

Does anyone has a MQL5 version of the Chande Kroll Stop indicator willing to share? I found the MQL4 version of it, but before start translating, wanted to ask if maybe someone already has it and is willing to share/post it

Percent change crosshair indicator for Strategy tester

Unfortunately, in the strategy tester of MQL5, the crosshair does not display the price change, as the crosshair does in the main chart. This is critical to quantify changes in prices while debuging codes. As such, I am exploring the option of creating an indicator that performs the function of the

How to CopyBuffer from an MTF indicator?

Say I have an indicator that generates values of higher time frame in lower time frame charts (A so-call MTF indicator). If I were to copy the values of that MTF for say creating a custom indicator at a lower TF. How do I copy the data from the MTF indicator? I am using a code that does the job (see

How to fill empty cell in buffer with prior value

I found a Pivot indicator, that identifies the highest candle among a set or before and after candles. It only marks the position of the pivot candle. This is the same idea of the fractal indicator , with the difference that the pivot indicator is flexible on how many candles on the right and left

Trading as an acedemic endevour

Is there such a thing as a bachelor, master's or Ph.D. in trading or a related field? What is the name of such a career?. are there good universities teaching this? or is such a massive enterprise of humanity purely an empirical/DYI one