Expert Advisors and Automated Trading - page 251

  help to code  (5)
383 / 5000 Résultats de traduction Could someone help me, i cannot code. This code is instructed to: sell when the market is falling and buy when the market is rising, close a position when it has made a profit of 10 euros. To know if the market is up, it means that the last candle is higher than
I am receiving the "Notifications: not enough space for notification" on many of my accounts. How can I fix this error? I changed my mobile phone and updated the MQID but that did not fix this issue.
Hello everyone . I need expert can close all buy/sell positions of one symbol after specified points of breakeven I will give an example to get my point of view I opened sell position by lot 0.01 and it makes 40 points drawdown then I opened new sell position by lot 0.01 that's mean if the price go
Is this possible to integrate in ea? I've tried searching for a function related to this for mql5 but nothing seems to appear. Any answer would be truly appreciated, thank you
What I need an anonymised trading dataset (no PII): eg: trade start/end time, trade outcome, order levels (stop-loss, take profit etc.), asset traded and such; you get the picture.. Why Research. I'm interested in developing a ML model that studies the trading patterns of traders and offers
Hi everyone, I was wondering how to add Moving Average IN the RSI indicator. Thanks for spending your time
Hi there, Hi friend, can anyone help make code with the following rules: Buy if the angle formed between the MA 50 indicator with a horizontal direction is greater or equal to 30 degrees or Sell if the angle formed between the MA 50 indicator with a horizontal direction is less than or equal to 330
[Deleted]
Hello, I'm working on an ea that executes buyStops and sellStops at specific signals already defined. The code works well in in the demo account of the metaQuotes. Switching to the broker account (The broker is Credit Financial Invest CFI and the symbol is EURUSD ) no trades are executed as I get
I am trying to convert an indicator that is too complex to be called by iCustom into an expert advisor. When I say too complicated, I mean that we would need to copy hundreds of indicator buffers. So Instead I am porting the indicator code directly to the EA code. Most of it is straightforward, but
I couldn't figure out what's wrong with my code, i've tried everything i could think of. The buy and sell position is working but the order limit ,stop,and stop limit part isn't working. void OnTick() { //--- Ask = NormalizeDouble(SymbolInfoDouble(_Symbol,SYMBOL_ASK),_Digits); Bid =
Hi DLL with EA work Well in my pc (i test it in two metatrader and no problem) but i get error in my vps ! i put DLL in right place see image, but MT4 can't load DLL or Call it. unresolved import function call cannot call call DLL : #import "demo.dll" int Account_check(int acc,int...
hello @ all like in subject written i am using metatrader5 on a linux host. this has worked fine just until a short (can't say it precisely) time ago. but now there is no signals-tab anymore in the terminal-window. i've just tried anything like login to mql5.com in the metatrader-program an so on...
Hi everyone, I am trying to draw a standard deviation channel as part of my EA using the Least Squares Method: https://www.mathsisfun.com/data/least-squares-regression.html But I am getting some strange values. Can anyone spot something in the code that I am doing wrong? Or is it just because iTime
[Deleted]
I am trying to use Universal Expert Advisor: CUnIndicator and Use of Pending Orders (Part 9) Code for PositionMT5.mqh file ... (able to compile this file without any errors). However, When try to compile Trailing.mqh (code attached below), I am getting following errors ... 'CTrailing' - unexpected
Hi maybe buy? I get compiler error on: Min_Bar= ArrayMinimum (mrateMesec, 0 , WHOLE_ARRAY ); Maks_Bar= ArrayMaximum (mrateMesec, 0 , WHOLE_ARRAY ); 'ArrayMinimum' - constant cannot be modified Please check code in file test2.mq5
Hello, I have a Expert Advisor that consists of two moving averages . I want to add a fisher transform. How can I do it? Thanks in advance
Good Day, How do I avoid Glitch that appears during backtesting? This glitch appears a lot, especially in modeling: Every tick based on real ticks. I really appreciate every suggestion. Thank's in advance
Hello, in the Journal of the tool box i have certain value of a MA and in the Data window another value for the same period and candle, am i looking good
Hi all, for the purpose of history trade analysis (forex), I write a script to save screenshot of every closed trade to see its progress. I typically open a trade manually at market price and after that I manually set SL/TP and let it run... At the trade screenshot I have enabled the 'Trade history'
how do i set trading parameters for ExpertMACD (to go short) on Meta trader 5 demo account
Cannot load executable module "ExpertAdvisor Name" from c:\hosting\instances\xxxxxxxxxxxxxxx\MQL5 subfolder My Expert Advisor has always worked just fine, just today after updating the version i started getting this error message and the EA is no running on the VPS. I have two VPS both with the same
  Slow market  (2)
I have created an expert advisor which performs really good in slow markets, thus I have set an hour filter but I've found that's not enough cause a trend could be started at any hour. So, how could I set a proper filter for this advisor to work profitable (it's oscillator based)? Which indicators
Hi Everybody, Request : I need a script/ code to add to EA to ensure EA opens a maximum of x orders (x buy/x sell) at a time. If a script, it will make sure once x orders are reached on MT5 terminal, it can not open more until it decreases. Back Story For transparency : I am currently optimizing an
Hello. I have a little problem. I have set the conditions to open a position, but ea opens a multitude of positions per second, just like in the picture. Does anyone know what I have to do to open 1 position and the next one opens only when it closes and the conditions are met
This message appeared even when there is no attempt of mass sending notification but just one Did anyone manage to resolve this
Hi, since some time I am facing the issue, that after a position was closed/partially closed the deal database does not provide valid results - and this happens only with live accounts, never with demo accounts and only from time to time. Means, after a position was closed, I am requesting the
Hi Everyone. Im doing a script to apply template with the EA included but only work with default.tpl, i try with print error, but doesnt show up, someone know what can i doing wrong? ChartApplyTemplate (0 , "test.tpl"); Thanks in advanced! Regards
I want to download and run an EA that i bought here, but it wont show up when i log in on metatrader 4. Anyone else have this issue
Hello, I have an issue with reference variables as parameter to a function. It is not easy to reconstruct, therefore I will do my best to try to explain the issue with sample code. It might be, the code is not compliant, but for explaining the issue, it should give an idea on how to reconstruct the