MQL4 and MetaTrader 4 - page 848

[Deleted]
  Finding my ID  (3)
Hi, how do i find my MetaQotes/MetaTrader ID? the instructions (Tools>Options) say it's located at Settings>Messages can't find it thank you Randy
I've been setting my stoploss and takeprofit based on price volume.So I created this indicator that determines the high and low for some number ofbars and uses that spread to place two moving horizontal lines indicating wherethe stoploss and takeprofit will be if a trade is opened. I think it helps...
Hi all, I'm trying to recall the closing time for the last order executed on the account for a certain currency. What do you think about this code? Thank you! total_history = OrdersHistoryTotal( ) ;    for(cnt=0;cnt<=total_history;cnt++)     {     OrderSelect(cnt, SELECT_BY_POS, MODE_HISTORY);...
[Deleted]
Have you ever heard about the site http://www.forex-einstieg.de or something like that? As far as I know, if you look for German brokers then you will get help from this site.
[Deleted]
Hello. I have no idea if this is the right Forum, or if this has been asked before, but I am using the latest build of MT4 and there is NO WAY TO KNOW WHICH TEMPLATE YOU ARE CURRENTLY USING. Can't believe this has been an oversight for SO long, please, in the next build, have this info somewhere,...
[Deleted]
  OrderSend() BUG  (2)
Hello, is it possible that there is a BUG in the OrderSend()-Function? For few weeks the OrderSend() doens't work correct. When I have a SL in my OrderSend(), the EA doesn't open the order, but when I set SL to 0, then he opens a order and I have to modify the order with OrderModify(). Why?...
ı did a indicator and ı need to use it in my EA. ı know there is iCustom code but ı didnt understand to use it please help me .
Dear all, I would like to know, if I put entry condition in an indicator and put order execution in EA, is it still able to perform backtesting for this system? If yes, how? Thanks for your kind help. wing
Hi everyone, I am looking for the simplest code in order to get the daily Highest/Lowest value of an indicator. For example we run CCI indicator with CCI_Period=12. This indicator has many picks as lowest or highest value in a day. I am trying to get this values in order to compare it with other...
[Deleted]
As you see on the picture the green line is over the NULL -Line, but the indicator repeats negative values (by mouse-over). May be I have to restart my MQL4
[Deleted]
  problem with Big in start()  (12   1 2)
Hi,I'm so new to MQL4. I wanted to test this sample code that is in toturial : -------------------------------------------------- int Count=0; // Global variable//------------------------------------------------------------------- int start()...
[Deleted]
Hi is there a way someone can change the background of the performance chart that is generated when you generate a report from mt4(not the chart in the symbol window).
In an indicator, I'm trying to modify the fibo description of a fibo object I created. The code to create the object works fine: ObjectCreate(objFibID,OBJ_FIBO,0,Time[HighestBar],High[HighestBar],Time[LowestBar],Low[LowestBar]); "HighestBar" and "LowestBar" are integer variables. After a couple...
Is there any way to programmatically retrieve the name of our EA?
If I make a trade using OrderSend() or OrderClose() then want to look at the number of lots or execution price on the ticket, do I need to make a further call to OrderSelect to get this ticket, or does this happen automatically? Eg if I call OrderSend() then OrderMagicNumber(), is the magic number...
[Deleted]
I want to sendorder on the 5 minutes' duration use this bar's open price, how I can do? The condition will true in the pre-bar. Sorry for my english... Thank you very much!!!
Hi, I've been looking for a custom indicator that identifies divergence between price and the OSMA, to help compile a simple EA based on osma divergence Is there already a custom indicator that does this? Any help will be much appreciated! Thanks
Hello! I'm just trying to add an email alert to this indy similar to the popup alert box, but I"m getting an error (highlighted in yellow below). Could you please help me to correct the 'wrong parameters count' error message in this indy when adding the email alert?...
thank you i can not search file .mql4 thank for help
[Deleted]
Could someone please tell me why I can not access MB Tradings website and utilize the MT4 software which I have downloaded? It is Tuesday 07/17/2012 at 20:56. I would truly appreciate a helpful response. Warmest Regards, Jen
  Demo only EA  (6)
Many of the EA's available for purchase offer a demo mode only or strategy tester only mode for "trying" out the EA. Will someone please provide the code for allowing a EA to run in demo and/or strategy tester mode only? One additional question. I purchased one EA when I first began looking into...
Just wondering if this would pose a problem, as it compiles, but I don't believe it will work. string BuyOrSell = "Both";int intOrderType;if(BuyOrSell == "Both") intOrderType = OP_BUY || OP_SELL;
Hello Everyone! I would like to use DSP analysis in MT4, actually i do it in MATLAB, but i would like to know how to program with complex numbers (real and imainary) in MQL4 and i don't know how to do it. How can i program using complex numbers in MQL4??? I hope you can help me My best Regards!!
[Deleted]
Hi, I am new to programming but not new to trading. I have 2, probably, basic questions for now, please: 1. In many indicators using MAs I see lines checking for howmany bars are on the chart. So, if I need MA200 and the chart only has, say,100 bars, would iMA200 work then? I think yes - I checked...
The IsTesting() function returns TRUE if the EA can do BackTesting and FALSE if not. But how is the capability of the EA to do BackTesting implemented and controlled?
hi i need company with above details and not scam :)
Hi, For unknown reason when I run this offline chart, the EURUSD has 4 decimals only and make my program calculation not correct as 'Points' is 10 times more now. I copy all history files to another PC and the chart looks ok with 5 decimals. So how is this determined and where is it stored in a PC...
I am working on a EA and I want that if my EA does double mistakes, stop for a time. what can ı doing about this.
  Your opinion please  (59   1 2 3 4 5 6)
Hello! I would like to know what you think about this "strategy". We open trade (buy or sell it is not important) without TP and SL. Then if we get to profit we previous chose we close order if it gets to loss we previous chose we open opposite trade with bigger lots. Then if second and first trade...
#property indicator_chart_window #property indicator_buffers 6 #property indicator_color1 Aquamarine #property indicator_style1 3 // 'Arrow' #property indicator_level1 233 // SOLID UP Arrow #property indicator_width1 5 #property indicator_color2 HotPink #property indicator_style2 3 // 'Arrow'...