MQL4 and MetaTrader 4 - page 239

Hi friends... i am trying to developed a Renko Based ea... actually i am new in MQL4.. i want to open the trade (buy or sell) when the second bearish or bull candle will make... example In RENKO i set the bar size on 10 pip..on the second renko bull can i will open a buy trade. & my stoploss will...
how could I extract only the text DB0F64EEC7A2A454E798BF69494A9ACB from TerminalInfoString(TERMINAL_DATA_PATH) ? TERMINAL_DATA_PATH = C:\Users\.........\AppData\Roaming\MetaQuotes\Terminal\ DB0F64EEC7A2A454E798BF69494A9ACB
  MACD HELP  (6)
Will any1 be able to help me code the signal line as soon as it crosses over the MACD under the 0 line, trigger buy order. I know it sounds simple but really struggling with this for a few days now. Would appreciate any help! double sellPrice = Bid; double buyPrice = Ask; double macd = iMACD ( NULL
It kept on producing OrderModify Error 1 when running the ea on strategy tester, everything is working just like expected tho but im concern with this error. This is the code: void OnTick () { if ( OrdersTotal () == 0 ) { int ticket = OrderSend ( _Symbol ,OP_BUY, 0.1 ,Ask, 5 ,Ask- 500 *
Goodmorning, i'm a noobie of Ea, i've 3 very interesting indicator downloaded from web, they are in ex4 file, is it possible to create an expert advisor from these? How shoud i do that? Thank you
Hi all, I'm seeking some feedback from other developers that have used unit testing for their EA's in MT4. Currently my search leads me to compare MQLUNIT to mt4-unittest. Has anyone here tried these resources and if so how did it go? Alternatively if there are any other options I have missed? Thank
Hi, I have created this EA but unfortunately it can only place order once at a time. How can I change it so that it can open multiple orders or turn it into a martingale EA? Thanks. int start() { double MyPoint= Point ; if ( Digits == 3 || Digits == 5 ) MyPoint= Point * 10 ; double
Hi All I'm Struggling to figure out the ACCOUNT_MARGIN_LEVEL function. I want ACCOUNT_MARGIN_LEVEL below 200% not to open trades AT ALL. If there's a way to do it or different way to do this, please feel free to help out. Here is my code below #property copyright "Jack Buda Copyright 2020
I can declare indicator parameter with any of two word = 'extern' or 'input'. My question what is different between two word. extern mType PendingOrderType = 0 ; input mType PendingOrderType = 0 ;
Hi, I have rent VPS for three months and migrated one chart with expert adviser successfully and its working perfectly. But I tried migrating other charts with custom indicators but when I open the journals after synchronizing. Can anyone help
Maybe someone has experienced the problem that I describe here and can advise what should be done about it. I noticed for quite some time that the results that I get with Strategy Tester are not consistent. One day I can test an EA, optimize it, be happy with the results and get a printout of the
hi guys, i have a question, i normaly use "iCustom(NULL, PERIOD_CURRENT, "majorkiller peak (1)", 15, 500, 0, 0, false, false, false, false, false, false, false, false, 25, 1, i) != EMPTY_VALUE > 25" but always run into a problem, when all buffer have a value like in the picture. is there a better
Hello , is there any way i can convert alerts from an ex4 indicator to print arrows on chart ? I used to work with an indicator that i bought but the buffers seem not to work anymore , i keep receiving signals from it with alerts..im using an autobot to copy those signals but i can't because the
[Deleted]
I optimise the EA. Then I run a single test based on the results. The results of optimization and single tests do not always coincide. Sequence of actions: 1. I select a pair (e.g. AudUsd) in the optimizer and set the period 2010.08.23 - 2010.10.30. Expert Advisor in the list and H1 timeframe are
Hi I am searching an app for Meta 4 wherein I can create multiple pending in one click. Let me know if anybody knows such application. Regards, Amit
Can someone please help me to add vlines at the same place that the arrows are placed
It is like starting afresh. Now, my EA is attached to more than one charts. So they won't all access the same static variable (with global scope). But they will all access the same global variable. How can I make my static variable accessible to EA when attached to more than one charts. The idea is
Why did I download and install the MT4 version but when I opened it up it was MT5
Hi! I have a worrying problem I cannot solve...help pls! I installed an EA on my live MT4-platform/account and didn't like its performance so I decided to delete it. I've done so - both shut down all graphs (fx-pairs) it traded on, AND deleted it in the Expert-file on my computer and rebooted the
It seems MQL5 community is the only VPS hosting company there is. Moreover, they are linked to all the brokers' MT4 and MT5 trading platforms I have tried. Or are they linked to Metaquote who produce the platforms? This may not be the place to ask this question but I am just curious. One may wish to
  Need help with OrderClose()  (11   1 2)
Hi guys, Currently I'm developing an EA to close trades when the ADX Main line cross down 40. But the EA didn't close the trades. Can you guys give me a hand. Thanks. int OrderClose() { int all_trade = OrdersTotal (); int total_orders = 0 ; for ( int order = 0 ; order < OrdersTotal ();
[Deleted]
  CuSUM oscillator  (9)
Does any know the CuSum oscillator ??? HERE Cumulative Sum Chart (CUSUM) CUSUM charts are constructed by calculating and plotting a cumulative sum based on the data. Let X 1, X 2, …, X 24 represent 24 data points. From this, the cumulative sums S 0, S 1, …, S 24 are calculated. Notice that 24 data...
Hi, I have this indicator, it is a kind of oscillator, it works at tik, is it possible to make it work at bar close? In practice, when it exceeds 0 it draws an arrow, I would like it to draw it only when the bar has been closed. Thank you! ..Sorry for my english.. <Decompiled code deleted>
Hi everyone Im new here and new at EAs but been trading 15 years. How can I get help installing 5 EAs on mt4. Im not experienced enough to do it myself. Thanks Cheers
Hello. This is my first EA (from a custom indicator), but I have a problem because the function ICUSTOM I think that I made the wrong programming... someone can help me??? Send two files. the indicator and the EA. Please, help me. Thanks. Jarol R.
I have been trying to install Mt4 in my MBA M1 laptop using crossover. The installation always stops with error "Installing MetaTrader 4". Please help. How do I install MT4? Thank you
I know how to scale out manually , but cant figure out how to get out of a trade with a partial order with a limit order. Any help would be greatly appreciated. Thanks
Hi:) Please help me with code , need close order in this situation if (v_kumoBreakoutSignal == 0 ) Here all code Thank you! //+------------------------------------------------------------------+ //| T.mq4 | //|
Hi,, im new to stock market. Can we use MQL4 to programe a Telegram bot for stock instruments??? I just bought third- party stock data for MT4. but don't know how to code with that data as what I can do do with FX data using MQL4. Could anybody give me some idea? ive never done it before. thank you
I enrolled in one of those funding programs. They have requirement that I cannot use a local trade copier. Are they able to find this out if I do use the local trade copier