General - page 1379

To post a new topic, please log in or register
Is there any way to tell from an expert advisor whether the "Short", "Long" or "Both" inputs are set, or is isTradeAllowed() the only available function to find out what trading is allowed? I'd think that either: bool isShortAllowed();bool isLongAllowed() or #define TRADE_SHORT 1#define TRADE_LONG...
My MA Cross expert is not working properly. I am using MT3 and there should be 2 arrows appearing on the chart with every cross: 1 for closing the previous trade and 1 for opening a new trade. Sometimes it will just open short trades, other times just long trades. The odd time it will open a trade...
Hello, I am trying to close a manually open order with the below code: CloseOrder(OrderValue(1,VAL_TICKET),OrderValue(1,VAL_LOTS),Ask,5,Red); but all I get is red triangles on the chart. Is this due to the fact the oreder was opened manually?
I have reported this before but upon further inspection it is quite definitely a bug. In your templates (tpl) files you store the symbol and digits (e.g. symbol=USDJPY, digits=2). When applying the template to a chart with different point (e.g. EURUSD) size the Point and Digit variables seem to be...
Please help to convert the attached MT3 PSAR Trailing Stop to MT4. This is a great Trailing Stop. Thanks in advance, Jorge C. Barbosa
With what to begin? Thanks to all.
  ICustom function (222   1 2 3 4 5 ... 22 23)
hi there first i must say really lots of helpfull info on the board here its great:D next my question how do i get the indicatorresult (or other variable) as a returnvalue if i call it with icustom ? i tryed to analyze the code of some other indicators for that part but... theres no difference (or...
Public beta-testing of "MQL4: automated forex trading" (MQL4 COMmunity resource) has begun. We are glad to invite everybody who wishes to participate in beta-testing! Please all suggestions and bugs publish at http://www.mql4.com/forum/
Let's speak your mind about features you want to request for MetaTrader and things you like about it. I'd like to see a poll just in case somebody out there can fulfill your request. You can choose multiple options. Options: Automatic code generating wizard for non-programmer like...
Why $700? Because this website is selling this system for $700. You may visit their website: it is in russian but just look on the images on the website. And after that look on the image attached. Almost the same? On those website they are using some filter which is similar with awesome indicator...
  Scalp'ing (24   1 2 3)
If anybody interesting I will translate this indicator to english. For Paramon trading system for MT3 go https://www.mql5.com/en/forum/172905 https://www.mql5.com/en/forum/172906
Hi How does one use breakpoints in ones code? What is their purpose? I see one can toggle them, but they don't work when I attach the EA to a chart. Are they there for debugging - as that would be great if one could step through the code - as in a microsoft IDE, and see what values the variables...
Hi I am trying trouble with the following piece of code. .. static double firstbuysl, firstsellsl, firstbuyprice, firstsellprice; static double mylasttradeprice = 0; double sarCurrent, sarPrevious, momCurrent, momPrevious,x,y,t; ... x = mylasttradeprice - (Bid + Ask)/2; y = MathAbs(x); t=...
I downloaded and installed the demo here. Although I really like the charting package etc, the connection drops out a fair bit. This evening has been horrrendous. It may very well be an interbank fx issue as several traders in my chatroom are getting dropped from Interbank. Is there a way for me...
I have successfully created an expert using ZeroCode. Unfortunately, it seems my expert can only be used on one currency pair at a time. I would like to use my expert on three pairs simultaneously. I have read this thread and I don't think MetaTrader's 5 sec rule will be applicable in my case based...
Hello I have been trying to implement the Schaff cylcle into my system. I have it in MT4, but cannot get the 20 or 80 indicator lines to appear. Any ideas? Thanks for the help. Matthew
  Starter EAs (52   1 2 3 4 5 6)
Here is my statement of starter v6 since the 24 oct to 7 nov. As I stopped demo testing all my EAs on IBFX mt4 platform, I had to create a new account for Starter v4 on Alpari. Furthermore I am using 2 lots for this setup. Warning: I had an internet shortage for 3 hours or more today (7nov) and it...
Hi, Please ignore my previous post, I just found the sample exampledll.cpp file and made an example appropriately. When I try to reference my DLL on MT 4 build 184, i get a 2005.11.05 23:43:46 printme USDCHF,M1: cannot call function 'ShowMe' from dll 'Printme2.dll' I am only testing and I have a...
Hi, When I try to reference my DLL, it causes MT 4 build 184 to crash. I am only testing and I have a simple DLL that I am compiling in Visual C++ .NET 2003. Here is my simple source code: #include "stdafx.h" #include <stdio.h> extern "C" _declspec(dllexport)double ShowMe(double myNum); BOOL...
Is the trail stop (rightclick on the order, Trailstop, 25) server based or client based? I.e. will the server move the trailstop if I close the terminal? The question is basically for MT3 (I'm with FXDD at the moment) but would also apply to MT4. Markus
  New Logo (6)
New logo designed by Alex.Piech.Finger. Also added a navigation bar in the top of forum. Post your opinions about new logo and nav bar here. Enjoy them! Best regards
I guess I found a detail about the wrong point value that makes it reproduceable 1) Add an Indicator to a chart with Point = 0.0001 (EURUSD) 2) Save template 3) Switch to a JPY chart 4) Apply Template Point value for the indicator will be wrong. Also works the other way round (storing from...
Hi, Where can I learn to creat an expert ? I read things on different sites but I really don't understand anything. I would like to learn each step.I asked on different forum and nobody can help me. thank you
i have this failure cmon error with neurex again now it says no connection only Jannik
  Learn mt3 (3)
Hi, I would like to know where i can learn the mt3 language.I ask if someone can do one for me and nobody can do it.So if someone can tell me where I can lear it would be very appreciate.I went on the mt site but it doesn't work Thank you
  Lesson 9 - Preprocessors (13   1 2)
Hi folks, Welcome to my last theoreticallesson in this series. In the next series of lessons we will start to build our first Customer Indicator, So I recommend you to read all the nine lessons carefully before the real work starts. Please download the lesson and enjoy it (I hope)
Hi folks! I want to thank you all for your kind comments. This is the eighth lesson. it's about MQL4 Variables, I hope you enjoy it. And I hope to be a useful for all of you GREAT TRADERS.
Hi folks, I hope you enjoyed the Loops & Decisions lesson and the previous lessons as well. In this lesson we will know how to write Functions in MQL4 and how to call(use) them. and... Why don't you download the lesson , it's FREE I hope to see your comment.