MQL4 and MetaTrader 4 - page 1405

[Deleted]
  MACD Divergence  (1)
I'm looking to use the MACD indicator in my EA but strictly the divergence or railroad tracks as they are called in some areas. I am looking to only enter trades when there is momentum the trend signaled by the bars in MACD. Do these bars represent the difference between the EMA's? If so, how can I
Gud day Sir Safin! You have a excellent indicator AIS1AI to his robot AIS2. That indicator have sorry to mutch text,label,line.. and The are not posibiliti to switch that oll with one switch on/out.I ask Sir safin make that switch! And second that robot ressive excelent and wonderfull signals but...
Suppose that i have an EA that makes incredible profits. Then dealer noticed that and wanna steal this system. Can he do it via metatrader platform?
Anyone coded this type before? Adding position till not exceeding maybe 2% risk of your capital
[Deleted]
Hi! I'm starting with MQL4 programming and I've come across a problem. To reduce the problem, I've made a simple EA, with only 1 lines in the start() function: OrderSend (Symbol(), OP_SELL, 0.1, Bid, 3, Bid+(Point*50), Bid-(Point*50)); It should place a market order every time there is a new tick,...
Is there a way to use something like SetIndexShift() to render an OBJECT ahead of the most current candle? I'd like to draw something like an OBJ_RECTANGLE, and locate it by replacing Time[] as an argument with a X candle index shift forward from the most current candle. I tried to do the...
I have EA in which there is IF statement and based on the IF expression certain bool variabl;es are set. Here is the piece of code: Print("Just before IF ","(",poss_sell_sig," && (",low_4_20_prev,"<=",low_2_15_prev,") && (",low_4_20,">",low_2_15,"))"); if(poss_sell_sig &&...
[Deleted]
Does anyone have an example of how to place an order on the next new candle? I'm trying to create a buy/sell line that will place a trade on the next candle as soon as a given function = true. I really appreciate any help!
[Deleted]
I'd like to setup my EA so that it only trades between certain hours of the day. What is the simplest way to do this?
hello frds anybody can help need to plot the forward values of span A and B of kumo inside FSB .... but dont know how to do it, in FSB i get those value just at the close of candle ...BUT need to plot the forward values (the end of the spans usually 26 periods ahead) tks very much lerecidiviste
I'm trying to get a histogram to show the differences bbetween 2 moving averages . I modified the OsMa for this but am not sure i have the buffers right for the drawing? It seems to draw it correctly but somehow the code doesn't seem correct
[Deleted]
. All I want to do is drop a script on an offline chart and have it refresh. I have tried WindowRedraw() RefreshRates() PostMessageA() From Period Converter opt and WithoutSunday Even the windows keystroke code from 2004. Everyway to Sunday and... Nothing. . Wow, this problem is a tough one for me
[Deleted]
I've got a custom indicator with an external variable that I would like to be able to change and backtest through an EA. How can I define that variable in an EA so that I can change the value in the EA so that it is reflected in the indicator?
[Deleted]
poss dates please. can support release language documents even if not gonna be product release anytime soon? so many things wanna do that mql4 unable to handle without huge codings to work around it and maybe looksee at even pre release documents allow to design 'now' in antipation tommorow ;) thank...
[Deleted]
I've got an EA that evaluates the previous 2 bars for a cross over of an indicator line. The problem I'm having is that the EA is alerting multiple times because it rechecks the previous bars repeatedly while the current bar is active. How do I prevent this from happening, so that it alerts only...
[Deleted]
  error 130  (2)
Hello, i get always error 130 from order placed in EA (not manually). the expert log with wide target and stop pips (500) 18:26:48 tcmtibEATest1 EURUSD,M5 inputs: TakeProfit=500; Lots=1; HedgeSymbol="USDJPY"; 18:26:48 tcmtibEATest1 EURUSD,M5: short stop=1.436170 18:26:48 tcmtibEATest1 EURUSD,M5:...
The alert is sounding every hour with this indicator, it should be picking up the previous value and only alerting if the lines have crossed back over. ANy ideas on what is wrong? //+------------------------------------------------------------------+//|                                      Alert...
If I would to trade EURUSD, GBPUSD, EURJPY, USDJPY would it be good if I use this filter? pls comments. //+------------------------------------------------------------------+ //| Compare |...
I use IBFX, but started to think that FXCM should be useful since I make scalper EAs. Thus, I was wondering which brokers EA makers were using. What broker EA makers mostly using? Thank you
[Deleted]
How can I determine the color of the last bar of the indiacator Awesome Oscillator? Thanks in advance, G
[Deleted]
Hi, I sometime look at the forum to see if there are good EA to use. Instead I find too many good ideas and a few good EA. For example, someone has placed an EA on RSS feed to show the open trades to others. It works fine, but after the handle reaches 32 it does not work at all. If you are going to...
[Deleted]
Hello I'm trying to write a simple EA using the RSI. The EA should buy whenever RSI is under 45 and sell when it's over 55. The EA also should close open long position when RSI is over 55, and close an open short position when RSI is under 45. Simple enough! I'm just trying to learn how to code...
  Bizarre error  (8)
hi Coders, I was programming a EA that i had in mind but after doing some backtesting i realized that i'd be better if the system had a Trailing Stop or Breakeven, then i started to code the break even first. And this is the code: for(int k=0;k<=OrdersTotal();k++) {...
I'm writing an indicator with a moving average crossing a bar with an Alert. But, the Alert toggles on and off a number of times during the current bar. What could I do to prevent the alert to go off so many times while the moving average is crossing that bar? Or, maybe what function if any, can I...
is it possible to dynamically change the background color and remove the grid lines from an EA
[Deleted]
  Linked Charts  (2)
How would one link, say 3 or 4 charts on different time frames, so that when the symbol of one chart is changed, the symbols on the other charts change as well? Is there a way to change the chart symbol using a script?
Hi, I am a very beginner in the programming field. It happens that i have a trading strategy that might work well if i have a hybrid EA including NN. However,i couldnot afford time or effort to start learning everything about advanced programming, genetic algorithms or Neural networks. I surfed to
Hi all there, i have installed two instances of MetaTrader, latest build on an XP Prof., from different brokers (one live and one demo). In both of the terminals i use the same charts, same timeframes same experts ... One terminal use about 300.000 mb RAM (live), the other only about 20.000 mb Ram...
i found this attached EA interesting but it lacks takeprofit. Pls can anyone make it to be given itself take profit the way he do to stoploss
Hi folks, I have been testing a multitude of systems (EAs) and after many, many lackluster results and complete failures I have come up with one that is giving solid results. That was quite a challenge. I don't believe in backtesting so I just forward test by letting a demo run in realtime and play