I have this to calculate my lot size. Am I supposed to be multiplying it instead? double Lots = NormalizeDouble((AccountBalance()*0.00001)/(MarketInfo(Symbol(), MODE_TICKVALUE)), 2);
[Deleted]
Hello. There are 2 things I want to request 1. I had my strategy done by an MQL programmer and turned it into an EA, would someone help me test it? I am new in Meta Trader 4 and EAs so any mentoring/coaching would really be apprecited. Just PM me. 2. I want to ask if my setting at the properties...
[Deleted]
Is there a way to place an arrow at the previous bar before the current? This will place an arrow at the currnet bar; ObjectDelete("MdSymbolAi"); ObjectCreate("MdSymbolAi", OBJ_ARROW, 0, Time[0],vL); ObjectSet("MdSymbolAi", OBJPROP_ARROWCODE,...
dear community! the problem: i have an ea running, o.k. so far, suddenly the pc shut down and restarted, so the ea started also new, when the everything was online and running again. now my problem: i have opened orders and my ea does not recognise them anymore. in my ea i use the "SELECT BY TICKET"...
[Deleted]
Hey all, first post...I have searched the forums and the documentation to try and figure out why this is not working. Here is my code: extern int TimeFrame1 = 1; extern int TimeFrame2 = 5; extern int TimeFrame3 = 15; extern int TimeFrame4 = 30; bool NewBarTF[4] = {false false false false}; int
[Deleted]
//+------------------------------------------------------------------+ //| STEP TRADER.mq4 | //| LAS | //| |...
I haven't seen this before so is it something to do with the last upgrade? The EA runs in the back tester without errors but on forward testing it gives " invalid stop error" on every trade and yet I print out the stop and it comes out as 1.7265 for a short on GBPUSD so why is it invalid or is there
I read many stories on the web on how the brokers get you if winning too much, never thought that I'll be in this kind of situation. Trading with this broker (and strategy) for a month now, then, last week on Friday apparently I've reached my cutoff level. For a month I've got maybe 5 mini-spikes...
My problem in brief: 1. At the opening time of the bar i ==> Time[i] ==> buy/sell conditions are met and an order is opened. 2. The order closes (hits t/p or s/l) before closing the bar i; (Time[i] ) 3. While we are still in bar i and after the order is closed, buy/sell conditions are met again!...
Does anyone know how to make a comment of more than one line appear in the upper left hand corner? All I can do is make the comment one big line. I want to have two or three lines of information to help me up there.
[Deleted]
hi; is there anyone have metatrader on his\her iphone? Does it normally operates at Mac Os? thx Ozc.
[Deleted]
Is ther anyway to change the color of the stop levels in mt4? they default to both red. I'd like to change the tp level to green.
Today, I saw a picture on the beach: two girls of 5-6 years old playing in the sand. One sells crayons to the other for coins. Then they swap places. After half an hour of trading, one girl has no money left. That's what prompted the topic "How to trade for nothing?". To learn how to trade something
Hello All, I'm looking for an EA that will close only one Symbol e.g. ( EURUSD ) if it is in profit. I'm trading 5 pairs, every with 3-5 max.trades. Thnak. FXMan77
I have Alerts in my code to show buys, sells, and stop moves that are not showing up. Not even in the Alert tab of the terminal. They were showing up, then I put a different version of the EA up the VPS that I'm using, but I have reverted back to the version where they were showing up but now they...
[Deleted]
Is it possible to change when a new candle opens? For example, let say I am trading a H1 chart and a new candle open at the top of each hour. Is it possible to make a new candle open at a different time each hour, say 12:51, 1:51, 2:51, etc., etc. just to get away from the influx of activity that...
hey there, is there the possibility that i can put custom indicators to show as first in the list when clicking on "insert->indicators" (I believe thats how it should be in english, I am using another language)? So I mean not only to make them the first in custom indicators, but to get them one...
[Deleted]
The question is, how to withdraw money more easily and without problems? What are the disadvantages of the different methods? Will the tax authorities catch on
Hi Guys, it's been a long time. Does anybody know if it is possible to show my chart on a website? I explain. I use a expert advisor that is attached to a chart and I want this chart to show in real time on my website. Is it possible and if yes, how to do it? Thanks for any info. Pascal
[Deleted]
Hey all, Is there any way to time how long the code takes to execute for 1 tick? I know in Matlab there are commands to do this (tic,toc IIRC) Thanks, J
[Deleted]
HI I HAVE INDICATOR THAT PERFORM WELL ..CAN ANY ONE PLEASE CHANGE THIS INDICATOR TO EA.. I JUST NEED THE EA OPEN TRADE WHEN BUY @ SELL SIGNAL APPEAR ON INDICATOR AND (S/L,T/P,) I DON'T KNOW HOW TO CREATE AN EA PLEASE ANY ONE HELP ME .... TQ
[Deleted]
Hello, What is the easiest /best way of combining say several indicators into one so that there is a single alert when all the conditions are met. Is there software that can do this easily for a non programmer? Cheers
Hi fxt I would like an Expert Advisor as follows: No time frame No currency pairs in particular when the price stops down and goes up as spread + X automatically close SELL order (if exist) and open an BUY order when the price stops up and goes down as spread + X automatically close BUY order (if...
[Deleted]
ObjectCreate("SignalDot",OBJ_ARROW,0,0,0);ObjectSet("SignalDot",OBJPROP_ARROWCODE,108);ObjectSet("SignalDot",OBJPROP_COLOR,Gray);SetIndexStyle("SignalDot",OBJPROP_WIDTH,1); makes the same size dot as: ObjectCreate("SignalDot",OBJ_ARROW,0,0,0);ObjectSet("SignalDot",OBJPROP_ARROWCODE...
Hi there, Wondering if anyone else is experiencing a two week or so gap in 1 minute historical data for GbpUsd from around March 13 to March 26 or so? I've installed 2 fresh MT4 implementations from 2 different brokers and they both have this March data hole. This is a big problem. Anyone know
I have instralled fonrts into windows/fonts and also windows/media/fonts on my wine section on Linux. MT4 starts up and all works properly but the top menu isn;t displayed - any idea son how to fix that?
If I set pending orders ( as following ) OP_BUYLIMIT - buy limit pending position, OP_BUYSTOP - buy stop pending position, OP_SELLLIMIT - sell limit pending position, OP_SELLSTOP - sell stop pending position. and a few hours after the orders will be opened, then will the orders change its status...
[Deleted]
I opened an account a few months ago with a broker that uses MT4. However I need to backtest my EAs using a fixed lot in each trade. I usually do this to find the true volatility that an EA can capture from a FX market. If it works and the equity curve looks well then I apply money management...

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.