Download MetaTrader 5

MQL4 and MetaTrader 4 - page 481

To post a new topic, please log in or register
  copy profiles (9)
How can J save a profile, so as to be it used in another platform MT4? Actually J can't see any chart in "Profiles" folder at program files.
Hi: Does anybody know if there is a way to remove an active EA/INDICATOR programmatically(using MQL4 code), rather than manually(going to the EA/INDICATOR properties and removing it)? Any responses will be appreciated
When I compile inside metatrader, metatrader reloads expert or indicator. If I do so by command line with metalang, is there a way to notify metatrader to reload expert or indicator the same way ?
I can't see any function for int ?
Can anyone help me what is the complete metric for Heiken Ashi color change? I feel i am wrong with following rules: If the haClose is above haOpen, then a bullish sign occurs (white candle). If haClose is below haOpen, then a bearish sign appears (black candle). I tried searching here and google....
Hello, I have been looking through signals for about a week and it seems like all of the live ones are using non-us brokers. It looks like any broker I can use as a US resident has high slippage. Is there something I can do to find signals that are on brokers in the USA or with lower slippage? Thank...
Hi, I am beginner in forex trading and I am using platform metatrader 4 for the first time. I need help with orders in demo account. I want invest 1.000 EUR with leverage 1:100. When I calculated balance will be 100.000 EUR, and Margin will be 1000 EUR. MetaTrader 4 doesn't calculate like this...
  Bid ERROR... (6)
Bid ERROR .... When I try to run my EA, the tester shows the "trade panel" and the actual Bid price, in real market...not the bid correspondihg to the EA time...it happpen with the Bid value when I try to use it in the EA.Is it ppossible to disable the panel?...How can I get the Bid value?....can...
  Its all noise? (13   1 2)
Some peoples say"there's nothing like trend,its all noise". After reading this article:https://www.mql5.com/en/articles/1530,,once again i can assume that the market is random. BTW,i've already developed a 100% mechanical renko strategy & did a moderate forward test: #No.of trades=400...
I've imported external data into several markets such as EURGBP, XAGUSD, EuroStoxx50 and so on.The backtest at some point without any error-message it just finishes. Does anyone know this problem and knows how deal with it?
Hi, the basic question is how long does an indicator live with all its arrays and buffers and is it updated by each tick when called only once? My objective: I want to get a long-term average and want to 'offer' this value other EA by using GlobalVariables. The normal call of this indicator is only...
Hi - Looking for some good tactics to preventing whipsaw. 1.) Are there any good methods to employ to lengthen the period for an indicator based on average range, etc.? 2.) Should an indicator lengthen the period based on a profitable trade already in progress? 3.) Are there common indicators in...
Rgd: How do I do a code to ensure my position is at least 30 pips gap bool validGap; validGap = false; I want to write a code to run to check if Symbol() got open position, it will check all the current running position of Symbol() then check if there are at least 30 pips away from ALL the...
  Concentrated (87   1 2 3 4 5 ... 8 9)
This is a new Ea using zerolag macd, oma rsi qqe, and an indicator I'm calling directional normalized juice(just normalized deviation in histo form like the old juice indicator) before adding juice was calling it ZLMACDQQE but since adding juice its now Concentrated. As ZLMACDQQE the Ea did so so...
Please, who can tell me how i can convert a custom indicator into an expert advisor ?
Good day. The code that i have posted below returns 4109 error and i dont know where to look for the error and it is my first time writing a code for pending orders and how do i delete a certain pending order given that every news times a certain symbol will have a pending trade (BUYSTOP and...
Can anyone tell me if it's possible to run through my trade history, using MQL, to find out if a specific trade was stopped out? I have a few techniques to close trades, but I would like to know if there is a variable that stores whether the reason it closed was because of the SL. Thanks Johnny
An EA (or all EAs) that worked yesterday (and all the other days) suddenly stops after a minut while I'm doing backtesting. It doesn't matter if I choose another method (tick/opening) , the chart still freezes and I get NO ERROR MESSAGE! Then after a minute the whole program (Metatrader) freezes, so...
I have been using mt4 platform for over 5 years now and I am very happy with what I can do. This message is especially to thank Metaquotes to make the greatest improvement that they have made to mt4 in last 5 years and that is to allow users to specify spread to be used in backtesting. I wish only...
Dears friends, i have checked the following EA both on demo and live. In demo it works fine. But in live account it opens over 30 pending orders at one go at the same price and time and they all get executed when the price is reached. i have tried every possible settings from the input parameters....
Font size of MT4 was changed to very small after LiveUpdate to new version. Even some indicators are unreadable now. How can I change the font to the normal size? I use Windows XP. I didn't change my DPI setting and all other programs look and work fine.
Hello, I program EA based on daily high-low. Program enters with the help of indicator induced through iCustom. I have a problem that I'm open position immediately on the first candle. I want it opened on another candle from the new daily high-low. I attach files. Thank you for any help or advice....
hi all, if there any someone who can give me code for EA autotrade for any indicator?? for example if i have nice indicator i mean custom indicator that will give signal, can EA do autotrade like sell or buy??? example if my indicator say buy this 1.000 then automatically EA will set profit and stop...
I dont trust the new brokers easily and this time I around I have come across this "xCFD" with low spreads. Well, I dont really believe the claims of zero commissions, free iPads and Macs. I mean how do they money? I am fairly experience with forex but still it's hard to resist the freebies.
New article How Reliable is Night Trading? has been published: The article covers the peculiarities of night flat trading on cross currency pairs. It explains where you can expect profits and why great losses are not unlikely. The article also features an example of the Expert Advisor developed for...
Hi, I have two problems with Buy-Stop and Sell-Stop Orders 1.If my aktuell price (Ask for Buy-Stop and Bid for Sell-Stop) is too near on my pending price (0.00002) I alwas get the order-send error 130. I have already read this side: https://book.mql4.com/appendix/limits My code for sending the...
General Exponential Moving Avg (EMA) has three Inputs 1. RPeriod 2. MA_Mode 3. Offset I would like to make "offset" that continuous change & autocalculate the value and reset its position. Offset = Verticle Price Difference between 2 price X 4
forexparvenu
  error 130.... please help (12   1 2)
backtesting occur error 130 what's wrong with my code ?
Whenever I run a tester to test my EA (or in optimization), the tester will close all trades at the end of the period chosen (stop-out). Is there any possibility to make it such that: the period tested remains the same (from date x to date y) but, should there be open trades, the tester should, in...