MQL4 and MetaTrader 4 - page 842

[Deleted]
Hi, I am attaching the MQ4 file here please check and help me out to resolve the error ... I request experts to check this error and solve it for me <DECOMPILED CODE REMOVED>
Hi, Is it possible to get the crossing of two lines of two different indicators ? I would like to get the crossing of stochastic and standard deviation. There must be a way as the lines do cross on the screen. I know how to do it with stochastic/rsi/wpr or ma's etc. but this one got me blocked. Any...
Hi Forum, I wanted to print some comments on the left side of the chart but the chart is sometimes overlapping the text and make it unreadable. Therefore I wanted to hide a part of the chart by using a black object. I tried it with a rectangle but it seems to be that the rectangle is always...
I find that the existing MQL4 tutorials and texts and reference material are fine to read through to learn about MQL4 by topic and aspect, but are not at all well structured and laid out when one is writing an MQL4 program and having problems there. i.e. they are not very useful to refer to by...
  confirm a trade  (4)
hey, I'm occuring a persistent problem here with my eas, the mecanics within them is working perfectly as I want but I wonder how to actually make it confirm that it really took a trade or close a trade before continuing on it's way. is there anything I could do because it freneticly takes several...
Hi, I use a script which needs some DLLs to work. Every time I use it, I have to confirm that importing DLLs is allowed and I have to de-select that every single DLL call must also be confirmed. So I would like to automatically have the green activated and the red deactivated. Is that somehow
I need help, I have problem with the 509 version of mt4, I try to uninstall completely because I have a bug, but when I download mt4 again, the same problem appears. The problem is on mt4 account history - the save as detailed report- detailed report not appears. The other problem is that when...
I'm trying to find an indicator or EA that would calculate the difference between the order price and the stop loss/take profit in the deposit currency as well as in pips. I'm also looking for code that would show how when I move a line on the screen, the value is "picked up" by an indicator or EA...
//top // if(Close[i+Time2]<Open[i+Time1]){ if (V2< Close [i+Time2]){ sObjName= "FXPTlblUpAr2" +i; ObjectCreate (sObjName, OBJ_ARROW , 0 , Time [i+Time1], Low [i+Time1]-ArrowSpacing2*Poin); ObjectSet (sObjName, OBJPROP_ARROWCODE , 241 ); ObjectSet (sObjName, OBJPROP_COLOR , OpenTxtClr2);
Hello forum After applying a moving average to another indicator in the separate chart window and seeing the value of this. I now want to calculate the value of that moving average of the other indicator to use in an idea I am working on. But I need help with a couple of newbie questions. What is...
Hi, In my real account, there used to be arrows on chart: 1, if I have an order and a stoploss for that order, there will be a loss value in $USD if mouse hovering on the stoploss line on chart; 2, if I've closed some orders, there will be arrows and linking lines for/between open position and...
//+------------------------------------------------------------------+//|                                                   prvolalert.mq4 |//|                        Copyright 2013, MetaQuotes Software Corp. |//|                                        http://www.metaquotes.net...
I am quite happy to comply with the norms and rules of this forum so as to benefit from using it. With regards my recent post of fix my custom indicator program - I do not know what and SRC button is or where etx. Can you help me here? In my message I very clearly state how and where the code can be...
Hi guys, I´m very frustrated because my Sleep-function doesn´t work. Everytime my system open a pending order, and I only wnat to open one order, it opened more than one order. Why does the Sleep-function not work? //+------------------------------------------------------------------+//| A4.mq4 |//|...
  small help  (3)
Hello Sir, i want change PIP for Buy Stop and Sell Stop when entry oder, now it is 100 poing, i want < 50 poing. help me or guild me here is script https://www.mql5.com/en/code
Hi Forum, can someone tell me how to populate the array correct? I only get zeros as a result of test[i]. int init()  {   int test[];   for(int i = 1; i<=10; i++)   {      test[i] = i;      Print(i," , ", test[i]);   }   return(0);  }
Basically if u use normalize double it rounds the decimal to digits, and it seems like this would not be acceptable to the broker. slippage is already a factor if the prices change.. I was looking at an include from IBFX that you can see here, that rounds the ask and bid to close the order void...
maybe it can get good result on many pairs or many time frames in one pair? or other some situation?
The data for test from two ways: the first one: we down load data from internet and import these data into MT4 and do some period convert; the second way, open the pair chart, then zoom out, and then just go to see the leftest bars, at the same time, the data will be download automatic. my question...
I have made an EA which call an indicator. when I test it on strategy tester, it is ok and in the journal we can see all the information about when and which price the order open and close. If I add the "Print();" in EA, after test, in journal I just see the content which is printed by "Print();"...
[Deleted]
I have yet to find a post where someone shows a step-by-step guide to getting the sendmail to work. I have tried using many different smtp outgoing email sites...but they all seem to use SSL or something because they all fail to connect. If anyone out there has been able to get the email to work...
Is there any Good profit making Indicator? or don't't five any false signals? Regards Jubaer
[Deleted]
I can't load the indicator into CodeBase for some reason, so I'll post it here This is a digital filter based on the Fourier transform and filtering of the resulting spectrum 1) a phase shift by a specified number of bars is performed 2) unimportant harmonics are discarded. extern double n=9;//set
I am looking for help from someone who can code the above indicator for me in MT4 (I suck at programming). The indicator is available in Metastock and I need it for my forex trading in MT4. This link will take you to the article where you will find the Metastock code and commentary: http://www...
[Deleted]
I am trying to use the iMA function to return data back to an EA I am writing. However, in the Moving Average indicator, I am using Levels to paint lines on the chart. I want to get the data from the Moving Average using Levels. What exactly are Levels? It is not a bar offset, because you can...
Hi, I use a scanner in a dashboard-style like you can see in the attached image. It scans for Pinbars in all currency pairs in all timeframes. A red dash means that the last bar was a "Short-Pinbar" (long upper shadow), green means a long lower shadow. Now I would like to replace the Pinbar-Check...
  How long can a tick be?  (15   1 2)
Hi Is there any maximum time a tick can last before a new one comes up? Is there any difference if having timeframe M1 then H1, does a new bar count as a tick?
I ask this question just because I have test it; and sometime the indicator was shown on chart, but most time, not. So I don't know why.
#property copyright "mankin"#property link      ""#property indicator_separate_window#property indicator_minimum 0#property indicator_maximum 1#property indicator_buffers 1#property indicator_color1 Blueextern int Number_Of_Bars =40;double Prob_calc[];double MA[];double...
How to read a .txt file, if it's even possible, character by character ? Or if its not possible then by separated characters with 1 space.