MQL4 and MetaTrader 4 - page 984

To post a new topic, please log in or register
Hi all, Is there an MT4 indicator to show the spread from the high and low of a single bar at a glance, maybe on a right click? Thank you all for your help, Pedro
I have been trying to get this indi to give me an alert with pop up, somebody on another forum tried to add the alert but it still has a bug. Here is the source code #property copyright "Copyright © 2005, Yura Prokofiev"#property link "Yura.prokofiev@gmail.com"#property...
Gann_HiLo_Activator_v2 writes a comment to the chart on the top left ---- HiLo = Bid() where Bid() is replaced by the current bid price. I don't have the source code for this indicator and the comment isn't showing up in the objects list. How can I retrieve the value of this comment?
Hi Guys im using this to calculate my lot size,any one know why this set a big lot size on mini account?? double lots = AccountFreeMargin() * Risk/100 / ( StopLoss* MarketInfo( Symbol(), MODE_TICKVALUE ) ); I want to calculate lot size by using stoploss and risk parameters Plz some Advise Best...
Hello, Is there any other way to see whether our last EA trade is profit or loss other than : string last;for(int i=OrdersHistoryTotal()-1,i>=0,i--) { OrderSelect(OrdersHistoryTotal()-1, Select_by_pos,MODE_HISTORY); if(OrderSymbol()==Symbol() && OrderMagicNumber()==magic) { //for buy...
I have a quite successful system for GU H1 (a trend follower) but trades are quite rare (2 a week). I would like to move it to the lower TF, let's say M15 so it trades 2-3 times a day. Scaling down parameters is not enough and probably I need some extra anti-noise filters. System in current shape...
Hi all, I came across a order entry management software called 4xspinner (Google as I don't know if links here are cool) and they require you to add your MT4 account number for licencing purposes. Given my live account number makes me think twice but they don't have my password so I think this is ok...
New article Checking the Myth: The Whole Day Trading Depends on How the Asian Session Is Traded is published: In this article we will check the well-known statement that "The whole day trading depends on how the Asian session is traded". Author: Игорь
Hi, can someone advise me how to take the values of the leading Kumo in Ichimoku? I can take the current values but I don't know how to take the values that are shifted 22 periods in the future. Look at this: double SSA=iIchimoku(NULL, 0, 7, 22, 44, MODE_SENKOUSPANA, 0); double SSB=iIchimoku(NULL,...
Hi Every body, little help needed just im usign this to find a high/low iHighest(NULL,0,MODE_HIGH,BarsHistoryCount,1) or .... any one have any idea to find a better high/low (previously)? BarsHistoryCount is always changing, i need a better way to find previous high/low specialy on TF-5min help plz...
Hi, I am using an MT4 using ibfx as my broker. The data at xe.com seems a little different. My eurusd trade would have been closed if the data was that of xe.com. I am asking therefore your opinion or your knowledge on these differences in data feed. For sure, it makes the EA perform differently....
Does anyone know if there is a way to get the messages sent to the "mailbox" in metatrader forwarded onto a "real" e-mail account? I have asked my broker(MIG) and they told me there is no way to do this! Any help or thoughts would be appreciated. Thank you forum......Daniel
i i have the best ide to make an ea thats look on a template only grean for up trend and red for down trend this ide will be millions worth i thnk. more about the ide will come but the ide is so good i think it will get both me and you rich. is ther any out ther ther is good to build a script or an...
  Problem with OrderClose() (14   1 2)
Hello guys, I am quite new, and i have one very unusual problem with funciton OrderClose. When i test my strategy with simulation, everything works OK, but if i try to strat EA on real time trading(DEMO trading of course :)), the expert opens new and new position and doesn't colse previous orders,...
Hello guys, i have an EA that does not close trades when the opposite parameter is met. Need help from programmers on what i should do. Thanks guys.
Hi, It is my first post and happy day. I would like hide some selected error (error 0 & error 1) for displaying some other errors only, for example: error 3, 130 and 131. Anyone has a function for this ? Tx for help.
I'm trading using 3 Moving Averages (5, 13, and 50). The 50 Moving Average is my trend line and the 5 and 13 are my crosses. When the 5 Moving Average crosses over the 13 Moving Average (or vise versa) I'd like to enter the trade in the direction of the 5 Moving Average. My issue is that when the...
/////////////////////////////////////////////////////////////////////////////////////////////// void TIME_DEL() { for(int i=OrdersTotal()-1;i>=0;i--) { if(!OrderSelect(i,SELECT_BY_POS,MODE_TRADES)) continue; RefreshRates(); if((OrderType()==OP_BUYSTOP)...
Is there any way to back up those setting i have set for my hotkey for the script. For those indicator, script and EA, i just copy and do a back up, whereas for hotkey, any way to do it? Thanks
Hi, I would like to know is it possible to run EA forever until press the "stop" button ? It is found that : when I run the EA, it just run up to current moment. What I expect is .... as the time goes ..... it would continue to run .... until I press the "stop" button ..... is it possible ? how ?
When I use this way of closing opposite orders in my EA, and the value of two orders does not match, then a new order will be placed by the broker with the difference of values of previous two orders. Eg. Order1 - Short, 2 lotsOrder2 - Long, 3 lots OrderCloseBy(Order1, Order2); // https://docs.mql4...
I want to create an indicator trendline based on two point (one - the highest price of tomorrow and another the last price of tomorrow). Any indicador similar to suggest ? tks.
I tried searching for this but couldn't find it here. So I thought I'll try asking. Is there an EA for managing open positions to reduce risks? Something that does conditional stop adjustments. Like a smart trailing stop. Thanks!
I have downloaded the attached indicator and like to have some suggestions on how to create a signal out of it to program an EA? On the chart you can see that the indicator draws an arrow on a cross of the signal line. It is this signal that I need. Any ideas? Thanks in advance.
Forex trading is very risky business, most of the traders have been losing money at the first start. That is why experience always advised new comers to trade only if they have excess cash or portion of their savings. But there is a way you could Secure your capital, How? The answer is : your must...
I am looking for an EA that will monitor my open orders and automatically place an order for the exact opposite of each trade that is placed. I am using an EA with good results and I want to test some additional strategy. Any assistance is greatly appreciated.
Be careful they are not all trustworthy...watch your $$
Hi all, I wondering if there is a MT4 indicator that shows western bars over Japanese candlesticks or vice versa at the same time, something that overlays each other? Thank you, Pete
Trading manually works well for me, however in trying to automate I am running into an issue. If I use the simple Bands indicator and convert the MA calc to MovingBuffer[i]=iMA(NULL,15,BandsPeriod,BandsShift,MODE_SMA,PRICE_CLOSE,i); I can not seem to get similar numbers if I attach it to a 5...
Hi everyone, I am getting this error with MT4 when i want to set limit for examples below price sell limit or above price buy limit. I tried +100pips +10, 20pips above/below and it did not work. Why? Cheers.