MQL4 and MetaTrader 4 - page 375

Hi,  I’m brand new to mt4, I’ve coded a EA without warning or error and I go to test it but I don’t see any input tab in Expert properties.  What could be the problem?? Thanks for any help!
Hi All, I am trying to get the outputs for the Heiken Ashi indicator on the previous candlestick but I was unable to find a method that was clear to me. What I am attempting to do is determine a shift in direction, by checking if the current Heiken Ashi candle colour is different from the previous...
#property copyright "EquityHedgeGraph - by transcendreamer - origins from Xupypr"// building two equity graphs, one vs another, to seek hedge opportunities visually// each graph may represent a single instrument or a lot-adusted basket// spreads and swaps are not counted// Total = Side_A -...
Is there a way to recover the pop up alerts when mistakenly closed?  (MT4) Thank you
Hi, I really have a question for technical support, but as MetaQuotes don't  deal directly with clients and link them to this forum I am posting here. I am hoping someone here can help shed some light on this as my broker is unable to help with technical issues relating to MT4. And to pre-empt...
Hi All, I have the following code to insert a down pointing arrow in my chart    string fibo_max=StringConcatenate("FiboMax");   bool high_value_arrow=ObjectCreate(0,fibo_max,OBJ_ARROW,0,date2,highest_value);   if (high_value_arrow)   {   ObjectSetInteger(0,fibo_max,OBJPROP_ARROWCODE...
Hi guys, Is there a way in MT4 to send several orders at the same tick time without waiting for each order to be executed.. I mean market orders, not pendind conditional orders.. THANKS
this ea closes all open trades on all time-frames. Just put it into any time-frame you have currently on the screen. Very helpful when you don´t want to close all the trades manually. hope it will help.
The signal I am subscribing suddenly became not connectable since this week (5th Aug 2019). The trades are still carrying on on the signal's page. The message "Signal - connecting to signal server" is just repeating in my journal. The other signals I am subscribing remains fine. I have contacted the...
Hi, first time posting in here. Can someone tell me I where I am going wrong on this EA as I cannot figure it out.  This would be a great help to my learning to code.   EA should be marking SMA cross over but is not. I cannot figure it out.#property copyright "Copyright 2018, MetaQuotes Software...
Hi guys, Forgive me I've just started coding in mql4 last week....I have also tried searching the forums and reading the reference materials but am so confused. My question is: How do you change the source of a moving average to be something other than 'PRICE_CLOSE'/'PRICE_HIGH' etc. For example
Hi , I am working on this indicator with the goal to multiply the RSI value with the (body) size of the current candle (or the equivalent of what was the current candle for the previous bars). It works in mt4, but when I add property strict the code still compiles but no longer outputs the buffer...
Hi all I have modified the below MQL4 code so I could transfer values from MT4 indicators to excel and I am struggling to obtain values from this indicator Casino_HAS_PIN_v3 which I have attached because it keeps putting 2147483647 in all the cells. I would be grateful if anyone could please help me
Good moring, I'm trying to trasform my EA in a Grid system. My EA opens sell and buy orders but I'd like to ass some code to do this: -EX: I had some orders opened on EURUSD sell and buy. I'd like the EA close all orders when a certain level of profit is reached (suppose 1€ of profit) Can someone
I would like to open an order at the price of the close of the previous candle, is it possible to do that in some way? When I try to do it, mt4 gives me error 138 which means that "the broker replied with a “Requote” signal to your expert advisor’s OrderSend() function. That means that the price...
My vps server restarted and upon booting up the text on my computer changed, desktop icons became smaller and worst of all MT4 resolution is now crap. Any ideas?
I am currently implementing an EA that pauses after it has closed a position, and the code is down below: if (OrdersTotal() == 0 && TimeCurrent() >= OrderCloseTime() + 1200 ) {            if (iRSI(Symbol(), 0, 14, PRICE_CLOSE, 0) <= 30 )                ticket = OrderSend(Symbol(), OP_BUY, 0.01, Ask,...
I am not very familiar with coding I have a script to force open 2 position or make 2 pending order on certain price Problem 1 : I can't use that script on broker with suffix, eg : eurusdb. That script make looping, so my position become more than 2. but i can use on broker with symbol like, eg :...
I'm experiencing the problem of 'echo' when placing an order... I try to set one stop order but the EA always set a lot of orders... Very weird. I assume it will be the fact that the ticks come very quick after each other and there needs to be some kind of delay after placing the first order, but I...
I have developed this indicator which generates Arrow buffer... i want to check if last buffer call was before 5 candles ... see my attached screenshot... what i want is to check if previous generated buffer was > last 5 candles... how do i check that
Hi, I'd like to test an own expert advisor using several timeframes. Parameters would be: Shorter_Period = (ex.M15), Longer_Period = (ex.H4). So the strategy will run through all of the periods between. So then, we're going to consider this is for example applied to MACD indicator: double...
  System Sync  (1)
This systemwill give you profitable signals on any markets. It works on alltimeframes. You will need the free MetraTrader 4 software and copyall the following indicators and templates into the software. Youwill also need the free QChartist software. We will buy dips onuptrends and sell peaks on...
I have been coding and realized that at some points the Highest High of the time periods fluctuate in interesting manners.  To make my question more understandable:  double d1highest = High[iHighest(_Symbol,PERIOD_D1,MODE_HIGH, PERIOD_D1, 0)],   //The Highest Point that the price has reached in the...
Hi everybody, Please , I need your help. How to read Atr value in Pips? For example on USD/JPY I see : Weekly ATR value = 1.3931 Daily ATR value = 0.7832 What is ATR value in pips in each case? Thank you in advance
I've been programming and testing strategies in my spare time just for fun, but lately a problem with MT4 has made it impossible. When I run a backtest, change the parameters, and run a backtest again, the second backtest frequently uses the parameters from the first one and so it gives me the...
hi sorry i need a help regarding mq4 code, i have a problem with the arrow of an indicator, it always appears before the candle closed (i mean like appear and dissaper till the condition met). i have set to appear when the candle closed, but it's not work. all i want is only appear after the...
Thanks in advance, I have two questions about one-click-trading window: 1. Is it possible to open and close the one-click-trading window from an EA code? 2. Is it possible to modify the volume on the one-click-trading window from an EA code?
[Deleted]
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...
I have a 3rd party indicator which generates alerts. I don't have access to its code. How can I create an EA which trades from these alerts?
Hi friends. I hope you are enjoying a good day. I found an indicator from the developer Kaleem Haider from this link (https://www.mql5.com/en/code/15563). I find it helpful to my strategy. When I want to make an EA based on my strategy and this indicator, for Buffer Index number I have a problem....