Forum

Typo in Docs

On: https://docs.mql4.com/account/AccountFreeMarginMode 2 - only profit value is used for calculation, the current loss on open positions is not considered; 3 - only loss value is used for calculation, the current loss on open positions is not considered. The second line should say "the current

iSAR giving me unexpected results

I'm trying to use the result from iSAR as an extra confirmation that I'm in a trend, before opening a trade. However, it is sometimes giving me results that make no sense. I saw in another thread someone suggested not using the current bar since the indicator is still being made. Okay. So I tried

MACD Sample not compatible with 5 digit brokers

I've been messing with the MACD Sample EA to help learn MQL4 programming. I've had a heck of a time figuring some things out though, since the trailing stop never worked. I finally understand now that since I'm using a broker that has 5 digits instead of 4, that messes things up in the code because