Expert Advisors and Automated Trading - page 253

Hi all, I'm trying to get my EAs to talk to each other, as simple as it gets, and I would appreciate some help. Since the majority of brokers in my country offer only netting accounts, I'm currently trading with 5 different brokers. For each of them I use an EA, which runs the same script, but using
I tried uploading my product file in seller section.After all the sections such as naming, description & screenshots ,now at validation there is error "invalid lot size for open order", When i test it on my side for several pairs.timeframes,with different spreads,different broker,and with very big
I'm trying to create a line that follows the following settings to form a triangle: -starting from the lowest price and linking the inteception between line3 and SQ2#DOWN -starting from the highest price and linking the inteception between line3 and SQ2#UP the image illustrate my intention
  GENERAL EA  (3)
Is it possible to create ONE one-size-fits-all EA, especially, as it comes to different market conditions, that can perform well in, said different market conditions? I ask because Ive recently created an EA that does great within one range of time but bad within another...its cyclical..and im
Hi, just got started using MQL5 and wanted to test some indicators in an EA. When I tried testing it using the "minute" time frames (1min, 5min, 30min), the indicator appears on the chart as the backtest runs. However, when I shift it to the "hourly" or "daily" time frames, the strategy tester does
Hi, I am trading binary options so there is no spread. Slippage probably, but no spread. I have read that in MT4 one could set this manually. Is there a way to change this in MT5? I found a spread in the settings but it says 'floating'... which confirms what I read here
Hi everyone :), I've currently got a freelancer working on an EA for myself and there's one strange bug that I can recreate but they are unable to. Basically when changing variables in the 'input' tab on the strategy tester I find that they get automatically reset if I tab out of the 'input' tab and...
I dont know why my signal is disconnected ? MT4 is running and logged to MQL5
Hello, I wrote a simple bot with MQL5. It only has 2 input parameters (SL and TP distance) When I run strategy tester I get no results. It just shows as if it's working forever. Any other bot I'm testing has no problems. Do I need to do something special for my bot to work with strategy testing
Hi, I have problems getting indicator values within the OnInit() function. Same methods have no issue in OnTick() function. Below is a demo of the issue. The following is the code used. //+------------------------------------------------------------------+ //|
I'm looking for a framework to slot in my own trading strategy. What is the best one? Framework to provide such features as: Order entry Trailing stop options Spread options Order management Equity curve display Multiple Symbols Trade Management All options exposed as parameters so they may be
I want to create an EA with simple buy and sell stop order, the problem is I want to constantly placing a pending order (buy/sell stop depending on the first executed pending order) every time an order is place with a condition of deleting all positions and orders if take profit or stop loss had
Just curious if there a neat way of closing order without using CTrade in trade.mqh file in MT5.  Just miss simple standalone "OrderClose" function in MT4.
#include<Trade\Trade.mqh> // create an instance of CTrade CTrade trade; input int SmallMovingAverage= 10 ; input int BigMovingAverage= 25 ; void OnTick () { // we calculate the ask price double Ask= NormalizeDouble ( SymbolInfoDouble ( _Symbol , SYMBOL_ASK ), _Digits
Hi, I have read https://www.metatrader5.com/en/automated-trading/strategy-tester and https://www.metatrader5.com/en/terminal/help/algotrading/testing#forward But I still don't understand what is actually going on here... nor can I find a proper answer anywhere else thus far! What is actually going
Hello, I have a problem on Metatrader the macd is different from another platform i use trading view and its messing up my ea
Hi everyone I am writing an MT5 multi-currency EA that uses several indicators. Rather than create Handles and Arrays for each Indicator/Currency I created functions to easily get the values for each indicator that I use in the OnTick on every new candle. It takes however rather long to calculate
Where can someone get more info about grid in EAs? More specifically how does the take profit work in grid
Hi everyone, when I try to access the prices of another symbol when using the "Open prices only" mode, I recognize a delay of one bar. I made this simple EA to show the effect //+------------------------------------------------------------------+ //| Expert tick function
Hi, I am currently finding couple of things which don´t seem to work proper in tester, but which surely should. 1. ObjectSetInteger(chartid, name,OBJPROP_ALIGN,ALIGN_CENTER)); - has no effect in tester, all edit fields have left alignment 2. ObjectSetString(chartid,name,OBJPROP_TOOLTIP,"Tooltip"); -
Hi everyone. I want to ask you if it's possible for my EA to perform really well from March 2020 until now, and when I proceed to test it out in 2019, it basically doesn't perform even close to that. Risking 3% per trade in 2020, you would get ~15-20%, and in 2019 it would loose money actually. Is
  Tool to Trade  (1)
Hello, I am looking for a tool that can place trades according to the % of the account, have lines shown to trade by the ratio (i.e. 2:1) and other features. I have a example of what I am for. Please let me know if you have this tool to sell. Thanks
Hello, I cannot change data in the Inputs when I try to test any AE.  After the change, it goes back to defaults. Can you advise what can be wrong? Thanks
How do i create an Array to store the "NewCalculatedValue" values and access those values when needed ? since the handle is an integer. The New value is Calculated value on every tick and only checked at the Open of every candle ( e.g M15 ) #include <Expert/Expert.mqh> #include
hi iam using robot for trading i would like to know the the trade size mathematic formula to hold a position down to 40 pip loss for usdjpy stop out 50% leverage 500 i thinks its like that i have calculate this 40 pip of loss=400$ for usdjpy for a balance of 600$ leverage 500 stop out 50% so i
Hi, I'm new with building trading systems and started to implement a basic buy/sell martingale system. All goes well with the back testing, when in 9th March 2020 (covid19 panic, i guess), I found this pattern. Any of you knows how I can detect and avoid this kind of market trend? The price
Is there any EA, where I can select fixed loss per instrument, and it will close all position on that instrument when total loss gets to preselect amount? For instance: EA attached to WTI and parameter set to total loss 500 USD, 1st position is open, goes in loss 100 USD, than 2nd position is open
Hello I lost my one activation on all my EAs when I got windows update on Sep 18, 2020 Please can you give me back one activation on these EAs. <Deleted> Thank You
  EA coding or KEY  (3)
hell guys say i created an EA how can i have it password protected or coded or keyed