Hi friends, I’ve been trying to solve a problem in one of my indicator but I cannot solve it for while. When I plot the indicator It shows past results correctly. The problem occurs in real time, since the indicator does not plot on the screen any other signal until I click on the compile...
I'm Intended use OrderClose and OrderDelete functions, with a system that can open multiple operations. What's wrong here?: (condition1=entry, condition2=other entry, condition3=exit) if (condition1==true) { ordersend(OP_BUY...) OrderSelect(0,SELECT_BY_POS,MODE_TRADES);...
[Deleted]
EA always does not work if icustom and multi-time frame are used in it Does any professional here has any advice or opinion on this issue ?
Hello freinds, I do not know what happened with the SEARCH function at this site: It always returns the announcement: The search words are too short or unknown (something like this). What happened?
[Deleted]
hi there, I hope someone can help this as i dont have any progamming skills. I found this attachment on the internet and i would like to modify this indicator like below: If possible when "MEDIUM UP/DW" and "STRONG UP/DW" shows up on chart. I want to these shignals to save into CSV file 1 minite
[Deleted]
Hello Folks, I found the OrderReliable (OrderReliable_2010.10.12.mqh) functions a while ago - I guess here on mql4. I can't provide the link right now, because every time I perform a search on this site I get an error (did open a topic here: https://forum.mql4.com/38704). Anyhow: I like these...
Can somebody help me modify entry logic of alternative ichimoku ea? I need to add an option to open order when price crosses stop order line (blue line) of custom indicator. Preferrably to open order right when price crosses, rather then wait for next bar Currently ea opens when price crosses full...
Hello friends this is checkmail and want to display an text signal with few indicators, it may be in their subwindows or on charts, can anyone teach me to code it or could code it, would be useful for me.especially mtf indicators
[Deleted]
how i do to add 5 pip offset to the high and low breakout line, thanks
i have the follwing commands to send the order: buyStopOrder=OrderSend(Symbol(),OP_BUYSTOP,lots,entryw1,100,SLw1,TPw1,NULL,333,0,Blue); sellStopOrder=OrderSend(Symbol(),OP_SELLSTOP,lots,entryw2,100,SLw2,TPw2,NULL,444,0,Red); and then the following code. The EA should (for example) delete...
I am trying to get colors assigned to each of my indicator buffers(8). I can only get 4 colors. The rest of the lines do not show. Is this a bug, or am I doing something wrong? Itried using both the SetStyle as well as the indicator color properties with the same result.
Say I want to count the number of times a price is above the upper Bollinger band. I would want to do this on the basis of the current period, but the test will be made every tick. So am I right in thinking that the only two ways to do this are: 1. Loop back as many periods as necessary within the...
how to calclate risk of ruin for non linear relationship between the volume and account balance ?
(6)
I use the following formula to set the volume size M = MathRound ( MathLog (AccountBalance()/(367.88/M+1) ) / MathLog (2.72) ); -------------------------------------------------V OrderSend(Symbol(), OP_SELL, 0.01*M, Bid, 2, Ask+stoploss*Point*K, Ask-takeprofit*Point*K) here is the formula for...
Hello. I have this problem: when I try to associate a Custom indicator to window price, the screen goes gray color, without allowing me to touch anything, and I get this message (in the up part of the MT4 window): (Not Responding) Can you help me with this? Thanks for any help. trader201
hy please help me somebody i whant to code my ea to trading just start from monday 15gmt and end friday 15gmt then stop trading
How do I track my orders to know which ones are open and which ones are closed.? Specifically, how do I track each order individually to see where it is in relation to Stop Loss? Thanks for any input Chuck... still a newbie and wet behind the ears!
is this code ok? (bool variable in declaration and in the code). Am I saing here, correctly, trade if sma20>sma40? here is the code: double ma20=iMA(NULL,0,20,0,MODE_SMA,PRICE_MEDIAN,1); double ma40=iMA(NULL,0,13,0,MODE_SMA,PRICE_MEDIAN,1); bool mas=ma20>ma40; if (mas=true) { ordersend(...); }...
I'm having trouble creating EAs because, for some reason, the OrderSend order does not work. I have tried a number of very simple EAs, using different signals, etc., and all do not work, citing a 130 execution error. Below is one of the EAs that have had this problem. I feel stupid because I am...
Hallo, I have programmed an EA with an iCustom-Function with 10 different Parameters. This iCustom-Indicator is calling an MTF-Indicator, which is calling an Indicator from my standard-metatrader-account. The backtest of my EA is very, very slow! Can anybody tell me what I can do against that? What...
[Deleted]
Dear all, This is my first message in this forum because I am an amateur MQL4 programmer. I've created my firsrt EA, but I've got a problem. I want to partially close an order, an this creates a new ticket number after the first TP is reached. Could someone please tell me how can I find the new...
[Deleted]
Hello folks, I'm wondering about an error in MT4. I test some code and in the journal I see an alert: Order failed to close. Error 0 Why error 0? This should mean no error, but order still open. Any input anybody? Thanks. WorstCases
[Deleted]
Hi, I have no experience with metatrader 4 and expert advisors. I wanted to backtest a strategy and found this easy expert advisor builder website. http://sufx.core.t3-ism.net/ExpertAdvisorBuilder/ After I copy, save, and compile the expert advisor with metatrader, when I run it, I get a 130 error...
[Deleted]
Hi MQL folks, i'm now trying to learn something about DLL. My question: can i open/close/modify orders directly from a DLL, e.g. by sending a Windows message to MT4, so that it will do open/close/modify work at once? Is it possible or only an illusion? Thanks
hi, like I said do I need help to program my trading set up. I would describe it as a relatively simple program: everytime the Moving Average crosses the chart a buy or sell order will be executed. I trade the EUR/USD and use the line chart for better representation. If there are any questions...
[Deleted]
Hello, I am in forex for a couple of months and i decided try to write a simple EA. After reading many EA codes from this forum, i still can't make it trade. I have not codded the strategy, because it is useless sinc it does not want to trade whit this simple code. Please, help me. Where is my...
i have ea that works on demo but on real account it doenst open trades, it says 2011.02.02 05:59:45 Mail: '[Long Trade]' failed. What could it mean? all alerts are disabled but it was asking me for trade confirmation. Please advice
[Deleted]
I am trying to edit the script code to my choice but it is not allowing me to do so...!! Says "Access denied". Can anyone tell me what is wrong here?
[Deleted]
hy i dont know why the start does not work at all the init is ok .but there are no order or printing line from the start . the EA works good until last hour
Hi there, From time to time, I have to right click on the price chart and select "REFRESH" to update the HistoryCenter and also the chart price. Is there a command or script that can do this every 30 minutes? It is rather concerning to get a message like: HistoryCenter: synchronize, 2075 bars
I use a simple method for each trade I make... risk of 0.5% of the total account balance per trade however it doesn't seem safe enough.... <refer to the spike in the attached report file> is there a better way to manage volume so that it increments not so rapidly ?? thanks

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.