Download MetaTrader 5

MQL4 and MetaTrader 4 - page 729

To post a new topic, please log in or register
Hi, all Searched the forum, didn't find such an EA that can monitor/watch multiple magicnumbered trades. that is, this manager EA can watch/handle multiple baskets of trades placed by various EAs (thus there will be multiple magicnumber to pick up by this manager EA). Steve's MPTM seemingly can only...
  Trading Black Swans in Forex (75   1 2 3 4 5 ... 7 8)
What is a Black Swan : A Black Swan is an unpredictable event that carries massive consequences. In the market a Black Swan is a long term trend that can either bring you big profits (if you go with it) or put you out of trading (if you go against it). I was first introduced to this concept when...
  EA stop times (5)
The EA automatically stops running after sometime. How do you keep it running continuosly? In my case it stopped once at 3:05 PM ET (USA), and at another time around 8:00PM ET.
  no connection (6)
Hello! Can someone tell me why i can't get connection to a server. I opened a demoaccont and got my number and the key, but know i see only no connection. I checked firewall and router, but nothing happened. What i can do?
is there any way to do this? i need at least the last (already formed) number of a histogram. green is value 1 and red is value 2 - i need the last bar always as the one being formed can switch between the 2
Dear Friends, Need some help on coding this simple indicator to draw a line between 2 specific time at Close price M1 ( as per pic attached ) Here is my preliminary code, I know there is something WRONG with it. Please help me #property indicator_chart_windowcolor    Trendline_Colour  =...
Hello. Can somebody write a pointer to draw an average value of four different types ofaverages? For each set of different values, calculation methods, etc. For example: The first average: Simple MA, 14, Close, Second: EMA, 20, Open Third: Smoothed MA, 44, HLC / 3, Fourth: LWMA, 60, HL / 2, It's...
Hello guys, could you tell how to insert more EMA's into MACD? Cheers Jiri
See image, where is describe it. ???
I just started using MT4. Common sense tells me that a MA can't begin at the very first bar available. If it is 200MA, it should not be shown for the first 199 bars. I inserted a rainbow of averages, and all of them start from the same point. See the attachment. Does it make sense? gm
Inscribe shows,how to get the last but one's balance or accountfreemargin?I wanna compare the lastest accountfreemargin with the previous one's value,that could help me confirm lot. Guru show the method and process would be more great appreciation!!
Hi I'm experiencing troubles with formulating the order condition to open trades. condition 1) open long when the previous candle opened below a MA and the current candle opens above Sometimes a position is opened even though the previous candle's open was not below the MA (condition not met)....
For example, if the last order type is to close an order or opened a order,etc, thanks.
  Orders Closed (2)
hello i need a script For close my All open positions when All open Positions P/L is +x $, But I Want it have very fast speed, insomuch i have some time over 500 Open positions and Must Close all on some seconds, it must when the open positions P/L is +x $,turn off the all Expert adviser and close...
Hi I am new to this and have just downloaded and installed metatrader 4. I have set up a demo account but I cant seem to place any trades, also when ever I open a new chart i would like it to open in my settings how do i make this the default. Is there anywhere I can get some help with these...
Hi, I want to display horizontal and trend lines description on chart, is it can be done ?
trying to convert some easy language code to mql4, anyone know if AbsValue(Error) in easy language would be the same as mathabs(Error); in mql4 ?
hi I am not able to find a pivot indicator that will allow me to do what I want. I hope someone can point me in the right direction. I wish to be able to put daily, weekly and monthly pivot points on my charts, but not have the S + R lines, or at least be able to colour them so that they are not...
Dear Forum Members, I am trying to call iFractalEx.ex4 indicator from another indicator so that it alerts me when it returns a down arrow (indicating a Sell) when there's a fractal and rsi value is greater than 50; and also alert me for a buy when there's a fractal and rsi value is less than 50; I...
How come in the Strategy Tester, the code below: double the_high, the_low;the_high = round(iHigh(symbol, PERIOD_W1, 0));Print("high: ", the_high);the_low = round(iLow(symbol, PERIOD_W1, 0));Print("low: ", the_low);double round(double val) {int decimal_precision = 5;return(NormalizeDouble(val,...
Hi! I have a pivot points file to the meta trader and i want to know according to what time setting the pivot were defined. I tried meta editor but i couldn't understand that from there. I attached the file. I want to know according to which time zone and which start and end time the pivots were...
  Not Connected (1)
I have just signed in to Meta Trader 4 and the candlestick chart i was hoping to set up says "Waiting for Update". Then I notice at bottom left it says "No Connection".I am connected or you would not receive this !Any help very much appreciated.Thank Yousaltydog
Hi All, Does anybody know how to code an EA, custom indicator etc; to be able to run a sequence without having to wait for the next 'tick' in start()? In its' simplest form let's say a horizontal line was added to a chart - grab the line and move it up and down the chart and produce an instant...
Especially in forex currency online trading self discipline means being able to say no to a tempting short term profit for the sake of a much more profitable long-term gains. You need to have a clear vision of the goals you want to achieve. Instant gratification is not always the best choice, at...
I don't quite understand it's mean when we talk about indiater like solar wind or other indicater,anybody can explain it to me,thx a lot~
I am still somewhat new as a programmer of MQL4. Even though they usually are not profitable, I have wanted to make an Oscillator type EA. One in which is always in the market either Long or Short. I decided to give it a try. As I expected it doesn't work, or make any trades. I KNOW it needs more...
Got one of my EAs' going last night but I just can't seem to make enough profit! Bars intest 3867992 Ticks modelled 37210107 Modellingquality 25.00% Mismatched chartserrors 0 Initial deposit 10000.00 Total net profit -3442.41 Gross profit 3070.79 Grossloss...
I know I cannot Delete Pending orders unless they're not within the Freeze-Level. I know I cannot Close Market orders unless they're not within the Freeze-Level. I Also know that I Can close market orders at Break-Even after a certain period of time. I find allot of conflicting information about...
Please somebody tell me why my EA does not open position when there is an active trade by another EA running on the platform. Even when all the conditions for it to open position are met. please, I need your help.
Hi, I need to obtain the distance from the last fractal, but I seem this code doesn’t work. Could you help me? Thank you! int start() { int u, Distance ; for(u=Bars; u>0; u--) if (iFractals(NULL,NULL,MODE_LOWER,u)>0) { Distance = BARS - u ; break ; }...