Expert Advisors and Automated Trading - page 390

Hi, if I call an indicator in my EA Tick_by_Tick using iCustom(), what Indicator-events will be triggered Tick_by_Tick, in other words, will the indicator On_Init Event fire every time when I call from the EA, or will the Indicator do the On_Init once and subsequently execute only the On_Calculate...
Hi everyone, I'd like to know in a hand if there 's an EA with which I can set a dynamic Trailing stop sytem automatically when I open a position (from an order or manually), that mean for instance that for each 1 tick of valuation on the stock price, the Stop loss goes up/down by 1 tick following...
Let's say I have build a custom indicator for binary option, it gives buy sell alerts. I need to know what is the best settings for my indicator to archive the highest win rate. Because I can't backtest indicator in Mt4, so I need to convert it to EA. I think it is not difficult to convert my...
[Deleted]
Hello forum, good day. With what property can a bar be highlighted in MQL4? Your help will be much appreciated. Best regards and thank you, Gerardo 
Something strange hapens when i try to backtest my EA. When i restart platform and start EA for the first time it is working, but when i terminate EA (stop buton), and press start again it shows: 2015.05.16 15:01:41    Core 1    connection closed 2015.05.16 15:01:41    Core 1    disconnected and im...
I am back testing a multi currency EA. I noticed in my logs there are messages such as: 2015.04.23 19:00:17 Core 8 GBPCAD: history for 2015 year synchronized What exactly does history synchronization do? I see it happening on pairs that are included in my EA but set to "false", meaning that they
Hi, How to ? I think it's more than relevant since a profit expressed in $ is lot-dependant.
Hello,   I am generating trade signals from a separate server, which gets uploaded to a MySQL database. Right I am running an EA script, and essentially at every tick I am detecting for changed in the database. If a new signal is uploaded, it will be picked up by the EA script and it will...
[Deleted]
Hello forum, good day. How can a trend reversal be detected more accurately, with price action, using a technical indicator, or both? And, which technical indicators would be the best for this case? Your help will be much appreciated. Best regards, Gerardo
can any one modify this EA it's only working in back test but i want to use it in forward trading please some one fix it ???
Hi, Optimizing an EA on a instrument for which my broker owns 2 years, I'm wondering if I'd better use 1/2, 1/3, 1/4 ? Which advantages/inconvenient for each, generally speaking & on my 2 years history's symbol ? (MT5,brokers data only). 1/2 : catch params with better perf on a long 1/2, then...
Hello, MT5 in tester mode clears the contents of the folder ...\MQL5\Files\ within the branch ...\AppData\Roaming\Metaquotes\Tester\ just before starting a new test. However, the branch ...\AppData\Roaming\Metaquotes\Terminal\ is always preserved. How can I keep persistent files to be read...
Dear all, I succesfully subscribed to a free Metatrader trading signal for several days and I have a problem when trying to do it in a different computer. I want to subscribe to the same signal provider with the same brokar but in a different account, so a different login is required (same broker...
May i ask will this error exist if there're 2 mt4 terminal run the EA which using the same magic number at the same time? There're 2 Brokers, but using Same EA, Same magic number and run at the same time. 1st mt4 EA, magic number = 11111. 2nd mt4 Ea, magic number = 11111. Yet, it came out...
The result is a powerful filter with good throughput. For example iVolume<50 Sell open. iVolume>300 Buy open
Hi, I have a problem I have tried everything and cannot load my EA on the MQL Virtual Server. The server will not allow DLL that I know is Ok, But when I turn off DLL from the EA inputs then I lose the chart on MT4. Then I cannot load Quantina EA to the Virtual Server because it's not there....
Is it a limitation to mt5 that when testing a multi-cuurency EA the results will be different depending on the symbol it is tested on? Even using the same settings and same symbols selected, I am getting very different results depending on the symbol it is back tested on. EA uses open prices only. I...
Hi, I have a small visual problem with my homemade Binary EA. When i start the EA and the signals come its all good, but after a while when many new bars has come the arrow start chaning place. I have the arrows in IndicatorBuffs like this, SetIndexBuffer(0,arrow_dn); SetIndexArrow(0...
  Newbie Question  (1)
Hi there, maybe i'm a donk, but i can't get this Software running with a bot ! I got the Errors: 2015.05.13 05:02:16.434 MACD Sample GOLD,Daily: Error opening BUY order : 130 or 2015.05.13 05:03:27.731 MACD Sample GOLD,Daily: Error opening BUY order : 4109 Im using a demo account and...
I would like to be able to overlay two closely correlated currency charts (EURUSD and GBPUSD) on an MT4 platform to demonstrate the differences in direction and relative movements to one another in different time frames.Any help would be greatly appreciated.
I attended a fx paid training in jamnagar gujrate india.after lot of effort I concluded, only i couold trade is using smart expert which could trade for me, I found a simple expert using ma and adx written by samuel, I could used to trade, however i cannot debug or compile it, because it has some...
Hi, I'm setting the request deviation variable of the MqlTradeRequest structure before send an order and testing my EA with the Random Delay Mode enabled on the Strategy Tester. The problem is that the order is been executed with slippgages much grater than the value set. There's any pre-requisit...
Hello all, I am relatively new to EAs and I do not know the MQL programming language(or any other programming language) so I am not able to make my own EA. However I have heard that there are softwares that you can use to make EAs without using any programming language. Does anyone know such...
[Deleted]
Hello forum, good day. How could I know in MQL4 if a bar closes on the top or bottom 25% of its range? Your help will be much appreciated. Best regards and thank you in advance, Gerardo
I am trading with certain broker with real account. I use automatic system to place order. I use OrderSend to place order at market price with Stop Loss. Order is filled with required price and stop loss is also set and available on server. However, when Order is closed the closing price is not...
Hello, I am currently searching an error manager. It should have a feature, where a log is written with all occurred errors. A larger number of different error should be covered. The error detection is done in the ea. It should be in a library or something like that. Do you know some solution...
[Deleted]
Hello forum, good day. Is there a way to move the Take Profit just like a trailing stop would move the Stop Loss? I would like to move both values, lets say 30 pips for Stop Loss and Take Profit. Best regards and thank you in advance, Gerardo
#ifdef X || Y Compiles, but do not work #if defined(X) || defined(y) Does not compile. ('#if' - invalid preprocessor command) There's a way to do that?
  time trading  (12   1 2)
Can someone help me ? i'd like execute my orders every 1 or 2 or 5 Min in EA § How can I configure MQL4 for this ?
Hi , After Moving to MT4 ver 600 and more , My Last code for opening the file met the problem. You Can see the code and the Error Message : Also I'm running in wiondows8.1 X32 . Can anyone suggest a solution void OnStart() { //--- int iErr=0; string...