Expert Advisors and Automated Trading - page 188

To post a new topic, please log in or register
Hello. I reinstaled my MT4, and now some of my indicators doesn't work anymore. Heiken Ashi smoothed and most of my histogram indicators show just couple bars at the end of the chart or dont show anything. Maybe someone can help me, and know what the problem is?
I recently subscribed to a mql5 signal and set my account balance percentage to 75%. However, I would like to change this percentage ratio now. How could I access the settings for the signal to which I am subscribed? Sorry for the newbie question and thanks very much.
Hi there ! On my last post I was wondering how to work with OHLC, founding no solution, I now use for the EA ticks. When I optimize, results appears, but when replayed the results differs. What that could be due to please ? thanks.
Hello, i need a simple code by simple steps to get the current open position open price and profit using mql5 thanks,
Hello all, I just started having this problem yesterday. Whenever I try to subscribe to any signal besides the few that are listed in mt4, it won't let me subscribe. I enter my password and then nothing happens. I also can't save them as a favorite, they're all grayed out. I've tried going...
Hi ! I kindly noticed how much optimization with OHLC price was quick ! On the other hand, in real it doesn't apply. Would using OnNewBar rather than OnTick made it accurate in real condition ? Thanks !
[Deleted]
  Copy signal (2)
Hello, When i copy signal from mql5, must i have running terminal or no? Thank you
I'm learning MQL5 and I'm me with a question. In most EA examples, the stop loss and take profit are realized by points. However, I would like to use the stop loss and take profit by the price. How can I do that? mrequest.action=TRADE_ACTION_DEAL;...
How can I get magic number when i have TRADE_TRANSACTION_HISTORY_ADD event?
hi im new. i want to make new EA for Trailing Stop, so it can take care of all open trade on the chart. normally i will set manually for all open positions. i just what to make the triling stop to be automated. can it be done? can anybody help me ?
sir i need reverse order sir instead of BUYSTOP order in upper side i need SELLLIMIT order in upper side instead of SELLSTOP order in lower side i need BUYLIMIT order in lower side pls help me sir i tried but not work pls fix this one
  Martingale (2)
Hello everyone, I have a question regarding the search for a Martingale indicator. I would love to get an EA that just does Martingale and nothing more. One that monitors trades coming in and change lot's when losing. My trading (entries, exits) come from my personal EA, but I have difficulties...
any body able to assist fixing the compile errors in the code below //+------------------------------------------------------------------+ //| defines | //+------------------------------------------------------------------+ //...
could someone please help me in coding this: double lotsoptimized(){ double lot; if(stoploss>0)lot=AccountBalance()*(risk/100)/(stoploss*pt/MarketInfo(Symbol(),MODE_TICKSIZE) *MarketInfo(Symbol(),MODE_TICKVALUE)); else lot=NormalizeDouble((AccountBalance()/lotsize) *minlot*risk...
Hello guys I tried to code an EA, but i have a problem in pending orders. when signal called and pending order did set, if pending order get not reach and open, EA dose not delete that and dose not set new pending order for new signal. What should i do now? Most part of my EA input string...
This is just for verification because I seem to be getting conflicting results but per my below code shouldn't my most current values be CloseArray[0] and RSI_ARRAY[0] ? Or did I get my signals mixed and my most current values would be CloseArray[1] and RSI_ARRAY[1] Thoughts?...
Hi, I am trying to receive CHARTEVENT_MOUSE_MOVE event for a chart that I open with ChartOpen : int OnInit()  { //Everything is fine for the current chart, I receive the CHART_EVENT_MOUSE_MOVE events with the following lineChartSetInteger(0,CHART_EVENT_MOUSE_MOVE,0,true)  ...
I tested the EA in https://www.mql5.com/en/docs/chart_operations/chartindicatoradd and works well. Now I wish modify indicator's style/width/color, is there a way? Thanks Nicola
Hello folks, I have spent all the afternoon trying to get the following code works. After tried it with no success, I built a completely different code with Windows APIs to use the correct names from Kernel32 library but also didn't work. https://msdn.microsoft...
Discuss about Sharpe Ratio. I think if a signal with Sharpe Ratio lower than 0.2 is not good. I mean it is very risky. Your opinions?
hi, I can not download ea from macket, the maket tab diaplayed error, pls refer the attachment. My system is windows 2008 server and the mt4 is udpated on this VPS . pls suggest how to download this EA?
Anyone know of an EA that works on Parabolic SAR and RSI
In the FAQ for Signal Service, we have this stated limitation: On Provider's account all trades are performed with volume of 0.1 lots. I want to copy these trades with larger volume, for example 0.3 lots. Can I raise the volume somehow? All volumes are calculated automatically. Subscriber can...
Hello fellow traders and programmers, I'm interessted in your opinion and would like to know how you evaluate a EA. What are the important requirements that a EA must fulfill? Of course I want to know that because I need help with my own EA... Also, I dont know how much I can trust the backtests...
Hello, I would like to know how to be sure that a custom indicator have been already loaded into the chart? I have an script, then inside it I create an instance of a custom indicator (slower than built-in indicators) and add it to the chart. After that I read some values of the custom indicator...
Hi, I am a newbie to programming and a part-timetrader. I cannot watch the chart all of the time. I am looking for an ea that will open a trade at the end ofthe candle. I want to open 4 separate positions at 1 time and be able to also set TPand SL or Trailing Stop for each position individually. I...
hi i need mql code to store static values A and one for dynamic variable as B so i need to compare this one let for example one high made it stored in static and another high made as dynamic variable as B so i have to compare this two values pls help me out to give code for this
hello, i have a question : some one know if there are a system like Hlaiman (https://www.mql5.com/en/market/product/6077) this system allow to put arrow to learn the strategy ...my question there are some open surce free program like it that can be modified and allow to add indicator . if...
Does anyone know how to capture the current closed price? I'm writing an EA program and I assumed that the current closed price was contained within the below but I was wrong. input ENUM_APPLIED_PRICE CURRENT_CLOSE = PRICE_CLOSE;
like the title say i have small acount of 100 euro and i w to try an ea