MQL4 and MetaTrader 4 - page 1141

[Deleted]
  newbie question  (4)
my code: double a[]; a[1]=1.0; a[2]=2.0; Print("a1: "+a[1]); Print("a2: "+a[2]); it shows a1: 0.000000000000000 and a2: 0.000000000000000... what's wrong with the code? i was expected to have a1: 1.0 and a2: 2.0...
[Deleted]
Hi, Trading order page is not active, i can not make any trading, can somebody help me out. Thanks.
[Deleted]
Just started using MT4, so perhaps I am not using the trailing stop correctly... I sold EURCAD at 1.3824 on Jul 6 at 23:24 (GMT??) and put on a 16pip trailing stop (right-mouse click on trade, chose Trailing Stop, 16pips). EURCAD drops about 10pips and then heads up, to a high of 1.3860 around 8:30...
To participate in the Automated Trading Championship 2011, you need to register and submit an Expert Advisor trading according to your strategy. Read more about how to register and submit required materials in the article "How to Participate in the Automated Trading Championship 2011". Don't forget...
[Deleted]
Hello, I am trying to write an EA which places orders the bar after an Arrow from the indicator appears on the chart. The problem with it is, that there seems to be no identifiable deterministic rule to know whether the Arrow shows or not: 1) I tried to count all ticks in the last bar which have...
[Deleted]
Hello, I have tried different scripts from different forums and still can't get one to work or do what I want. I would like a script that: -Close all the opened orders even if the orders are on different charts ----> all at once! Thank you for your time, Vatco
[Deleted]
  Macd levels  (2)
Is there an indicator that tell the value of macd . I need to know if macd is above zero or below I am using macd with histogram so i would need to know where both lines stand
I am wanting to do some backtesting using data that is not from my broker and I want to start MT4 from a command line to do unattended runs. However, each time MT4 starts it asks for a log in. Normally I can cancel the login and run the backtesting as I like, but if I run MT4/backtesting from a...
[Deleted]
ITIL Foundation v.3 ,its full name is EX0-101,Exampdf offers you the best and latest study materials to help all candidates pass this exam easier.with its collection of questions and answers by certified experts and specialists who has worked for this area for a long time,you can find the questions...
hi every one... ifound a very profitable EA but it has one problem that it only works with traailing stop, ibelieve if a stop loss can be added it will be great, Since iknow nothing about programmin... ijust seek some one to add the stop loss MQ4 Commands . thank you in advance ..... plz see the...
Good evening expert traders and programmers: This seems a common enough problem, yet I've not managed to find a solution in any of the threads. After writing and back testing a few EA's I have been trying to demo test and can not get the EA to trade. I have checked and rechecked the enabling...
[Deleted]
Hello How do I change the charts period to 6, 8, or 12 hour period? Currently I see the 1,4 hours but not 6,8,12.
[Deleted]
After configurate and create a new account, I've installed mysql copy I tried to load an ea, but it doesn't load it. The error say: Signature check mismatch!! Anyone knows why that happens and can help me? Thank you very much ;)
[Deleted]
on the Interbank FX Trade 4, is there any way i can combine the stockhastic oscillator and the candlestick charts together as one chart? if so, how? thank you
On my demo MT4 account there has been no change in the charts since 1/7/11. This is the last day which is available to me. My account number is: 1232438. Any help is gratefully received thanx chris
Hi, Everybody. This is my first post, so pls take it easy on me. I have done a search on the forum, but could not find an answer to my question. Having failed to obtain historical tick data from two brokers I am using I decided to collect it myself going forward. (1 min data from Metaquotes or...
Do anyone know what data the metatrader server [my broker] gets when my expert start working ? on my client I can see all the extern variables name with them values, but it is very interesting to know what my broker see. Another thing, lets say I have champion E.A what are the possibilities my...
[Deleted]
Where is the setting in MT4 that shows me on my charts where I entered into orders? I've seen on other peoples screen shots a red vertical line that shows which candle they entered the order. I've also seen little triangles next to the candle to show at what price they entered the order. How do I...
[Deleted]
  Help me find a simple script!  (76   1 2 3 4 5 ... 7 8)
Maybe someone knows where to find or can make a tool like "trend line" but to write how many pips and pips it is drawn? Better yet, it would sum up the sum of price square and time square and extract the square root from that sum, which is the length of that line. . the square of the hypotenuse is
  MACD Revisited  (2)
The Mt4 MACD Custom Indicator (like the non-custom standard MACD indicator) draws the histogram and the signal line, and that is all. The other conventional macd signal line is missing. If you are like me, it is hard to follow/read just the histogram with the one signal line. I keep trying to...
[Deleted]
When the price is below or above the regression channel, my EA shall make a trade. But how do I get the value of the upper or lower line from the channel? I use "ObjectCreate("Obj_Reg_Ch",OBJ_REGRESSION,0,T1,0,T2,0);" for the regression channel. Any help is apreciated.
[Deleted]
I am struggling to write an EA that sends an order after the price crosses 2 MA's in one bar. I have come up with: int init() {MA_fast=iMA(NULL,0,MovingPeriod1,1,MODE_SMA,PRICE_CLOSE,1); // gets moving average MA_slow=iMA(NULL,0,MovingPeriod2,1,MODE_SMA,PRICE_CLOSE,1);// gets fast moving average 4
[Deleted]
I created an H2 chart using, v1.9 P4L PeriodCon.mq4 However, iClose (Symbol(), 120, 0) doesn't work. Any solution apart from FileOpenHistory("SymbolH2.hst"
  EA mixes BUY and SELL orders  (30   1 2 3)
Hi, I'm trying to code an EA and at some place in my code I've to update the stoploss of opened and pending orders . I'm displaying an alert with the informations about the order. When I run it, I receive a message like: "Count: 2 Stoploss 1.44705 for buy order: 46450421 orderType: 1". orderType: 1
Hello, I'm using indicator: THV (Turhovich) Trix Divergence version 4 to read the trend. I also discover how to use this indicator into my algorithm with iCustom() function. Unfortunately, there's a problem occurred with this indicator. I also attached THVTrixDiv.mq4 below. There are 6 buffers....
[Deleted]
  History of Ticks  (4)
Sorry if already answered here, but for a reason I need to analyze individual ticks for a symbol for a certain (not so long) period of time due to tuning up EA parameters. Pls, how can I get the values of individual ticks or how can I collect them? Can MQL4 export to excel? Thanks
  Click4pips  (1)
Is anyone using this ea, I can not get it to trade, or to back test on Oanda's mt4 platform. one thing I have noticed is that the ea's that work are colored blue, but click4pips is colored gray. Can anyone help me with this issue.
[Deleted]
After studying up on MQL4 for a few weeks, I decided to create my first EA. The principle is to look for a pin bar (hammer) to form within the trend (prices vs 20EMA) and buy on the open of a new bar with 2 pips to TP for each pip to SL. After some initial hiccups, I finally got the EA to compile....
[Deleted]
Technical analysis studies market behaviour. I suggest we consider the reverse: the effect of technical analysis on market behaviour. Logical proof. 1. Suppose that an investor - let's call him Investor1 - has guessed that if you buy at Moment1 and sell at Moment2, it will yield a profit of 1%
I want a stop loss order automatically open and close at a specific time. Which script is suitable ? Many thanks