Expert Advisors and Automated Trading - page 158

To post a new topic, please log in or register
halo, i am new on this area, can i ask we really can earn from EA? i have an EA and the profit is 5k from $100 as initial within 1 month on demo backtest result, but yet test on live account, it really almost same result as demo account? any1 can share me with this kind experience? thank you
Hi Before i request this in freelance, does anyone have a MT4 script that will close all my positions at a certain level? (even if i add more positions). I have had a thorough look, and can see scripts for pretty much everything apart from what i need :-) Thanks. Kate x
class COrderType   { private: double m_Ax; double m_Ar;        public: COrderType(double AR,double AX):m_Ax(AX),m_Ar(AR)          { AX=iRSI(Symbol(),PERIOD_CURRENT,.....
Hi everyone, I am running two different EA's on my account and wondered if there is a tool available to see how each EA performed? I currently go through my trade history one by one trying to disect which trade has been made by which EA. I am also looking for a tool to organise my trades,...
We know that EA that works in function OnTick() runs based on ticks. My question is, is it possible to write an EA based on time but not based on ticks? Thank you. 
Hi there I've downloaded ma_cross.mqh and testma_cross.mq5 from "Create Your Own Trading Robot in 6 Steps!" https://www.mql5.com/en/articles/367. I checked the Expert Advisor in the Tester for EURUSD on daily TF between 2014.09.01 and 2015.04.15 and I had no trades because of Trade class doesn't...
  order Select (2)
hello in mql4 i used following code for (i=0;i<OrdersTotal();i++){ OrderSelect(i,SELECT_BY_POS,MODE_TRADES); if( OrderMagicNumber()==Magic){ if(OrderType()==OP_BUYSTOP || OrderType()==OP_BUY) Bought++; if(OrderType()==OP_SELLSTOP || OrderType()==OP_SELL)...
Hi, How would I (if its possible) completely restart my EA, under certain conditions from within the Program? Thanx
Hello Everyone, I am new the MQL5 forum and Forex trading (Within the last 3-4 monts), so please bare with me if I seem to ask dumb or ill-informed questions. I do have some limited experience with programming and writing code, as it was a requirement to take coding classes to pass my Mechanical...
Hi, How do I check in MQL5 when my last trade happened on my account? Sorry if it is a bit of a cheapass question. Thanx
Dear all, Can somebody point me in the right direction to help me "split" different expert advisors when running on different charts? The problem is that I currently use the check "if(PositionsTotal() == 0)" as before proceeding to my "OrderSend" section. But I want to split them, so that I can...
  onTakeProfit (3)
I want to execute code every time a take profit is triggered, how can i do that ?
Hello, i created a signal and want to test the working now in an other terminal. but i am not able to subscribe the signal. For Subscription i opend the browser, clicked on "copy trades". Than i choose the path to my mt4. The signal is loaded in signal tab, but the subscription button is grey. I...
Hey guys can some one help me on this code as it does do martingale but on the next signal (arrow) and i want it to trade on the next bar. so if a signal(arrow) comes up and opens a trade which it losses it then must do martingale on the next bar till it wins. please help extern string note1...
Hi, I need help with my Expert advisor. After installing it and dragging it to a chart on MT4, I cannot find any log in details in the 'Inputs' tab. I have tried dragging it again, reinstalling the program but still no luck. I am using FX Copy Bridge V3.0. Please Help :(
The last MQL5 build has this new Times&Sales chart attached to the Depth Of Market windows. How to access this data by code?
I've build my first EA ,but I've got some problem about it... I've set my EA to open an order(buy) when MA5 above MA15 and then close the order at tp = 100 points... the problem is when the order was closed while MA5 still aboved MA15 so my EA opened a new order suddenly. :( I wanted my EA to...
  How to close an order (12   1 2)
Hello, I need to close an open order (not a pending order, an order that is running). I have its Ticket number Thanks
I'm looking for the worst free&nbsp;forex EA you have seen that constantly loses allot of money. Any suggestions?
I have purchased 2 EA´s from market and have installed both allready to a MT4 on my desktop. But now i have rent a VPS and there i have installed two different broker (with MT4). &nbsp;One should be for a EA with longer trading-term and wone should be for a EA with shorter-term. At one i have...
Hallo I have bought a strategy form MT4. I would like to know if I have to run le pc open all the time to get the signals or if they work the same if the pc and metatrader 4 are switch off. Thanks a lot
Hello, i am looking for an MT4-EA which closes all open positions at all pairs at the same time every day. i want to set it up once and it should do its job daily at the same time without having to set it up freshly every day. i have searched the web for days but i didnt manage to find an ea...
Help, please. Somewhere on the site is a post which describes how each indicator trades, ie the various options for each situation. Would someone be good enough to tell me the url or the title of the page or a technical term that I can search for. Thanks daveM
Is there anyone able to program this system in EA , if so please PM me. http://prntscr.com/78ry22
  EA help (1)
why does it goes like this?? can somebody help me out here see picture and ex4 file
Hello Gnetelmen, Bollinger Bands trailing stop coding Need someone help me coding thistrailing stop I am trying to use Bollinger bands as a "trailing stop". if I am in a long position and the close price touched the Upper band, I wantto exit the position when it comes down to the middle band....
Gap classifications not updating the Global variable Status; //--- Global Decalaration;int GapSignature; //--- OnItnit //---Variable GapSignature = GapFinder();//--- Functionint GapFinder() { int GSTemp = 0; int GeneratedGapSignature = 0; bool GapCondition1 = (RatesSymbol_0[1].close &lt;...
I am new here i have some indicators and i need someone who can turn them into a pro EA.
This code: data.ThisTimeStamp[i] = (datetime) SeriesInfoInteger(data.symbol[i],data.ThisTF[i],SERIES_LASTBAR_DATE); It will only return the correct value if the corresponding chart is open in the terminal. Otherwise it returns zero. The format Makes developing multicurrency EA:s cumbersome...
hi very good , I need some help, my EA made ​​several orders followed buy buy buy or sell sell sell but just want to make a signal , the first of each order is possible .. ?