Hello, Is it possible to include an indicator source code into another to avoid the distribution of two files? For instance.. #include <another_indicator.mq4> Thank you
Hi, I am trying to make a Bollinger Bands indicator that uses TEMA. I've got the TEMA source code from a webpage, but (1) I cannot really use this indicator with iCustom and (2) also there seem to be some problems with this indicator. (1) I use the following parameters with iCustom: Symbol: NULL...
Hi all, I'm looking for a simple code,, (EA ?) that plays sound if order hit TP ?! thanks in advance
[Deleted]
Hi all, I want to stop the execution of EA if there are 3 loss trades in a row. Can anyone help me regarding this. Thnx.. Cosan
MetaTrader 4 Terminal build 409 Added translation of the interface into Mongolian.Fixed translation of the interface into Bulgarian.Fixed the margin calculation when "Calculate hedge margin using larger leg" option is turned on.Optimized getting considerable amount of internal e-mails (dozens of...
Hi I am new to MQ4 and haven't really figured out how to do troubleshooting so would appreciate it if somebody with experience, pls take a look and point me in the correct direction. I've been trying to run the code below on IBFX but when I set ip up for manual confirmation, it works at the correct...
Is there a difference between the strategy tester in a ecn metatrader4 account and a ' normal' account? And, when strategy tester is not working well is that because of bad history data or a bad ' strategy program' ? Can the strategy tester be downloaded again? Lots of questions, but i would like to...
Hello forum, I am looking into creating this static variable containing the type of last order just closed (returning OP_BUY, OP_SELL, etc), I am calling it, say, LastOrderTYPE - for further use as a condition for next opening. market is closed for "trial and error", so I am kindly asking: what...
[Deleted]
I need to authenticate a MetaTrader 4 user against an external user database using session token or similar means. For this I am currently looking into making data persistent between multiple calls and instances of a MQL4 plugin. Now my questions are: Are static variables the best solution for...
Has anyone played with bar relationship patterns with the H4 time frame? Has anyone written any code to find the optimum patterns? I would like to compare my results with people that have dabbled.
Hi there i have a simple strategy but i want to back test it all you need is eur/usd chart m15 tiemframe Fractals as indicator So i want the EA to put a pending order (sell stop/buy stop) above and below the last 2 fractals one on the top one on the bottom of the chart, make SL TP 10-10 and make a...
I am looking for a Chart Line Trading EA that will enter trades as buy/ sell order/limits with Stop Loss and Take Profit up to 3 levels? Is there such a product?
[Deleted]
Hi, I googled and searched this forum, but was not able to solve my problem. I know, that error 130 occours if stop losses or take profits are set false. But I am pretty sure, that that's not my problem ;). Maybe someone had the same problem... I have a demo account at TradingPoint. They state, that...
Hello, I am starting newly in mql4. Trying to pick black and white hammers in candlesticks with the following indicator. However, in the chart sometimes candlesticks get wrong identification text (white hammer candle is identified as black hammer candle and vice versa). Please help me with this...
Hi friends, can you help me to modifiy this code with ilowest or ihighest instead of Mathmin or Mathmax. #property indicator_chart_window#property indicator_buffers 2#property indicator_color1 Red#property indicator_color2 Blueextern int MA_Shift=0;extern int MA_Shift1=0;double L2[];double...
Some people here gives their ea. How to put them on MT4? thanks.
[Deleted]
Hi all, I have been read a lot comparing problem on double value with double value, I still having problem on comparing the 2 double value. I tested NormalizeDouble and it don't work on my case. I tested the print out of number1-number2 and the answer is 0 but the compare just don't work...
Hello, Today is 03/05/2012 and downloading the history from the MetaQuotes server (using the Tools/History/Download menu) gives me the very last file for USDCHF as: USDCHF_2012_01_3a3be44c55e2e9a1bfe5f7187980a8d1.dat I did the same in the beginning of Febr. this year. That time I could download the...
How can I specify a trailing stop (TS) for a trade in vHands manual testing visualization? I can add & modify a stop-loss as per explanation given in the article but not a TS. Furthermore I do not find a field for TS in the vTerminal indicator window. Could somebody please explain. Thanks.
When trying to copy some code with right button or Ctrl-C from Meta Editor it crashes. On Windows XP 32 bit there is no such problem. Can you fix it. It is for 6 months or more this bug, isn't enough people to check for bugs, or all efforts are on this s.... version MT5
I am new to programming and got stuck with this error message saying unbalanced left parenthesis at the end. I checked and couldn't find where a parenthesis is left out. Please could somebody help me out! Many thanks for your time....
Hey all, I used to use historical data from Dukas which is converted by scripts to MT4. During the last time I have downloaded and converted data , the minimum lot size has been defined has 3.0 lots. I do not have idea the reason of this value. As I said, this is not my first time using the same
HI, Attached is my EA backtest result. I built my history data from dukascopy data and it shows 99% quality. I have delveloped this EA myself with complex money,lot management techniques and also i used only pure mathematical decisions. (no indicators used) The results I see is too good to be true
[Deleted]
Hi there - I am not a programmer but I am trying to manipulate a piece of code from an mq4 file which affects the graph lines of an indicator. Two things I'm trying to do: 1) Set some graph lines to the colour "None" within the code rather than for me to keep setting it within the indicator...
Is it possible to find which order has been selected elsewhere? I'm inside the typical OrderSelect loop, then call a function which also runs through such a loop, and when returning I've lost track of the order that was selected in the 1st loop. I could obviously store the ordernumber and restore it...
I have wanted tostop my indicator auto-scaling on the M1 time-scale as the result is more difficultto read. The ... #property indicator_maximum 5.0 is no good as itjust scales the top of the window to that fixed value rather than using it as aminimum limit of the top of the window (which is what I...
[Deleted]
Hi Everyone, Can you help me how to create new open buy position everytime price go down at certain pips, with previous position are still open(multiple open buy). I've tried using MA but it's not effective, not what i expected, since it's not covering all when price go down deep.
If price movement follows a random walk, ( and this forum would be empty if everyone thinks it is ), how many Pips would a trader need to capture/lose in-order to have the same odds as roulette? In this case we'll assume the European wheel with 36 numbers and a single 0. The wager is the Even Money
Hi, since a few days (the last update) I have noticed a problem with my Expert: OrderSend function 0 and no position is opened. There is no error returned but no ticket is created. Here is my code: RefreshRates(); if (pOrderType==OP_BUY) { result=OrderSend(pSymbol,...
[Deleted]
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.