Hi All, This is the result of my EA during 2009-01-02 until 2010-01-02. This is with low risk (start with 0.1lot and up to 1.3lot). higher risk would give a better result. I will appreciate all your "critical" comments on the result.
Hi, I'm using this code to count open and pending orders. It seems that occasionally MT4 will return a value of 0, even though a pending or market order is present. Is there a way to double check my orders or a better way to code that is more reliable than what I'm using? Thanks in advance! int...
[Deleted]
Attached is an example EA that calculates a simple moving average using iMA() for a number of bars and stores the values in an array. Then, a Print() call is used to report one of the stored values from the array. Unfortunately, the values do not seem to be there. Can anyone tell me why? Thanks,...
I need an EA that opens a trade when candle reaches certain pips. thats it. variables: pips to trigger Sl Tp lots Magic number. Thanks
var1=MarketInfo(Symbol(), MODE_ASK); var2=Ask; var3 = MarketInfo(Symbol(), MODE_BID); var4=Bid; if var1 always = var2 ? var3 = var4 ? thanks
[IT's SOLVED] The lower Sub windows returning error value because I didn't refresh it when attached. Hi everyone... I have this CI that need to be refreshed when first attached to the chart (refreshed by open it up and then close/attach it again - so it will return the correct value. The problem is...
[Deleted]
HI, Can anyone help me add the following script code, so that data into a CSV was imported into columns and cells? //+------------------------------------------------------------------+ int start ( ) { { mPrev = m ; handle = FileOpen ( "Data \\Statement .csv" , FILE_WRITE |
Can you tell me how much of a lot the baxo/franc should have when hedging 0.1 lot of the eur/bankass
[Deleted]
I found candle_Signal indicator in this forum interesting to me i do not know if someone can make it as an EA.
Hi. I have a custom indicator with two arrays with values I would like to display. One will be a line, the other a histogram. Array #1: 10, 15, 12, 18 Array #2: 1.0012, 1.0025, 1.0022 If I place them in two separate indicator windows they are displayed fine, however I would like...
[Deleted]
I want use EA to test forex. When I insert a StopLoss parameter (through OrderSend) the client terminal open a position with StopLoss Parameter. The questions are: _If i close the client terminal, when the price reach StopLoss the server close automatically the position? _If the EA is active and
[Deleted]
Hi all, I have two question about Friday market close: _If i have an open position and the Broker "say" that the market close what happens? Broker close my position or the position remain open? _If the broker close all position, the spread of the position closed with market close is the same or
Some questions regarding code from the article Forex Trading ABC: //+------------------------------------------------------------------+//| A very simple function to calculate margin for Forex symbols. |//| It automatically calculates in the account's base currency and |//| does not work for...
-
Dear community, I'm a newbie here, and I seem to be receiving incorrect results from the MT4 tester (Version 4.00 Build 225) when running this piece of code: if (OrderSelect(ticket, SELECT_BY_TICKET, MODE_HISTORY)==true){ // Closed trade order_closed_bar = Bars;...
Hey folks, I'm wondering if some of you already have experiences with script execution problems in Tradeview's MT4 platform. Every time I want to run script in the platform I got an error message or script simply doesn't run. I used the same scripts on other broker's MT4 platforms (both real and...
Hi Is it possible to recover a data type from an indicator (3 MA Cross w alert)to put it in a EA? This is what I want to do : In the indicator (3 MA Cross w alert)I put a data type : double execute_trade = "ok_buy" or execute_trade = "ok_sell" here : ************Indicator ************ if...
[Deleted]
I want to stop my EAs from placing trades on Friday. I can do this easily in the EAs I developed. But not sure how to accomplish this in commercial EAs.
[Deleted]
I have been trying to figure out how the indicator below is able to draw a line in one color, Continuosly, and then a line in the next. The values for wt[shift] and wt[shift+1] are constantly changing as well as the values of ExtMapBuffer1[shift] and ExtMapBuffer2[shift]. There has to be something...
[Deleted]
I want to add a take profit and stop loss based on account profit or equity. So let say the account increases 50 buck it would close all open trades and start a new round of trades. How could I impliment such a function. If someone could give me some code to achieve this it would be greatly...
Hi Thank you very much for your MAB TD sequentiel, I think it very good indicator, I am looking for TD Range expansive indicator. Have you got ? Could you write one ? or where can i find one ? Excuse me for my english !!!! Good work
[Deleted]
I have built a modified renko indicator that overlays a 1M or range bar chart on ninjatrader. I need some help converting it to mql4. My renko bars handle gaps. Any help would be appreciated. Here is my attempt but I it wont compile. private int myInput0 = 8; // Default setting for MyInput0...
[Deleted]
In MetaTrader 4, Is there a simple custom tool like the fibonacci retracement tool that only shows the extension levels (ie 1.272, 1.618) and not the retracement levels as well? I know the fib retracement tool in metatrader can be customized to show only the extension levels however that requires...
[Deleted]
I have a problem opening a CSV file, the error only occurs when I run the EA in simulation mode. The file contains settings for the system that needs to be traded, since it's a large amount of numbers I've decided to put it in a file, rather than as variables in the EA. I also tried a workaround so...
[Deleted]
I charge 20.00 an hour to put your ideas into code. I've spent 5 years working with the platform. I also have a college degree and I took 4 semester long courses in beginning and advanced programming. I am self taught in visual basic and can also create applications in visual basic. I am also able
Discovered a funny quirk in OrderSelect function with MODE_HISTORY. It only selects whatever is listed currently in 'Account History' tab. So if you limit your account history tab to say 'TODAY', that's all you going to get in OrderSelect function. It seems all the other history is inaccessible...
[Deleted]
Hello! Is it possible to export the MT4 value of the 60 SMA from a forex chart to excel? Thanks in advance for your effort. Paul
[Deleted]
How do I call price to be used in a program and if possible can someone show me some example code and tell which part of the code represents the price? Thank you, Charles
Dear friends, As 2009 comes to a close, we'd like to express our sincere gratitude for another year of your confidence in us, and in our products. We highly appreciate your exceptional support and hope that the coming year will be prosperous and successful to all of us. The expiring year was...
Hi: I'm looking for an automated manner to generate an excel spreadsheet with optimization results (including inputs). Anybody knows about any existing Expert Advisor or Script for this purpose ? Thank you for your help
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.