Expert Advisors and Automated Trading - page 11

Hi, I wanted to test my strategy on stock and had to changed the demo account, using VantageFX-demo account. Had to switch the filling_type to SYMBOL_ORDER_MARKET and then I got the " Market closed " error on order execution. With other order types is got "unsupported filling type". I can't seem to
Does anyone know how I can know how many lots I can open for example in a buy knowing the available capital? double max_lots() { double lots = MathMin (( AccountInfoDouble ( ACCOUNT_BALANCE )* AccountInfoInteger ( ACCOUNT_LEVERAGE )/ SymbolInfoDouble ( Symbol (), SYMBOL_TRADE_CONTRACT_SIZE ))
Hey everyone! I'm excited to start this thread and share a trading ideology and EA that I believe can benefit everyone. But before we dive in, let me introduce myself. My name is Philip Pankaj, and you can find me on LinkedIn . I've spent nearly 10 years in trading, working with various algorithms
is possible an indicator call all symbols listed on market view and each chart charge this indicator
Hi, i recently wrote 2 complementary EA in order to get familiar with NamePipe. One EA send data and the other one receive. The transfert i made accross platform. SENDER EA is on one plateform and RECEVER EA is on an other platform. Both MT5 1. Each time i delete the SENDER EA from the chart, it
maybe somebody already has got this script? mind sharing? script reconnects favorite account once it detects that there are no quotes or a freeze occured
Hi guys, i'm looking for a MT4 EA that opens at specific price a position based on a market order with predefined SL and TP, like the image below. The reason is simple. It is better for me to enter at market price when the price is reached, rather than placing limit orders that often do not open a
I am always getting the same errors and am not intelligent enough to understand what is wrong with this line in the code. Can someone please help me? It's really appreciated. code line double maShortPrev = iMA(_Symbol, PERIOD_H1, ShortMAPeriod, 0, MODE_SMA, PRICE_CLOSE, 1); error: 'iMA' - wrong
Hi All, I am looking for a potential solution to control the passes/parameter combinatations in strategy optmization. When running strategy optimzation (slow complete, not genetic) the ontesterinit() will create the list of all combinations of the parameters selected for optimization. With
Note for Moderator : I had a post earlier with same issue ( https://www.mql5.com/en/forum/469030 ), however I deleted it since matter was resolved when I just transferred the files to different location. I am not sure if the earlier post is still there or not!!! I am creating this new post[2], as
hi I purchased a trading bot on mql5.com but it won't install on my terminals, it still says "buy" please i need help
Hi I want to use dozen or so custom hot keys in my EA. Is there a recommended, or safe combination of shift, ctrl, alt, fn keys I can use that are not being used by the chart/platform? Thank you
Hi, I'm new to mql5 but just wondering how do i get the chart id for my current chart. I did my research and you have to type this somewhere: long ChartID (); But where? Thanks
I use a few robots to do the trading work. But after the update they stopped working. I clicked and there was no response. Many robots have this problem. How to recover? Please
I have a question about this mt5 python solution, do i understand this solution correctly, you need to install for every mt5 account into which you want to login also a seoerrate mt5 terninal on the same comouter? Or can you just login to any mt5 account with this python libary without need to
Dear Community, i have a problem with my signal-class: class CSignal_ATR_Alex : public CExpertSignal{   public:          CSignal_ATR_Alex();         ~CSignal_ATR_Alex();   ...   ...}   when I try to use this Signal in my Expert Advisor by creation of this Class:    CSignal_ATR_Alex *signal = new...
Hey, im searching an EA to copy MQL5 signal into my MT5 account. I n eed to copy trades from any source like EA signal into my MT5 account Does anyone use this? THX :)
Hello, Below is the Magic Number column with both numbers and blanks. The blanks are because I manually open trades. Ideally what I would like to do now, is fill the blanks with the same Magic Number so the EA can recognise/pickup these trades. Thanks, if anybody can help
Looking at options for backtesting 2 EAs on the same data set at the same time (i.e. one EA that places orders, the other that opens/closes hedging positions). Is there a way to backtest with both in action? Thanks in advance N
Hi all, I am using iCustom (which I am quite familiar with and have used before) to pull https://www.mql5.com/en/code/22431 (Internal Strength) into a simple EA. Adding to chart - OK Using it's calculations to determine entry - OK Will it show in the Tester - NG (please see pic) Are there any
I am sending an order that is executed and shown in MT5. MqlTradeResult tradeResult = trade.sendBuyMarket( 2 .); OrderSelect (tradeResult.order); double price = OrderGetDouble ( ORDER_PRICE_OPEN ); MqlTradeResult shows 0.0 for price and so does OrderGetDouble(ORDER_PRICE_OPEN): Is
Is there a way to implement AI into the Expert Advisor? For example, embedding it into the code so that when a certain candle is selected, it marks similar candles in the historical data
When i start backtesting the history data download successfully and then start the agent that also start successfully, and start connecting, after connected immediately i got disconnected and connection closed in Journal screen shot also attached below https://ibb.co/BgLrjft https://ibb.co/2vXscRV
Hi all, After install package: pip install MetaTrader5 Then, I try with code: import MetaTrader5 as mt5 # display data on the MetaTrader 5 package print( "MetaTrader5 package author: " , mt5.__author__) # ok print( "MetaTrader5 package version: " , mt5.__version__) # ok # Initialize connection to
Hi, I am trying to add a mobile alert to the below indicator and have added the following line SendNotification(Symbol(),", ",NameTimeframe(),": Candle size>=",InpLevelSize," pips"); but now I get a 'wrong parameters count' error when I compile it. If anyone could point me in the right direction on
Hello guys..... i'm new here. i want to create EA that help me close all positions when my target profit is reached. usually i use EA that close all positions based on money. but i prefer to close all by the average profit in form of money not pips for all the opened trades. my strategy use Grid or
Martingale: The gambler doubles his bet after every loss... There are a few complicated Martingale math papers floating around and even those are mostly about roulette but I thought of a way to make a really simple math based presentation. First of all I am assuming the goal is to make as much
I'm offering one of my own EA creation for people who want to explore martingale type of system. Because this is written by me, so it would be relatively easy for me to modify and expand it if I see the requests. I have written a lot of grid system for people in the past, some are martingale, some...
I tried to read a setting file. I tried many ways, but failed. I do not know putting setting file in which folder
  Array copy error  (4)
int all_signals[6][19]; int data[19]; function(data); ArrayCopy(all_signals[0],data); error 'all_signals' - invalid array access How to put data values into all_signals[0] directly