MQL4 and MetaTrader 4 - page 1299

[Deleted]
Read in MQL5.com : https://www.mql5.com/en/articles/81 Migrating from MQL4 to MQL5 [ ru ] Sergey | 17 May, 2010 3.I have plans to develop the MQL4 emulator, which will allow you to run your MQL4 programs in new MetaTrader 5 client terminal. I think it's a GOOD news :)
Though this typeof dynamic programming that I will speak of is currently well beyond my very rudimentaryMQL programming skills by quite a significant margin, I have been contemplatingthe usage of 'Dynamic Adaptive, self learning and self improvement techniques that arean inherent part of life and...
[Deleted]
Perhaps someone has had this mq4 problem before, and found the cause and solution for this problem? I have a custom indicator that works on some symbols continuously, but on some other symbols it will work for a while and then stop. Another similar indicator for the chart continues working when the...
Hello! As you know, not only the correctness of calculations but also the reliability of the written code depends on the programming style and neatness in the code. We do not write toys, so the reliability of the written program is the very first requirement. Most calculations are carried out in
[Deleted]
please how can i change the error code?????? jeffzie 3 2008 on EURUSD:60 11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131 11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131 11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131 11:52:06...
[Deleted]
  Sorting function  (2)
Sorting is a very important part in programming. But I do not think mql4 has it. Can somebody help? Thanks
[Deleted]
I am looking for a function that will paint the high of a price bar, but onlyon certain days of the week. Or even easier a way to exclude certain days. I have this figured this out for the EA but the day function doesn;t work for the indi? Thanks
double pipValue(string sym)   {   double pValue=0;   if (sym=="") { sym=Symbol(); }   double bid   =MarketInfo(sym,MODE_BID);   double ask   =MarketInfo(sym,MODE_ASK);    int lotsize = MarketInfo(sym,MODE_LOTSIZE);      if (StringFind(sym,CURRENCY)!=-1) { pValue=(Point * lotsize) / bid ; }    else...
  The future  (123   1 2 3 4 5 ... 12 13)
Sorry didn't hold back, I became the lucky owner of history up to 20 October 2010 on GBPUSD
I am writing a small EA, using sellstop and/or buystop with SL. So when the current price, for example, drops below the sellstop order, the order will change to sell automatically by the system, not by my EA. Also, if the price goes higher than the SL of the sell order, it will SL and the order will...
my latest ea, still in beta mode, working with a difficult currency, here are some results: check out my website:http://sites.google.com/site/dmweadev/
[Deleted]
Hi, I created a simple EA using the automatic EA builder at eatbuilder.com, so I trust the general structure and logic of it is correct. Also, in my EA I need to check at the beginning of each new 5 min bar to see if it's time for a new buy or sell. In order to determine when a new bar happens, I...
[Deleted]
  Resize Chart?  (4)
Looking for a way to resize the height of the main chart, (I only use one chart at a time) to a fixed amount of 200 pips. Bid-100 to Bid+100. I found WindowPriceMax() and WindowPriceMin(), but it seems that these only give you data on what these current levels are set at, that is, I can't actually...
[Deleted]
Hello Everyone reading this. I have a very profitable system, Its a lot of work sometime calculating and re-calculating, the places to place the pending orders. the System is a simple scalping method that's i came up with. Now The reason why your reading this. I have a "Moving Average crossover...
[Deleted]
I have an indicator that satisfies my needs but the sound alert only fires once. If sleeping or away from PC I miss some. I need to get the alert to fire like 4 times or put a voice alert string in there. dforant1@nycap.rr.com
[Deleted]
I am new to mql4. I work 12 hours a day so i haven't had time to test this and i wrote it cos i don't have time to monitor my trades. It is meant to open 4 trades on a 4 digit broker. I know it opens the trades and the tp and stoplosses work but i don't know if the modify order will work properly....
[Deleted]
OpenEA - is a open source forex robot project. We developed EAs, Scripts, Indicators and templates to help you make some pips. Looking for volunteers to help us in this project.  Want to create a package of excellent open source EAs. Volunteers can help create the code, translating the contents of...
Hi all, this is my first post on this forum, and i am looking for a programmer that can code my unique intra day strategy, that opens trade with 5 ema combinations and closes with stochastics . it is highly efficient,if properly followed. if you are interested kindly pm me,and i will gladly furnish
-
Hey again all, I have this code as part of an EA:    ZigCurr = iCustom(NULL, 0, "ZigZag", 12, 5, 3, 0, 1);   ZigPrev = iCustom(NULL, 0, "ZigZag", 12, 5, 3, 0, 2); I also have the bar shift ranging from 1-49 in another loop. All are giving me ZigCurr and ZigPrev as both 0. One of the bar shifts gives...
  Scalping on M1 with prediction  (63   1 2 3 4 5 6 7)
M1 Scalping Indicators: iZigZag, iKvantLevels_Variant2 Looking for the emerging local resistance-support level. (An indicator should be created! A line that draws the average of "haves" or "catches" in a certain band in points and on a certain amount of bars) ... From resistance-support We trade on
-
I'm in the middle of coding my strategy right now, and I'm about to enter the stage where I will start writing the OrderSend parts. Here's my question: Say I make sure only one order is open at a time for this strategy. If I do an OrderSend with a stop loss > 0, then I exit the ticket, what happens...
I find in this EA very useful info.He display on chart real time statistic about sell lots,buy,profit and etc.I heed help to make a little piece of universal code for other EA.I mean to display only total number of sell and buy order and current sell and buy profit
[Deleted]
HI Guys, My first day on MT4 but/and Im having a problem thats driving me mental!!! First up im using version 4 build 226 (24th March 2009) on fxcm.co.uk. Im simply trying to add a 9 SMA into (on top of) my CCI indicator. I have checked all over the web and find the same answer "drag MA (from...
[Deleted]
I am trying to trade the bollinger bounce with my EA. The BUY logic occurs when the price hits the lower bb (bollinger band). The aim is to EXIT Buy when the price crosses above the upper bb. But if the price continues to cut below the lower bb for two bearish candles, then Buy is Exited as a stop...
[Deleted]
Hello, I have seen some people make a 1 second timeframe in MetaTrader. Now, I have used the optimized period converter and I can't seem to do this. I mean, you can use the M1 timeframe and make a M2 timeframe by entering the number 2...but you can't do 1/60 to make a 1 sec timeframe. Anyone knows a...
-
  Tick volume data  (2)
Hi, I wanted to make an EA that compares the volume of the current tick to the volume of the last tick but I was not able to. When I do Print(Volume[0]) I get 1, and Print(Volume[1]) returns the same value multiple times (like 4,4,4,4,2,2,2,2,6,6,6,7,7,6,etc). How can I get the volume of the latest...
[Deleted]
  new to forex  (2)
I just placed a trade but don't see any record of it, could anyone help point me to the account details etc..
hi. i currently try to create a EA which is based on the (for me) one only thing you know in forex: the price goes up and down. -you cannot predict how mutch it will move, but it moves. and if not you dont make loss/pofit, so it doesnt matter. i am still in the very beginning of developing this...
[Deleted]
Hi; Is someone know the avarege of this example and can u explain; 1 lot long @ 1.4600 1 lot long @ 1.4400 1 lot long @ 1.4200 1 lot long @ 1.3800 1 lot short @ 1.3600 1 lot short @ 1.3200 How can i calculate my total avarage or cost with shorts and longs ? thnks
Molanis Technical Indicator Builder has an easy to use, highlyintuitive graphical environment with a comprehensive set of predefinedblocks that let you design Custom Indicators for MetaTrader 4 inminutes. No coding, programming or MQL knowledge is required. Molanis’MQL code generator transforms your...