MQL4 and MetaTrader 4 - page 219

i tried to code a function to see if there is a bullish candlestick with long shadow/wick, but when i backtested it, there are many trades happen in candlestick without long shadow/wick. i double check my function, i really could see any problem, could someone help? thank a lot. input double
Hi guys , i need to know how can i make a tool like Fibonacci ? I want to make a tool like Fibo ! If i want to draw a Fibo Ret and Fibo Time Zone , i have to use 2 tools but i want to combine their and draw their with just 1 tool ! Please help me Thanks
How can I switch from one server to another from the same broker's trading account in mt4 mobile app? It is possible from the right bottom corner of the mt4 software in PC but I can't find such option in mobile app. Please assist
first transaction i used card method of payment become successful but indicator failed downloading. my money deposited to MQL5 automatically, now second try i make buy the TPA indicator now using MQL5 method of payment but it showed Payment Failed. Please help how to buy using mql5 bal. thank you
  HELP !!  (3)
Please im in a emergency situation i let someone install a trade robot on my account on ironfx to trade with metatrader4 and its detrsoying my capital today and i dont know how to stop it please i dont want to lose all my money i made a big mistake but i still have founds i want to withdraw it
Hi, I am learning to code in MQl4 and i am trying to piece something together. At this point i am writing small pieces of code and testing them out by just printing or alerting messages. I have no previous coding experience so everything is still new to me, i did follow a online course on
void CheckForSHORTTrade() { if ((calcShort1()||calcShort2()) && calcShort3() && calcShort4() && calcShort5()) { OrderEntry( 0 ); } } void OrderEntry( int direction) { if (direction== 0 ) Alert ( "SHORT" ); OrderSend ( Symbol (), OP_SELL
Hello all When i make an indicator using (Controls mqh files) to draw a table checkboxes and attach it on any chart, it works fine. But when i try to change the TF or symbol, the chart closes suddenly. Here i attached the indicator And here i tried to change the Time frame Any Solution, please
Hi, I started to create an EA to visually draw orders in Metatrader 4 like Tradingview does, but when it comes to dragging objects across the chart I am having difficulties. I would like to move the items freely as in the EA below (Link), does anyone know the library that was used or has any code
Hi I develops all my EA in Amibroker, and I notice something strange. Amibrokers Bollinger value and Metatraders gives slightly different values. The diff is often around 0.00006 , please find attached a screenshot for further comparison. I know by earlier experience that the support for Amibroker
Hi, I am running the Heiken Ashi EA version 1.6 on the ForexTime platform, after doing a test on the 4 hour time frame chose a profitable set of inputs from the optimisation results. My problem is when the EA opens a trade an alert pops up about incorrect input what could be cause and when I change
Introduction I was trying many methods to autostart my VPS. Autostart menu and autologon just didn't work for me. So I had to autostart my terminals under System account, which autologins each time Windows restarted. There is a lightweight utility anyserv.exe, I used it for a long time successfully,...
Hi.   I only like make a bot for bet in the exactly moment. Manually i can't do this... I like bet in the exactly moment that one candle ends and the next begins I think that do this is only possible with a bot. I want a bot that I can activate before the end of one candle and this robot will bet...
Hi all, I would like the code below to open (10) trades when in profit. Unfortunately it opens 20 trades at once. I would like the code to open 10 trades & then 10 more in profit (50 pips). If you know a way to do so please assist. #property copyright "Copyright 2021, MetaQuotes Software Corp."
Comment does not show in the left corner in the strategy tester, when the EA is on the real chart - its working. do not understand why.. please somebody explain. thank you. //+------------------------------------------------------------------+ //|
I am learning mql4 from a while now but don't know how to draw multiple vertical line on chart in EA I will draw it on Every Order BTW, I don't take Vertical seriously, i just want to draw something multiple times on chart in EA. I know how to do it in Indicator but don't know about EA. Any help
Hi, I'm learning OOP on MQL4 and I am stuck on the following code. Can anyone please assist? I am new to MQL4 and this is my first post here kindly correct me if I may have broken any of the rules. I already searched quite a bit on this forum and also on stack overflow but I could not find an
  learn Mql4  (2)
Good evening to all, I'm trying to learn the MQL4 language, how did you learn it? (Books, videos...) Thanks in advance
How can I turn this function into bool? it only has 1 error which is the default value for the array. How can I correct it? Thank you in advance for assistance. bool ExtractInputNumber(string input_number ="1;2;3;4", double & inputarray []) <----- ' inputarray ' - missing
Let’s say for example i have a pending order placed on EURUSD from an expert advisor. The ticket number for this order is 12345. After x time, when the order is hit, does the ticket number be passed onto the opened trade with the same ticket number, or is a new ticket number assigned to the opened
Hi all, Was wondering if anyone knows the reason why the Better Volume 1.5 indicator runs incredibly slowly during strategy backtests? In the below code, it looks like a modification was made as version 1.4 of the indicator may have been a resource hog - but wondering if there is something in the
Kim from KimSignals has released major update of his service and decided to share the first month version of his service that worked out for many for completely free for everyone to use. Not long ago this indicator was part of a paid monthly subscription service for live signals and now everyone can...
  Price problem  (2)
Good evening, I don't understand why my code doesn't work... I think it's due to the Ask and the AccountBallance() but I've done some modifications and search in the MQL4 library but I can't solve my problem... here is my code : extern int SL1 = 500 ; extern int TP1 = 500 ; extern int i = 0 ;
Hi community, what do you guys think the best approach would be for defining supply and demand zones - in an indicator? 1. Studying a few of the free indicators already available I can’t quite understand from reading the code how the zones are calculated. Attached is the best one I’ve come across
How to get Testing Period and Spread setting in coding for logging? Thanks
  Invalid Lot  (9)
void CheckForOpen() {   int    res;   double entry,stop,profit;      if (exit) return;   //---- buy conditions   if (addbuy)  {res=OpenAtMarket(OP_BUY,_1stlots);if (res<=0) Print("Error opening BUY order : ",ErrorDescription(GetLastError()));else AdjustStops();   }//---- sell conditions   if...
How to access hyperlink in EA without adding to "Allow WebRequest from listed URL" in tool setting? Thanks
It Shows you more than 160 type of Support and Resistance levels . It Class levels with Colors grade of Red and Green. This Is my explain in arabic . (pls any body translate) <Deleted>
So I have this EA that reads from a txt file and takes the info from that checks if its a AdjustTradeOrder or NewTrade or CloseTrade. NewTrade works as it should but my AdjustTradeOrder sometimes changes all open orders but I'm using a check system to check if the myTradeID is the same as on the
So. I'm working on a small indicator that draws 3 objects openPosition TakeProfitPosition TakeStopLossPosition These Object should calculate Profit in Dollar. With The code I have it works on EURUSD but not XAUUSD. Then it gives me xxxx instead of xx.xx ($7799 instead of $77.99) double lot =