I am developing an Expert Advisor where I would like to implement FIFO support (closing orders according to order open time, sorted ASC). It it possible to use a similar logic described in this article: https://www.mql5.com/en/forum/138127. It does not seems very straightforwarded though. My...
Hi all I am currently backtesting Cyberia Trader and Profit Seven EA2 on a machine with 6 cores (x2 with Hyper Threading) and 16 GB RAM. It is really slow. How can I speed it up? Is it worthy of running it on a super computer in amazon web services. Please note that when I see the...
I have isolated the issue to the brokers platform versions, I don't have a old build of the program to roll back and clean installs don't work with this issue...any suggestions
Hi everyone!. I came across this article https://www.mql5.com/en/articles/2503. It is a pretty good way to create tabs on a gui panel. Is there a way to achieve the same results with using only standard libraries. Thanks in advance.
So I have a template file attached, where I have a stochastic and MA loaded in the same indicator window. In the data window, the MA values are displayed as Price, and the Stochastic is displayed as a value from 0 - 100. What I would like to ask, is if there is a way to compare the values between
I have written an indicator that puts an arrow above a pinbar when detected, if the next candle moves ahead 4 points it puts a horizontal arrow on [i] pointing at the entry position on the next candle. It works well and puts the arrow permanently at the +4 points level on the chart....
Hello everyone, I am trying get negative numbers stored separately from positive numbers over a 15 minute timeframe. Question: How do I do this? Is there an in built function for this? void statistics() { shift=0;pos=0; for(shift=0;shift<=26;shift++) { CCI[pos] =iCCI(Symbol()...
[Deleted]
I want to implement position sizing. Is it possible to set multiple TP/SL levels for one order? Or I have to use OrderSend() in my own management?
When I launch / reboot platform v4.00 build 1090 indicator doesn't work porperly because OrdersTotal() returns 0 even if the are orders open and pending. when I open 'Indicators List' and then close it then OrdersTotal() (and indicator) starts to work / display correct values. The indicator I am...
Hi guys I am trying to write my first EA and I have some difficultieswith the Comment function. The problem is that the code can compile the EA without any errors but whenI try to use it in strategy tester it runs but without the comment that I want! I attach my EA... Can someone help me?
How? Is it possible? I couldn't find any variable for it neither in Documentation nor terminal.ini. I tried putting a pending order very far and delete it, also invalid price market order, no success.
How can I set multiple profit taking targets in mt4 ? Say i buy and it goes my way . I want at a certain level to take out 50% of the trade but let 50% running until it hits my next target ,and there i want to have another 25% take out and let the remaining 25% running until it hits my final target...
[Deleted]
I'm not a newbe on MT4 but I have a new requirement ot set up a list of Take Profitsfor partial close outs when you first trade. For example, buy 10 lots, TP 3 lostat +50, 3 lots at +100, and the final 4 at +200. I know I can do it manually butit was pointed out to me that it can be done...
how to set multiple take profits in one order and leave the computer
Hi Guy, I am learnig and I don't know how I have to code the previous highest of 1 day to trigger the Entry. I used this code in declarion of variable: int HighDayBefore= iHighest(NULL, PERIOD_H1, MODE_HIGH, 24, 0); and then the array double HH=High[HighDayBefore]. But it doesn't buy at that...
good moorning all problem : I have an IC MARKETS DEMO 3 demo account. I want to be followed by my clients, so i want my trading are copied in the clients account, free. but if i insert my account in my mql5 account in signals, my client told me that he can not see my signal, why ? which is the...
My EA is attached to several symbols, the opening order depends on the last closed order from history, every single EA works perfect separately for every symbol for a long time without problem until when the 2 or 3 orders for each symbol closes at the same exact time, at that time it loses control
Hi all, I wondering if it's possible embed live charts screen into some website (using an iframe or something like that). Is not necessary that the screen are interactive, actually I need that it will be read only. Thanks
Please ChartindicatorAdd is used in MQl5, is there an alternative in MT4?. thank you.
[Deleted]
Hello: Could you please take a look at the following EA, and let me know what modificationsI need to make to have it only enter a trade once per bar? (I run this on the 1Hor 4H Time frame) When back tested, the code enters more than one trade per bar, but I know thatis not a good test, as the...
All functions are taken from this thread - h ttp://forum.mql4.com/ru/11287 , the thread contains a detailed description of each function and examples of their use Content Page #1 SetOrder - Order setting. Function version for backtests. ExistOrders - Returns the flag for the existence of orders
I always see this appears on my minds, and i have asked this through my friends and get a confuse answers. Did anybodies known this? Thank you, and have a good day!
I am currently using a MQL4 that really helps me. However i am using it on 3 different instruments and 3 different timeframes for each instrument, i would like to set different sounds for each instrument and time frame. Can anybody help me to program this or guide me in the right direction? Thanks!
Hello MQL4 community, I am developing an Expert Adviser to gather bar data from a chart (such as Open, High, Low, etc.) in order to export the data into a csv file. A snippet of the code below performs the functions to open the file, seek the end, append data, and close the file when it's complete....
The idea of this function is to delete the pending order if not executed in 290 seconds from the time order is placed. However, at 290 seconds the order is NOT being deleted. It takes an extra 10 to 20 seconds for the order to delete and I have no idea why. Can you please look into this code and...
hello, i would like to get a sound alert when SAR parabolic gives a signal, how to set it up? thanks
I am trying to modify a sessions indicator so it only shows on lower time frames and does not clutter up my charts on larger timeframes. I had added just a delete all objects function which works but also ends up deleting trendlines or anything else I add to my chart. Is there a way to cycle...
my goal is: creating an indicator, which keeps track of trending indicator values. specifically using moving average, as a trailing stop level. I couldn't solve the issue: if ma [i] > ma [i+1] >> then this is a trend and, ma [i] is my indicator value at buffer[i] else >> ma [i+1] is my...
Hi experts, I 'd like to remake the following code shortly. plz consider this If( High[1]>Low[1] and High[2]>Low[2] and High[3]>Low[3] and ..... High[x]>Low[x] ) A=True; 1.How to convert it to while loop or function based on x. 2. Can we replace High>Low to function, If the algorithm has more...
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.