Hi... Need an indicator to trade RSI. where if the value goes above 70 and retrace below 50 I enter short wher if the value goes below 30 and retraces above 50 i enter long need help with teh code
I'm writing a dashboard that displays information from symbols across all other open charts. If a chart is deleted or added, I need to resize the dashboard and remove/add the missing symbol/timeframes. Rather than coding a resize, I figured it's better to just delete the panel and re-create it
Hi All, I've been trying to test my EA's in a demo environment using MT4, and noticed a problem with requotes. I'm basing the open buy/sell order off of the open/closed prices, so at the end/beginning of a candle (open prices only). regardless of what I set my slippage at I'm getting requotes (I've
Hi all I'm trying to code an EA for backtesting a fairly basic pullback trading strategy for EUR/USD. Basically, I wait for a trend to be identified by the 8,13,21 EMA on the 5 min timeframe and the 8,21 EMA on the 1H timeframe. Then wait for price to pullback and close inside the array of EMAs on
[Deleted]
Hi Alls/Experts, Im very trouble to code RSI-13 -> RSI-3 Coding. First I put the RSI-period-13 on chart Second I insert Second RSI-period-3 into same RSI window and selected in " Apply to- Previous indicator Data" Till here all is OK, but when I goto code it, I cant get Value of the second...
i'm trying to fix max profit value with the following code but it kept changing according to new totalprofit or profitall, what's wrong with my code? if ( (profitMax >= 0) && profitMax < profitAll ) { profitMax = profitAll; } sorry can't find the src button in the menu here beee
hy all, I'm very beginner in automating tasks, and i'm searching for an EA or an indicator able to enable/disble autotrading button at specific hours. I do not know anything about programming code, so as it seems to be a basicoption, ihope someone has already found a solution. Any ideas ? Any free
How to detect NEW Bar ? I want to reset my indicator variables if there's a new bar. I'm thinking to use the volumes data to detect it but I don't know if that's right formula or best code to do it
Hi there. I have just published an indicator in the market, for MT4. I compiled the file here myself and tested before uploading, it is working perfectly. I noticed that a customer rented the indicator, but it does not wanna work and sent me this message: "Hello. I just rented Forex master pattern
Hi friends, I'm trying to install MT4 platform of different brokers and I faced a problem during installation. I just installed metatrader 4 of some brokers without any problem but for some others at the final stage of the installation a window popup and requires me to enter the proxy server...
Hello, Im searching for a trading panel to attach to MT4 for lot size calc, preset TP and SL. There are different versions out there, but I can't install them on my Mac Any suggestions for a Mac trading panel
I purchased an indicator from someone and followed the instructions to install. I can't get the file onto the mt4 platform however because its .ex4 I tried drag and drop in the data folder and I've tried the meta editor. any suggestions
Hey everyone I'm trying to code trendlines that only take a trade after 3 touches, i'm having a hard time coding this or finding any information on something similar.. if anyone has any examples i could work from or know where to point me that explain this sort of thing would be greatly
Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6.
(11768 1 2 3 4 5 ... 1176 1177)
The previous series has been sent to the archive
Can any friend help, I just ordered an EA that works based on Forex Calendar, but it doesn't work perfectly on VPS, but it runs fine on my Laptop
Good morning all, I am trying to write and read a text file. I can read the contents of the text file, I am finding it tricky to write, delete, copy and move the contents of the file to a different location. void Working_File() { string file = "Hello" ; int o = FileOpen ( "Hello.txt" , FILE_COMMON
Hi guys it's my first post, I'm not very good in fact I started studying a couple of weeks ago. I wanted to understand how stoploss can be placed on the previous fractal. For example my EA sends a buy signal, so the stoploss must be placed at the level of the previous lower fractal. Thanks =)
I have written my first Indicator. It simply draws text on the chart in the upper right corner of main window. However, when I delete the Indicator the text does not delete. How can I fix this? The following is my code: //+------------------------------------------------------------------+ //|
I am running an EA on mt4. It has gone rogue. It is taking trades outside the parameters I set. I have tried every route I can find to deactivate, disable, and remove the bot from the trading pair. I have disabled all algo trading on my terminal, closed the terminal and even uninstalled then
Hi everyone, I'm experiencing a pretty strange problem when trying to execute an OrderSend function using my EA (which is a web app running inside a browser component in MT4). Most of the time the EA is used to set Pending Orders, but Market/Exchange Execution orders are also supported. To get the
Afternoon all Bit of a silly one here, but I have an EA which works fine, however I'm receiving error messages for errors which are non-existent. My EA closes half of my position when I reach 200 pips in the money whilst simultaneously moving the s/l to breakeven. The system does this flawlessly
Hello , Is there a way to watch my mt4 account is connected to the server (connected or not connected) ? Why am i asking this question , because sometimes my VDS pc has shutdown or internet connection problems when i am afk
string syms[] = { "EURGBP" , "EURUSD" }; for ( int i= 0 ; i < ArraySize (syms); i++) { } its working. How to add random magic number for specific symbol, or magic number can be whatever only different from other symbol? I used one chart for multiple symbols
I changed my PC and installed MT4 in that PC and somehow now it won't save chart history I already maxed the maximum bars in chart and history try running as administrator too but still don't save history can anyone help
Hi, I am using Metatrder5 on IOS mobile and I use the blue and red circular symbol in the top right of the chart screen to place limit orders but I am not able to place stop orders instead and it only lets me place sell/buy limits
Hey coders, I have been in quite a dilema for the past day or so scratching my head on what is actually missing. Basically I have developed a counting system where the ea counts green bars, the trouble comes by when the candle resets itself back to 0 when the green candle is not shown on the prev
Hi, int Test gets set to 2 but bool buycondition2 not to true. the variable buycondition2 does not get value true outside of if, but variable test does. second if condition does not get met. Any ideas? int test = 1 ; if (Ask<structurelong2_high && structurelong2_high != 0 ) //
Hello Forum! I'm trying to code a very simple EA which opens a trade when the new / next candle occurs + TS . Part of the code is working as I want and new trades are opening fine but TS simply doesn't work. I was wondering if somebody would be so kind and help me fixing this code ? [CODE] #property
Hi , I am trying to get a confirmation filter for the correlated pairs with the Array. It is not taking the array . can you help debugging it? Example shows that I am looping through the correlated pairs and get a confirmation on their respective charts. bool Positive_Correlated() { string

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.