MQL4 and MetaTrader 4 - page 1342

Is it possible in any way to use an expert advisor with metastock? Is there a way to reference data not in MetaTrader but another platform? Regards
[Deleted]
Hi everybody, is there anyone that can advise me on how to get a non expiring demo account? I'm currently testing some medium/long term automatic strategies, and I have to start everything from the beginning every time the demos expire, so that the results are almost useless. Regards Rob
[Deleted]
Fellow MT4 quants, I've been backtesting a sell version of a trending EA that I've developed for trading the EUR/USD on 5 minute bars . The timeframes for which I have optimized the EA and show a decent profit are 02-01-09 through 02-17-10 and 09-08-09 through 02-17-09. I was impressed that the EA...
[Deleted]
I'm working on an EA and need help with validating the next entry point. For example, if the MAs cross then I want to enter an order with certain take profit and stop loss levels (I can accomplish that part just fine). However, I don't want to enter another order on the next MA cross unless the...
[Deleted]
(EUR/USD) Pivot = 1.35948 Projected High 1.36570 Projected Low 1.35035 R1 1.36591 S1 1.35597 R2 1.36542 S2 1.34954 R3 1.37294 S3 1.34603 (U.S./JPY) Pivot = 89.96 Projected High 91.02 Projected Low 88.55 R1 90.93 S1 89.33 R2 91.56 S2 88.36 R3 92.19 S3 87.73 (GBP/USD) Pivot = 1.50978 Projected High
[Deleted]
I am really in desperate need of help... would greatly appreciate any. I am looking for Date, time and bar open and close, high, low for 5 min data for last 9 years (or at least 2-3 years if possible) for EURCHF, EURGBP, NZDUSD, EURUS, USDJPY and AUDCAD. pls help thanks (i'm willing to pay for the...
[Deleted]
I am using a call to an HMA indicator in an EA with the following statement: HMA1= iCustom(NULL,TimeFrame,"HMA",100,3,0,1,0); During the backtest I noticed a problem. Printing the values after every 5 minute bar shows large values for HMA. This is a sample result of the printout: 2010.03.07 14...
[Deleted]
Hello, I'am a beginner in MQL4 and Meta4. To orientate me in my intraday-trading I only need Bollinger Bands. My question: Is it possible to write a little feature in MQL4, who shows me all Averages of BB from different timeframes in the open frame? Example: Open is M15, in this frame I can also see...
Situation. You got your triger conditions saying trade just one last thing to check is the ask value or spread higher than normal? Reason for asking All of the code I have read uses the retrieved Ask value in the function Ordersend() Task Instead of using this ticks current Ask value would it be...
SELLING THE HOLY GRAIL . STRART PRICE OF 1 MILLION. DOL. FROM AUCTION. I retain copyright on the trading system and modified versions, as well as 50% of the profits from its use! No right to distribute! All interested please state your demands for what you would be willing to accept such
What is the maximum number of EA strategies you are allowed to run on a single chart and/or currency in MT4? I want to bet different timeframes and strategies per instrument. I was backtesting when I noticed my MT4 provided me with a dropdown menu of only 15 instruments available for me to backtest!...
[Deleted]
Hello. I am trying to trade a stock index CFD using a real stock index as a signal . But my MT4 does not quote the real index . Then I found a software called "Multi Quote Server". http://www.mtiqs.com/en/index.php It quotes a live data from other data feeds to an offline chart of MT4. I set it and...
[Deleted]
i am a new to MQL4.I wanted to send an automated buy trade whenever upper arrow comes and sell whenever down arrow comes Will it be possible to help me to develop an EA based on the following indicator? https://www.mql5.com/en/code/9276
Hi everone, I've started writing my first EA. It contains (although somewhat simple, yet still effective) money management, stop-trailing features and a simple trading criteria I added for testing purposes. (2 MA crosses). However, when I test the code, for the first 2 order it works ok, but later
  Programming this EA  (22   1 2 3)
I have an EA idea that may be good. How I would go around creating it, I don't know. Criterias: 1) Instead of betting big and risk losing large sums of money, I want an EA that bets small size lots only. REASON: Betting big will only tempt brokers and bankers to hunt your stoploss. They know your...
Hi guys, I'm just a beginner learning how to write indicators and EA, Now I'm trying to make my own by changing some scripts and parameter of the panca-eagle breakout indicator, but I'm now stuck since I don't know how to make the rectanglar boxes drawn through 00:00, I would like to set the time...
[Deleted]
Could anyone please create an EA for the following system. I have attached the indicators as well as the instruction manual for this system. Thank you. ============================================== Chart Setup: Zigzag (MT4) (15,5,3) Zigzag1 (custom) (100,75,15) Zigzag2 (custom) (34,5,3) Entry Rules...
[Deleted]
Here it is. I know the brackets are all messed up. 1. This EA does not modify trades but closes them when needed. 2. It can be attached to any chart window with an existing open trade. 3. The parameters are adjustable and defaults are as follows. AT 10 it starts trailing at 7. Till 12 it...
[Deleted]
I am working on a simple EA but I get the error 131 and this is because of the variable ultimul_lot in the function OpenOrder where I make: ultimul_lot*multiply_lots; ultimul_lot gets the value 1.#INF but I do not understand why... The ideea is that if the last trade was not profitable it will...
[Deleted]
Hi All, I would like to know if there is a way to retrieve accoumt email within MQL code (just like you can retrieve account Id using AccountName() ) ? Thanks
Hi people! I'm new to this programing Forum! I've been looking for a script that alerts you when pin bars appear on a given time frame by sending you an e-mail, but couldn't find anything about it. I'm not into programing so I was wondering how difficult it could be to build a script about it. I...
[Deleted]
dear all, how i can restarting MetaTrader Application from EA ? give me the code sample .. thanks
I hope its ok opening a post for this. Can anyone point me in the direction of and EA that simply opens a buy position at the end of a bar if the bar finished high and a low position if the bar closed down? The closest I got was the attached file - but it doesn't work? Cheers
Hello folks. I have been researching Indicators and am very impressed with how well this " Fisher " Indicator works. The problem though is it seems to lose its mind on some of the charts you attach it too. Is there another version of this Indicator out there or a script to refresh this Indicator
hi, i'm garnet i'm newbie, can u help me to find indicator like: monitor 1.02 fibo123 web, barrage grid,hand made,Murrey +Zigzag by rosh pip ( picture in picture) by phy daeng indi open trade analysys channels news reader indi multi indi and multi info
[Deleted]
Good evening. In my first EA I used the OrdersTotal() function to check whether there are open orders or not: if(OrdersTotal()==0) DoTrade = 1; if(DoTrade == 1 && (TipoOperazione==OP_BUY || TipoOperazione==OP_SELL)) { [code to open 1 order] } But when testing it I found...
I have used Pitchfork coordinates to calculate the middle point (4) of the 2-3 leg. Th code is simple: t1 = ObjectGet(name, OBJPROP_TIME1); p1 = ObjectGet(name, OBJPROP_PRICE1); t2 = ObjectGet(name, OBJPROP_TIME2); p2 = ObjectGet(name,...
[Deleted]
  Firebird-Maestro  (2)
Hi, I am new to this forum as well with Forex. I have MT4 and I have firebird as a mq4 and maestro as ex4. When i start the EA the terminal experts box says: 10:25:12 Compiling 'MACD Sample' 10:25:12 Compiling 'Moving Average' 10:25:12 Compiling 'Accelerator' 10:25:13 Compiling 'Accumulation' 10:25...
  Micro-Lot EA  (1)
Hello, I've an EA that's based on Multi-lot Scalper and I want to make it trade for micro-lots "0.01" The problem is that it start the first trade successfully but when it comes to take the second trade, it doesn't respond though it works well for lots "1" and mini-lots "0.1" quantities. I wish...
[Deleted]
Hi, I am a newbie MQL4 progrrammer, i need a function like : double get_hightest("EURUSD","2010.03.05 16:30","2010.03.05 17:45"); and returns the price. If anyone help me i'd be appreciated. Thanks in advance.