MQL4 and MetaTrader 4 - page 47

Hi i saw in metatrader 4 the CFD like brent or index , but many broker call in diffrents mode , and i want compare with some string example if (( Symbol ()== "BRENT.CMD" ) this is correct for broker dukas, but for example fxopen no because BRENT call in differents name exist a mode for locate the
  Astro...  (229   1 2 3 4 5 ... 22 23)
Hi guys, I was wondering if anybody in this forum is interested in searching of connetion among planets,moon and other movements in space. We can share our experiance and learn more and more... All you know that the most famous and successful trader/W.D.Gann/ is used astrology and other technics to
As title suggests is it possible to allow all webrequests without adding them at options menu in MetaTrader 4
  OrderSend question.  (14   1 2)
For BT purposes only on MT4 If I use OrderSend is the order taken at the next tick? Is there a function to say place an order 10 mins before close?
I read from the net that Genetic Algorithm is more usefull for predicting method than Neural Network. For example EA Prizmal (ATC2008) is said to use GA. For implementing GA to MT4 EA, is it the same GA method with MT4's backtester/optimization option? How can I make MT4 EA that uses GA? I found...
Dear community, 6-7 months ago I was contacted by a lady in China. She convinced me to invest in XAU trading and guide me thru how to deposit money in company account (where she works). I wanted to withdraw rest of my money. I requested from their portal withdrawal request but I can't trace or see
[Deleted]
I have added a line of code to my EA: Comment("Balance:",DoubleToStr(AccountBalance(),2),"Equity:",DoubleToStr(AccountEquity(),2)); and it shows that EA is able to read and display Account Balance /Equity informationfrom back test in visual mode. I wanted to ask Rosh or other experienced...
Hi, I have this function below which check the status (Profit or Loss) of the last closed order: string CheckLastOrder() { string last; for ( int i=OrdersHistoryTotal()- 1 ;i>= 0 ;i--) { if ( OrderSelect (i,SELECT_BY_POS,MODE_HISTORY)==TRUE) { if (OrderSymbol()== Symbol () &&
let me explain my question that i think is different from others', or not? 1 i wanted to make my indicator shows the parameter tab 2 in that parameter tab it shows "apply to" option with the drop-down menu offering various ENUM_MA_METHOD including the previous and first indicator's data similar to
Hi all, I'm trying to manually close a sell order but I have an Off Quotes result. I push yellow key to close by market. Position size is 2.9 and I'm trying to close 0.7. Open price: 4450 Stop: 4500 Bid: 4409.4. I don't understand where is the problem
Hi guys , Just a quick one wondered if anyone has got any idea when I switch timeframe on MT4 autotrading is automatically disabled meaning I then have to turn it back on to execute with an EA ? Kind regards
[Deleted]
Hi guys, Investigating the logic of one indicator I noticed that iMAOnArray() function returns different results for the same values depending on whether they are represented as indicator buffer or static array. I created a simple test that calculates Simple MA of 3 values with the period of 3....
even i use iCustom i cant get price of last zigzag can some one help plz void OnTick () { double arr[ 5 ] = { 0 , 0 , 0 , 0 , 0 }; for ( int j = 0 ; j< 1000 ; j++) { double zigZag = iCustom ( Symbol (), 0 , "ZigZag" , 12 , 5 , 3 , 0 ,j); if (zigZag != EMPTY_VALUE && zigZag !=
[Deleted]
  kernel32.dll  (11   1 2)
hello, i need kernel32 .dll for version 4 build 1090. can you help me
Hi exist some metod for protect a mql4 EA ? i saw this https://www.mql5.com/en/articles/359 but is only for mql5 i suppose exist the same papre but for mql4 ?? thanks at all
Good afternoon everybody, I recently created an EA and is working exactly as expected. The signals are being delivered correctly and it is opening them accordingly. Everything is perfect. Now, there is one fault which I already have it contemplated on my manual trading and it is that it only has to
Hi there, does anyone know a way to get more values for the Strategy Tester spread than the currently offered 2, 5, 10, 30, 50, and 100? Might there be a jury rig? Thanks and best, Jeff
Help me correct my logic on this. int upcount,downcount; //+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ int OnInit () { //--- //---
Hello, I would like to create an application for MT4 that can communicate with an other application I will create on my PC. I've seen that there are many open-source bridges available, one of which is ZeroMQ. However, I couldn't find it for Windows, and besides, I find it complicated for what I need
Hello, is there a TimeTradeServer(); in MQL4
hi i have a big script for this reason i past only a part , i notice normilize double some time work some time not work anyone have idea why ? if (ctrlclick == 1 ) { int shift = iBarShift (Cross_Correlato, 0 , dt); Print ( "index of
[Deleted]
Suppose I determine that a stop loss has occurred. In the start() function, how would I determine the number of pips I have lost? is it as simple as determining the price of the original order and determining the difference between either the Ask() or Bid() (depending on whether the original...
NormalizeDouble ( Close [ 0 ], 0 ); a simple question please: in order to remove the digits after the . how to get the integer value that will not be modified I am getting 2 for values like 1.6 while I need 1
  Can price != price ?  (85   1 2 3 4 5 ... 8 9)
I'm trying to understand something strange that I am seeing so I can better code round it in the future . . . I noticed something strange happening with one of my Indicators, it wasn't doing what it should have been so I checked the code and it looked correct. So I did a little investigation and
hi i look this tutorial https://www.forex.in.rs/jump-to-date-time-on-mt4 i try to go at 2019.09.03 08:00; but not move , exist some free indicator for do this ? or anyone can explain me why not move and remaning at today ?? what wrong ? thanks
Hello, i have a feeling that its not possible but anyway here i ask: can i pass dervied class by base class pointer: Thanks for help example: class BaseClass { bla bla bla; }; class DerivedClass : private BaseClass { bla bla bla; }; void myFunction(BaseClass* blabla) } bla
Then signal providing doesn't work, while there is no problem with my broker or MT4😬
Hi i try to use in my EA the combo shift + mouse left click i build a EA in this mode (i write only a part because is so long a script but if someone want all i can past ) if (id == CHARTEVENT_CLICK ) { //--- Prepare variables int x = ( int )lparam; int
hi , i have a script with one button i want when i push it want execute a function , how is possible do that ? //+------------------------------------------------------------------+ //| BUTTONCLICK.mq4 | //| Copyright
When i use two code below, i get zero (0) return. I using it in OnTimer: double bid = SymbolInfoDouble (symbol_1, SYMBOL_BID ); double ask = SymbolInfoDouble (symbol_1, SYMBOL_ASK ); This is my full code: void Make_Type_4( string symbol_1, double vol, string type_comment, int type_buy_sell, double