sd2000sd
sd2000sd
sd2000sd
Added topic how to check if there are 5 seconds to a specific date and time?
I want to know if there are 5 seconds until for example 8:00 am. I have to use the TimeTradeServer() datetime as the source of my current time . please give an example. Thanks
sd2000sd
Added topic is there anyone from Iran who is using Expert Advisors to buy and sell?
Hi, I am searching for a broker in Iran which supports autotrading. I want to use functions like Ordersend(). I need a broker that its servers accept such orders..  Please help me if you know one. Thanks 
sd2000sd
Added topic Should I login to my account before sending orders in MT5?
Should I login to my account before sending orders in MT5? I mean before using commands like: Ordersend(), should I send user information to server? should I do somehting else? because the server rejects all of my orders, but when I manually put them
sd2000sd
Added topic when does a buyStopLimit order will be sent to the server? when a new trade(buy/sell) action occurs?
when does a buyStopLimit order will be sent to the server? when a new trade(buy/sell) action occurs? or when a new request is detected without the need to buy/sell occurance in the market? I mean without coding. I mean the kind of order that we place
sd2000sd
Added topic void OnTick() runtime?
void OnTick() when does the above function take place? when does it run? please explain
sd2000sd
Added topic is it necessary to Set ExpertMagicNumber?
is it necessary to Set ExpertMagicNumber
sd2000sd
Added topic how to send buy orders in Iranian stock market?
Please, can someone give a simple example of how to send a buyLimit order for a symbol in Iranian Stock Market. I had have a lot of problems doing it. I need a sample code.  Thanks in advance. 
sd2000sd
Added topic what does result code 10006 suggest?
I am using CTrade class and sending a buylimit request. but I get the result of 1006! I am using this to get the result code:  Print(trade.ResultRetcode() );   what is the problem ? can anyone help me? 
sd2000sd
Added topic need an example of getting result with ResultRetcode()
ResultRetcode Gets the code of request result. uint   ResultRetcode ()  const  Returned value The  Code  of request result. How can I get the result using the above function? in CTrade class I mean. Thanks Please give an
sd2000sd
Added topic does the metatrader use ctrade class by default?
I want to be sure if Metatrader uses Ctrade class for sending buy and sell requests. Does anyone know it? I mean, when for example someone right clicks on a symbol in the marketwatch and selects "new order" and fills that form, does Metatrader use
sd2000sd
Added topic an example for using ctrade class needed
Please someone give me an example of using ctrade class in buying and selling a symbol. for example: buying with this info: order type: buy_limit  price:1000 volume:2000 Stop loss: 800 Take Profit: 1200 Expiration: today Fill policy: return
sd2000sd
Added topic Reason_program code explanation
REASON_PROGRAM 0 Expert Advisor terminated its operation by calling the  ExpertRemove()  function   Can someone explain this? 
sd2000sd
Added topic need a free autotrader for buying and selling automatically
Hi , I need a free autotrader which can buy and sell shares automatically. I need it to be completely automatic like the take profit and stop loss parts in the metaTrader. Is there a free one? Can anybody introduce one? and provide me with the
sd2000sd
Registered at MQL5.community
12