Metatrader Error 4106
Contents |
Page Last Post Printable Version Similar Threads how to add ILS/USD symbol to mt4 4 replies what does this symbol mean? 2 replies what is the symbol for oil ? 8 replies virus or something else: smile symbol becomes a crying symbol 2 replies mql4 error 5002 How to add new symbol 2 replies Platform Tech / Reply to Thread Subscribe Symbol() code mql4 error 130 Post #1 Quote First Post: Edited Oct 6, 2008 1:26am Jan 22, 2008 10:05am | Edited Oct 6, 2008 1:26am Oksana17 | Commercial
Mql4 Error 4108
Member | Joined Sep 2007 | 901 Posts ....... Request custom Expert Advisor or Indicator: dostapyuk "at" gmail . com Post #2 Quote Jan 22, 2008 10:17am Jan 22, 2008 10:17am lucidlamp | Joined May 2007 | Status: https://forum.mql4.com/8020 I do my best while asleep... | 238 Posts Hi Oksana17, You spelled 'string' wrong. First fix that, then try it again... Regards, lucidlamp Post #3 Quote Jan 22, 2008 10:19am Jan 22, 2008 10:19am Oksana17 | Commercial Member | Joined Sep 2007 | 901 Posts Quoting lucidlamp Disliked Hi Oksana17, You spelled 'string' wrong. First fix that, then try it again... Regards, lucidlamp Ignored It is spelled right and it still doesn't work. Request custom http://www.forexfactory.com/showthread.php?p=1814948 Expert Advisor or Indicator: dostapyuk "at" gmail . com Post #4 Quote Jan 22, 2008 11:20am Jan 22, 2008 11:20am charlies | Joined Jul 2006 | Status: Member | 103 Posts Quoting Oksana17 Disliked It is spelled right and it still doesn't work. Ignored Ask will give price for current chart, you need to use MarketInfo(Symbol1, MODE_ASK) You need to calculate the stop loss price using: MarketInfo(Symbol1, MODE_ASK)-25*Point It is best to use NormalizeDouble(MarketInfo(Symbol1, MODE_ASK)-25*Point, MarketInfo(Symbol1, MODE_DIGITS)) Post #5 Quote Jan 22, 2008 7:03pm Jan 22, 2008 7:03pm Oksana17 | Commercial Member | Joined Sep 2007 | 901 Posts Okay. How can I just buy GbpUsd and Sell EurUsd and do a backtest? 25 is the slippage, not the stoploss. Please help! Request custom Expert Advisor or Indicator: dostapyuk "at" gmail . com Post #6 Quote Jan 22, 2008 7:49pm Jan 22, 2008 7:49pm lucidlamp | Joined May 2007 | Status: I do my best while asleep... | 238 Posts Hi Oksana17, Firstly make sure MetaTrader is setup to allow EA's... Secondly, the 'Experts' tab in the 'Terminal' (CTRL+T) window should give you information (error codes) as to what is going on... ...furthermore adding: Alert("1 " + GetLastError()); after the first 'OrderSend' and: Alert("2 " + GetLastError()); after the second 'OrderSend'... ...should cause a pop-up window to display if the error is created by the 'OrderSend' line an