Hi, Can Mt4 can be controlled via cmd (windows shell - command line) ? For example, to send "buy" order to MT by the command line ? Why to do so ? Well, suppose I want to control MT4 on my computer when I'm not there. I want to send an email to my
Do you know indicators which determine if it is a "trade zone" or not ? I know only one - "noise to signal" indicator. If you know more, please write them here... 10X
Hi, I want to check if some indicator, let's say Fisher_jurik, is crossing the "0". I have tried to use iCustom but I don't think I understand how to do it ... the code is : int start() { //---- int ticket; if(Volume[0]>1) return; double res0 =
Hi all ! I have a quite simple question (I think...) Suppose I have a EA that opens several trades - all with sepecific TP. Now, I want that this EA will close all the other open trades, once one of the open trades will hit it's TP. I want that this
I have a simple EA that open buy orders at Ask price or sell orders at Bid Price. When I'm tring to backtest it, I'm getting errors regarding to the open price of the trade. How can It be ??? Attached here the output of the jurnal with those errors
Hi, I am tring to run the following script on MT4 (build 196) and I get an error msg - "Invalid trade parameters ". //+------------------------------------------------------------------+ //| script "send pending order with expiration data" |
Suppose I run an EA code on a 5 min chart. How can I know the current value of some indicator, lat's say RSI, on the 15 min chart (of the same symbol of course), or any other time frame rather the time frame from which I run the EA? 10X ! yaniv
Hi, How can I know the duration expresse by number of bars (in the current chart) for a specific position ? Actually, I want to close a position automatically after 30 bars (in my expert-advisor) How can I do that ? 10X
Hi, I'm writing the simplest code I can but I always get error "Invalid price" when tring opening a position !!! ex: if (OrdersTotal() == 1) return; res=OrderSend(Symbol(),OP_SELL,Lots, Bid,3,Bid+StopLoss*Point,Bid-TakeProfit*Point,"",100,0,Red);