Expert Advisors and Automated Trading - page 452

Hi, I'm looking for a way to fix the price of my stoploss using a lossprofit (x% of account currency) : double StopAtEquity = RelativeSL * Equity / 100; &lt;---- x% of equity tolerated as a loss for each tradesfor (x=1;x<10000;x=x+1) { &lt;---- using this loops doesn't seems to work (too large...
Does anyone know how to write an Expert advisor MT4 RSI ? I want the EA to automatically place a buy order of 0.01 lot when the RSI hit 20, then take profit if price move up more than 5 pips. I also want the EA to automatically place a sell order of 0.01 lot when the RSI hit 70, then take profit...
I subscribed a Mt5 signal provider here, they have 100% win rate. Just after 2 days of running it, it already give me a negative result with six losing trade! It is a paid signal. Why and what should I do now
Good morning every one, Im sory for my question, it was already posted but i do not understand even more. I just want to open a simple BUY or SELL on an EA, it works great but some times i've got this message : 2015.01.21 23:09:51.127 Trades '676751': failed market sell 0.10 GBPNZD [No...
[Deleted]
  EA's ability  (1)
Hello everybody, i m curious to make EA that can be able to implement my trading rules Is it possible EA can work with these rule: 1. work on 3 Different timeframe on one pair, and applied on multi pairs 2. Can set maximum open order 3. Automaticly not trading on 50 minutes before high impact...
I recently purchased a Point Zero Trading EA (Trade Manager Pro) from the Market and installed it on one computer. I have 4 activations remaining. I went to install it on another computer but it doesn't say DOWNLOAD, only BUY. What steps can I take to resolve this?&nbsp;
Hi everyone! I need to know in what price a market order was executed. Do I need to get the history values of a Deal, or is there an easier way? Regards, Roberto
Hi, I'm doing an optimization and it appears that it's kinda *stuck*. I'd like to reboot the box and resume it, but I'm not sure & I don't want to lose what has already be done. Actually it's a 1 year optimization, using the cloud & 2 core of 6MB RAM. From your experience, how much could it take...
  trade copier  (1)
hi I need a trade copier of 1: 1 copied without time delay. I will let MT4 demo copy on real and that if possible the very same course in real appears as on the demo. for example: demo EUR / USD 1.15000 and 1.15010 closed on! The exact copy on real account without price diffenrenz. Therefore,...
It deserves a topic. Error 4805 not described enough. An EA with Money Flow Index, gives this error. Two weeks it didn't take any trade, but when running it in the strategy tester, it gives the same error but *trade.* So I'm not sure on what to do. Any suggestion ? cannot load indicator 'Money...
[Deleted]
Hello forum, good day. I'm making a Pending Orders EA using a daily timeframe, and I need to place the orders on the same day that certain criteria is met. For example, lets say that if at 16.01.2014 +DI > -DI and previous candle (from 15.01.2014) is black/bearish, a BuyStop order should be placed;...
Dear Forum, i'm a newbie and i thing, my question is very easy for you professional: Has somebody an Alert for adwicing me, when the Bollinger Bands width is growing or sinking? Thanks a lot for your help snoop
Both of them are OOP. As far as I see, the main difference is that MQL4 does not have a standard library. What else? Is there any other big difference between those two?
Hello, I am building an EA and would like it to set the SL and TP levels not when the trade is opened, but at a certain time of the day after it has been placed. Can someone help me, please? Thank you!
Hello. With my multi currency EA, 15 symbols and 100s of open positions all the time, which is better to use to continually closes position/s per ticket per 1-2 conditions: 1. Should I use >   " while " ; 2. Or just simply use the code below ( But, it is not properly working     when positions are...
[Deleted]
  Pending Order EA  (2)
Hello Forum, good day. I'm trying to finish a Pending Orders Expert Advisor that takes the OHLC prices from the previous candle/bar right when a new bar/candle is created and +DI > -DI for Buy Orders and +DI < -DI for Sell Orders, but somehow there are times that it takes this values from two or...
I watched the demo video for signal subscription , but i do not have the signals icon in my MT4 ? Why
Hi Guys I want to Get The previous Days values of a Pivot points indicator . I Use The iCustom() To Do That int DayBarNumber=iBarShift( NULL, PERIOD_H1, TimeDay( Time[1] ));// Day 1 double D1R3=iCustom( NULL, PERIOD_H1, "FXI Weekly Pivots" , maxWeeks,weeklyNotDaily,showPivotLines...
I would like to print enumaration expressions, not integers, to the expert log. For example, for the following code, is there a more smart way of doing this? PositionSelect("GBPUSD"); Print(EnumToString((ENUM_POSITION_TYPE)PositionGetInteger(POSITION_TYPE)));
When I put the following code in the OnTick() event handler, it is working: MqlTradeRequest request;   MqlTradeResult result;      request.action = TRADE_ACTION_DEAL;   request.symbol = _Symbol;   request.volume = 1;   request.type = ORDER_TYPE_BUY;   request.type_filling = ORDER_FILLING_IOC;...
Hi all i need a little help with this part of a code At the moment with this code my ea opens maximum two orders each time but the problem is that if there is a second order it could be either a second buy or a second sell and i only need it to be able to open one sell and one buy .I'm not a...
Hi, I am looking for EAs what took first 3 places on Automated trading chanpionship 2012. Names of winers: 1. Francisco Garcia Garcia 2. Juan Pablo Alonso Escobar 3. Alexey Masterov I would like to download this EAs and test it. Thank you in advance for help and support.
When I place the cursor over an opened order by an EA, I read "comment,placed manually, expert id" ... why does it say "placed manually"? Additionally, on the trade tab of toolbox, I can not see my magic number for the orders placed with OrderSend() from an EA ... there is an ID tab there, I can not
Hi guys I would know if there is any way to know, having a ticket, if the relative order has been closed with a Stop Loss or with a Take Profit Thanks Eugenio
Hello everybody I need some help on how can I use a the iCustom() function to detect the color of the circles that the indicator draw’s (Red or Green ?) ,I try to look to the Data Window to know the indicator buffers , but there is nothing . (I have the compiled file)
Will trading work if I subscribe my demo account with a live account?
Is there suppose to be a green light next to my subscription on my trading platform to show that it is correctly synchronized? It is currently showing a faded yellow and my trades did not sync with my subscribers last 5 trades now
When sending an order with TRADE_ACTION_DEAL in market execution, sl and tp fields of the MqlTradeRequest structure are neither obligatory nor optional according to the reference. Additionally, I have also checked it from the Andrew Young's book and it says that sl and tp are not placed and ignored...
[Deleted]
Good Afternoon ! Can someone please give me some guidance on this subject ? Regards, MRC
There are [in] and/or [out] descriptions at the parameter definitions on every function page in the reference. What does [in], [out] mean in the descriptions of parameters?