Forum

anything better than "MarketInfo"?

I use the following MQL code to keep me out of the market when the spread is greater than 1pip (allowing slippage of 3): "MarketInfo(Symbol(),MODE_ASK)-MarketInfo(Symbol(),MODE_BID)<=1.0" My Question is: why am I still observing my EA take trades when spreads are higher than 4 pips? Can anyone

view my tester values

Hello All I am new to Forex and MetaTrader4. I have spent many sleepless nights studying and developing my own EAs. I feel that Im getting very close to going live with real money. I would ask that you view my tester values below and suggest any concerns and things you feel I should look at to

Stop Trading when not enough money

Is there away to tell metatrader to "Stop Trading when not enough money " in the account? ...and to wait for ACCOUNT BALANCE to increase. Currently I get multiple warnings as I forward test "M-NOT enough money to trade". margin is insufficient to trade a lot size of 1.6". After a while my account is

What code is required to limit what ASK or BID price my EA can make purchase for.

What code is required to limit what ASK or BID price my EA can make purchase for. I am looking at PRICE_MODE but dont understand how use the proper syntax. I mnot clear that this is the code that should be used. My goal is to prevent PAIR purchases that are more than a certain price. Thanks in

How to Position Size when STOP is based on a moving average.

Hello All Every position size calculator I find requires a STOP value to process LOT size etc. However my STOP is based on a moving average . Can anyone help me to get past this issue. I dont use STOPs