Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1093

To post a new topic, please log in or register
HELLO, PLEASE I REALLY NEED HELP FROM PROGRAMMER. SOME ONE ASK ME TO PAY MONEY JUST TO CREAT MY SYSTEM TO EA, I F I HAVE SUCH MONEY I WILL DO IT BUT AM JUST TESTING THIS SYSTEM ON DEMO AND NEVER GONE LIVE YET, I NEED AN EA FOR IT, PLEASE HELP ME . THE SYSTEM AS FOLLOWS: Place two pending stops BUY...
Hi there, I downloaded MT4 and created a DEMO account. Then I downloaded an EA for MT4 an tested it with some combinations on the strategy tester. Then I signed up for a LIVE account. And now the strange thing: When I try some strategies (with same values/settings as in my DEMO account) I get TEN...
PLEASE I REALLY NEED HELP FROM PROGRAMMER. SOME ONE ASK ME TO PAY MONEY JUST TO CREAT MY SYSTEM TO EA, I F I HAVE SUCH MONEY I WILL DO IT BUT AM JUST TESTING THIS SYSTEM ON DEMO AND NEVER GONE LIVE YET, I NEED AN EA FOR IT, PLEASE HELP ME . THE SYSTEM AS FOLLOWS: BASICALLY ON DAILY CHART Place two...
pls can anyone help me this powerful ea open trade daily if price is above pivot point then it open sellstop order on pivot point value and take profit on support1 and stop loss of 100 if price is below pivot point then it open buystop order on pivot point value and take profit on resistance1 and...
  Help Me! (2)
Hello All, I encountered a problem. I got error code 4200 when I used ObjectDelete to delete an object. I don't know why. Why cannot I delete an object? Can anybody help me? Best Regards, szfishing
Hi all, I'm beginer in forex trading. Please tell me if someone knows EA wich works to micro account. I need your help guys. Thank's.
Hi, after some testing I've set-up an EA that seems providing interesting performances. Attached the results of backtesting over 1-month period (it is very similar on other months). As baseline the EA uses 0.1 Lots quantity. I would really appreciate some feedbacks and suggestions on how to improve...
Hi. I want use a simple code for checking out if market  is under or not certain price-range criteria, into an expert advisor, tick based (checking the values tick by tick), utilizing the simple iHighest and iLowest function, with the  timeframe and shift-bar in-function options. In particular i...
I am looking to write a program that will run along with MetaTrader. It will allow for one to trade out a main account, which will really be the sum of several smaller accounts. However, this will allow for me to be able to trade quickly and have the profit/losses spread acorss the smaller...
Hi, I want to Buy or Sell orders at the bar open.What is the logic behind it. ???
can some help me with this trialling stop it does not trail void start() { //---- check for history and trading if(Bars<100 || IsTradeAllowed()==false) return; //---- calculate open orders by current symbol Print(TrailingStop); int cnt, ticket, total; for(cnt=0;cnt<total;cnt++) {...
Hi Traders, I have some code ( I didnt write it) that attempts to determine a trades level in respect to the stages I use to perform a partial close. It attempts to count Order History Records, as a way to determine at which level the open trade is currently. It's quite messy and not fool proof....
The following function will close ALL Open positions-- void closeAllPositions() { while(OrdersTotal()>0) { OrderSelect(0,SELECT_BY_POS); if(OrderType()==OP_BUY) OrderClose(OrderTicket(),OrderLots(),MarketInfo(OrderSymbol(),MODE_BID),999,CLR_NONE);...
I have heard this indicator to be very effective,but cant get it,pls if any one has a link to it,or any other good indicators dat work well on spotting quick and good trend entries and exits on d daily,i will be grateful!!Cheers.
Coming from thread https://forum.mql4.com/21235 a Discussion on double arithmetic conditional relationships and HW/SW dependencies... I have run into a problem with the MathCeil() function to determine the correct percent of lots to return to caller for a percent 100. For some reason ( double...
As a safetymeasure I call this early in the Start function: //---------------- SaveAccount ------------------------bool  SaveAccount() {   if( AccountBalance() < BalanceCutOff ) {   Alert("In order to protect the account ", WindowExpertName()," has stopped trading.", " Balance: ",AccountBalance(),...
Hello guys! I have a problem trying to use this library. I put them in metatrader\experts\library I correctly define the path for the .def file ... but my EA print on the register this error: -65495 What can be the problem? And, most, how to solve it? Is it possible that the .def file can be...
I'm currently using the below function to determine lot sizes. I'd like to make it so that users can use a risk %. How can this be done? double CalculateLots(double Lots) { double Margin; Margin = AccountFreeMargin( ) ; double Hasil; double MLots ; Hasil = Margin/1000; MLots = MathFloor(Hasil);...
  Vesion 5 (1)
I would like to see what you are adding to version 5 of MetaTrader. Is there any documentation that does this? Bill
Hello coders, I have tried to add a signal line to the Osma indicator. It does not work. Please correct the code. Thank you for your help!
Is it possible to create an HTML table in the MessageBox or some other way? I want to have a shortcut where I can add a table with specific stuff I use to look at every now and then.
Hello, I need help regarding esting EA in MT4. I have several EA that I would like to test with different parameters at the same time. But the problem is, that I get all the trades in same trade terminal from all EA, so I can not evaluate results of each EA setup seperately. Is there any way to...
Hello, i am searching for a good MT4-Coder. It's for some changes in aExpert Advisor. Please PM to me. Best regards, halobungie
I'd like to write an EA that tracks an indicators values over all timeframes but I need to get the current values that are set on this indicator. For instance: double l_icustom_84 = iCustom(NULL, TIMEFRAME, "SMAAngle", SMAMODE, ANGLET, PREVSHIFT, 0, 0, 0). I need to get the values on SMAMODE,...
Hello guys, When I test an expert advisor with strategy tester, I see the metatrader run but when it is finish it doesn't show me the results....why?? Thank you. Alessandro
Is there any reason why a loop (like the one below) wouldn't be an effective method? My EA actively monitors a couple of indicators and then monitors active orders for trailing stop's and take profit's as well as reads/writes to multiple files. start() // Special function start()...
When using OrderModify, should you check if the value has changed before sending the stop loss adjustment? Otherwise, won't you get a lot of server traffic being sent every single tick? Is there a way to check it on pip changes instead? I have 5 decimals on my system so would rather a change every 4...
The following code does not work. What is wrong? void DrawBox(datetime time1, double price1, datetime time2, double price2) { string name = "Rectangle"; ObjectCreate(name, OBJ_RECTANGLE, 0, 0, 0, 0, 0); ObjectSet(name, OBJPROP_TIME1, time1); ObjectSet(name, OBJPROP_TIME2, time2);...
since IBFX is now with 5 decimal places, for some reason when i declare double, the values have 4 decimal places. example Ask price: 1.31475 double askk=Ask; Comment(askk); //the comment only contains 4 decimal places, 1.3147 Is there a way to add more decimal places to a double datatype?
AccountProfit() returns total profit value of the current account. Is there a way to get profit value for only those orders created with a specific magic number ?? Thank you.