[Deleted]
Hello, How to debug my script ? It is possible to go one line at the time ? Set many Toggle breakpoints, but the script dont stop on it. Thanks, Tintin92
The indicator shows Engulfing and M.Star/ E.Star, as well as PinBar, but that PinBar is inactive. you can only start by enabling the "Technical Analysis 20 and 21" function. The indicator has the potential to be profitable, but needs a small adjustment, or the insertion of some filter that will
int TradeEntry( int Type){ if (Type == 0 ){ double BTP = Ask + (TakeProfit * Point ); double BSL = Ask - (StopLoss * Point ); if ( OrderSend ( Symbol (),OP_BUY, 0.1 ,Ask, 10 ,BSL,BTP, NULL , 0 , 0 , clrBlue )){ return true ;} else { return
Im getting my alerts on my pc and i enabled them for my phone and put in the code but im not getting them on my phone. Also when I test the notification it works. Any ideas on what this is
Hi Sorry asking simple question, I am very new and trying to learn MQL4 programming with MT4. I am trying to create an Array of objects. as shown below; But I a getting error and finding it difficult to fix. Please can someone help *** Thank you
Hello I make an image by WindowScreenShot and I want to copy this image to clipboard and paste in other programs (like telegram desktop or paint) I saw very good code for CopyTextToClipboard in this link : https://www.mql5.com/en/forum/153674#comment_5020915 I'm trying to use copyImageToClipboard...
Hello, Can we use a Expert Advisor on MT4 without Trading and only for notification/email alert purposes? I know Indicators do this, but I would like to understand if this is possible on Expert advisors. Thanks in advance for the clarification
Hi I recently downloaded an indicator called TURBO PLUS V3 for my trading strategy but every time that I install it on mt4 the program freezes and does not work... can someone help me? I think there's also TURBO PLUS V2 but I can't find it anywhere. thank you in advance and sorry if placed here but
Hi, My purpose with this function is to delete and re-submit my strategies order if market keep closing below/above my former STP-entry price. This is only for pending orders . It seems nothing happens from this code which confuses me. Anyone have any idea why it wont delete and re-enter pending
Hi I am very new to MQL4 programming. But I am programming in another language. I an trying to learn CHashMap to store key/value pairs in my test. I show this example using CHashMap online CHashMap< string , int > d; d.Add( "one" , 1 ); d.Add( "two" , 2 ); d.Add( "three" , 3 ); When add
Hello everyone While coding a part of a variable name suddenly turned to a string of unknown charatcter(s). Long time ago I had this issue so many times and I didn't figure out why, but now it happened again. Any idea why it happenes
Hi guys, I am experiencing issues with the FFC news indicator, giving error 5004, DLL + webrequests from the links are allowed, but still it can not download the xml file to present information.
Hi I am very to MQL4 and I am a learner at the moment. I am creating a simple class as shown below. I would to add constructor in my class, so I can use to build object. I have this simple script, but getting error; #property strict void OnStart(){ CurrencyCount currencyCount1 =
hi all im new this is two part of my program void OnTick() { for(int i =OrdersTotal()-1,OrdersTotal() >=0, i ++) { OrderSelect(i,SELECT_BY_POS,MODE_TRADES); if( OrderType() == OP_BUY || OrderType() == OP_SELL) { Akhar(); }
so i was creating an EA. My EA using an ATR as a stoploss placement. Here is the code. double ATRPointsB= iATR ( NULL , 0 , 14 , 1 ); double slB= NormalizeDouble ((ATRPointsB)* 2 , _Digits ); //for SL calculation for TP iwas using 2 times SL, in that case calculated properly, for example , if sl was
dear friends, i am not a experienced coder, but learning by going through experienced coders from forums. i have coded a trailing stop using zigzag by calling from a EA though icustom function. my ea trails for only one time and not trailing to the next swing highs or next swing lows
hii have this script //+------------------------------------------------------------------+ //| RPoint.mq4 | //| Copyright © 2004, Poul_Trade_Forum | //|
Hi, I have been developing an expert advisor which contains, at some point, a call to an indicator through iCustom. My question is: would it be possible to specify input parameters for iCustom via set file (rather than by specifying them one after the other in the source code)? Thanks a lot in
Hi, I am working on a indicator that can be put on a different timeframe than the chart is in. This is a option for a lot of indicators on trading view. A pine scripter explained that to achieve this in trading view you must use the so called: "security function". This function is explained in the
I need to change the coding of an expert advisor in mt4 to do the following: at present coding is when all condition are buy , I need to change this to a sell I HAVE TRIED CHANGING buyPrice to sellPrice but get error 130. please advise? roddi
I am trying to name an array after some variables, something like this string symbol = "AUDCAD" ; string type = "BUY" ; double symbol + type[ ] ; ArrayResize ( AUDCADBUY , 1 ) ; AUDCADBUY[ 0 ] = 1 ; This doesn't work though, and I haven't been able to find anything anywhere to point me in the right
Hi All I would like to create (or find if there is one already existed) such indicator. On the chart, I would manually draw some rectangles to represent the zone of the price i am interested, when price comes into this zone, it then sends me an alert. I am not too sure whether it is possible on MT4
Hi prosfessional, I just need to get one result per day But the result changes with condition change through the day and expert restart so please advise.thank you double testopenabove3(bool x,int y,int z) { if(TimeDay(Time[0]) != candletime) { if(x== true) { if(y >= 9) return
[Deleted]
Dear Trader, I have a system based on a stochastic, but since I'm a newbie in programming MQL4 I need your help? After a stoploss is hit it will re enter the trade again, I dont want this. I want the system to wait for a signal in the opposite direction. For example, I got a sell signall but it went...
Hi,when I take trades in MT4 I get various symbols showing in my chart i.e. entry level (little blue arrow) and stoploss level (little red horizontal bar) as shown below. MT5 allows you to disable these trade history symbols from showing within the chart via Options > Chart > 'Show trade history'
Hi, would anyone know the difference between: a) double SymbolInfoDouble(_Symbol, SYMBOL_ASK), and b) double Ask (i.e. predefined variable) The documentation tells me at " MQL4 Reference / Predefined Variables / Ask " that this is the latest known seller's price (ask price) for the current symbol
Hello! :) For example, I found a pinbar in a M15 timeframe, and I want to find a confirming pinbar inside the M15 timeframe: M5. #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 clrRed #property indicator_width1 2 #property indicator_color2 clrLime #property
Hello, I know this is a basic question, but I am struggling to find a way to open a trade with a fixed risk percentage. As an example, I would like a trade to open with a risk of 2%. this way I can tell the EA to place a stoploss without stretching my risk. If price hites my stoploss I want to close
Hi everyone. Hope you all are doing great. I have been trying to display two icons on my chart using OBJ_BITMAP_LABEL function from ObjectCreate(). But fortunately i haven't got lucky a single time. Even I tried copying all the code showing how to use this (OBJ_BITMAP_LABEL) but still got no

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.