hi all, i always admired the cci (woodie and drbob studies) however i am trying to simplify the entries and the exits signals. Also in needed to filter those signals. i used the RSI Filter. i modified this filter to illustrate the shift in trend. trend is up when cci50 >0 and strong upward when
So, I am being really new to trading and MT4. I am trying to build a bot that would create 2 orders, but close one when the other is closed by TP/SL. Is there any way for me to manage the closing of one order after the TP/SL has kicked in for the other order, or I have to manually check tick data
Hey, I looked around for an answer to this and could not find it. I'm trying to run two indicators using iCustom in an EA. double ind = iCustom ( NULL , 60 , "indicator_1" , 0 , 0 ); double ind1 = iCustom ( NULL , 240 , "indicator_2" , 0 , 0 ); They're both supposed to create objects with different
I have been trading on MT 4 for more than a month. My broker disappeared. How can I transfer the money in my wallet to my account
i can't code and i really want a pop up alert for this amazing indicator. i would really appreciate it if someone could help me! <ex4 file deleted>
Hi, I use MT4GUI for adding a checkbox like this: CB1 = guiAdd(hwnd,"checkbox",800,80,12,12,""); guiSetBgColor(hwnd,CB1,Black); It works great, however, I cannot find a way to set an anchorpoint, so that the MT4GUI checkbox anchors to the right side of the chart window. I contacted the MT4GUI
hello, I plugged in my code a time lock but I have problems. I have duplicate this code, but in the time 14:30 20:00 signals that I receive are all wrong: //----------------------------------------------------------------------------------------------------//int Ora_From_Hour = 08; //time of the...
Hi, i am trying to code a simple EA but i am learning and i would like some help. The problem is that i want the stop loss to be updated to "stop" value each new bar. I have tried this, but i dont understand well how orderselect and ordermodify works very well yet. The idea is when price == entry
The order of my charts is not saving once I adjust the order of the tabs. Everytime I adjust the tabs and save; with new profile, running as admin, creating new terminal.ini file... nothing fixes. Is there a trick or file I can edit to change the order of my charts ?
I just want to know if the flag changed false to true. Below is my just idea... bool FLAG= false ; if (A becomes B ) FLAG= true . if (FLAG changed from false to true ) ....... How can I know the timing when the flag change? I mean how to compare before and after flag changed? Can I use static value
How do I move the global variable structure in the indicator when moving to another timeframe?
(64 1 2 3 4 5 6 7)
How to move a global variable , structure, object in an indicator when moving to another timeframe? I haven't found it by Googling
hi, this is a part of my indi but it does not work. when I delete the division, it works! I will appreciate if you could help me to solve the problem. double A1,A2,A3; A1=iClose("EURUSD", PERIOD_CURRENT, i); A2=iClose(" GBPUSD ", PERIOD_CURRENT, i); A3
Hi guys, can someone help me with the trailing stop? I am not much of a coder. Managed to learn this from youtube. All works okay except for the trailing stop. If anyone could lend a hand it would be very helpful. I am looking for a trailing stop which trails upon +30pips or +300 points from the buy
Hello everyone, Attached an indicator code which give very good signals for the trend direction but as far as it runs it keep showing incorrect start position x for ArrayMinimum function I hope some one can direct me to solve this but without affecting the code or how it works, I didn't found any
when Indicator announces buy or sell signal. How do I get that notification on my phone
[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2.
(5365 1 2 3 4 5 ... 536 537)
Continuation of the theme Previous here https://www.mql5.com/ru/forum/111497 Useful links to similar topics. Forum navigator and frequently asked questions (FAQs) FAQ subreddit Only "Useful features from KimIV" Looking for an indicator (Expert Advisor, script) Help insert an alert into indicators
Hello MQL community , I want to know ,am I allowed to code TerminalInfoInteger(TERMINAL_BUILD) to limit the build of MT4 to use ? Only the newest version of metaTrader can be used the EA on the market ? Best regard
Afternoon. I can not understand the situation. i downloaded MT 4, opened an account ("abandoned" on the deposit of 90 quid), installed an advisor ilan 1.6 Dynamic (i installed the recommended properties) - not a single trade in two days (report - trading attempt in the investor mode). What can it be
hello, I have a very simple code. i do not know why it dose not work. the " ResistanceOnexmt " and " ResistanceOnexpt " are prices and they are 5 points above and under one of the Resistance Lines, and " PriceBID " is SYMBOL_BID . all these variables are global in client terminal and refreshed just
Hi everyone, Last night I added a feature on my EA to save data to CSV every hour, but one thing I didn't consider is will it still work when my MT4 terminal is closed as I run the EA on a VPS... In MQL4/Files I can see the CSV file but they are 1kb in size, probably because the expert is still
#property copyright "Copyright 2017, PondXYZ Software Corp." #property link " https://www.mql5.com " #property version "1.00" #property strict #property indicator_separate_window #property indicator_buffers 3 #property indicator_color1 clrBlue #property indicator_style1 STYLE_SOLID #property
Hello There this is my code MqlRates candle[]; ArraySetAsSeries (candle, true ); CopyRates ( _Symbol , PERIOD_H4 , 0 , 3 ,candle); //-- This Array works perfect on Live Trading but going to backtest whenever that array gets used it provides Critical error in that line
Hello to all, I would like to buy a computer to do automatic trading , which one do you recommend? Which one do you use? Thank you in advance for your answers
[Deleted]
Hello, I looking on all forum and I don't find any good information on how to create an OCO. I try to create my own OCO, but don't work. I want to insert in my EA. Can you help me? pgforex...
int OnInit () { //--- UpdateTPbBUY(); //--- return ( INIT_SUCCEEDED ); } //////////////////////////////////////////////////////////////////////////// double LotsxPriceBuy() { double LotsxPriceBuy= 0 ; for ( int i= OrdersTotal ()- 1 ;i>= 0 ;i--) { if ( OrderSelect (i, SELECT_BY_POS
Hi coders, whatever I try with these functions, I only get 5 as a result today. But Saturday should be 6. Is there any trick to get the the weekday?
Hi, Let's say I've got an EA that displays a MessageBox at some point. Is there a way for an indi to get the text displayed in that messagebox? I was thinking something like CHARTEVENT_OBJECT_CREATE, but that method does not detect messageboxes
I'm not sure how much sense that makes. I was under the impression that a boolean variable will hold its value until it is changed but that it wouldn't change automatically. Is this true? If when a specific criteria is met and a bool becomes TRUE, does it remain true until I tell it to become FALSE
#property copyright "Copyright 2021, MetaQuotes Software Corp." #property link "https://www.mql5.com" #property version "1.00" #property strict input ENUM_TIMEFRAMES time= PERIOD_H1 ; int OnInit () { for ( int j= 1 ; j< 100 ; j++) { if (find_first_down_fract(j)< Bid) {

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.