MQL4 and MetaTrader 4 - page 1619

  External choices  (3)
Is there a way to offer the user a group of choices (like a list box ) for an external parameter? I would like to allow the user to select a MACD, Stochastic , CCI, etc. as secondary confirmations. But I would like to limit the choices. Any way to do this
  c++ dll error  (1)
i wrote a simple dll to open an a file tou.cpp #include "tou.h" void OpenFile(char* filename) { ShellExecute(NULL, "open", filename, 0, 0, SW_SHOWDEFAULT); } tou.h #include <windows.h> #include <shellapi.h> #pragma comment(lib, "shell32.lib") #ifndef TOU_H #define TOU_H extern "C" void...
[Deleted]
I have several MT4 client platform setups, but each requires its own experts, templates,indicator folders. I add many files to the preceeding, but it is a real pain tohave multiple folders, each of which must be updated individually. Is it possible to have a common single folder for these, with a...
[Deleted]
Hi Guys, firstly aplogies as I am a total newbie to the MT4 platform so bear withme . I have attached some new indicators *.ex4 and *.mq4 extensions into the MT4\experts\indicatorsdirectory and re started the app. Howerver they are not showing up anywhere forme to use - what am I doing wrong please...
On the website of the Automated Trading Championship 2007, the article Registration: Preliminary Results has been published. Two and a half months have passed since Registration started.Only 7 days are left to complete it and participate in the Automated Trading Championship2007. According to the...
[Deleted]
Hi there, I am coding a volatility indicator at the moment. I will watch my indicator on the H1 chart BUT... I need all M1 open/close valueswithin that H1 bar being processed by start(). So, for each start() on H1 chart, I need to grab 120 M1 values (60 Open + 60 Close). How can I grab those...
How to get the current totalorders of buy lots and sell lots. Anyone? I need helpin this.
[Deleted]
I was running MT4 on a P3 800 Mhtz w/ 256 MB. It was very slow, so I bought a P4 3 Ghtz w/ 2 GB RAM. The backtester is not any faster than it was before. I think the code is dependenton the Windows clock opposed to the CPU clock. Does anyone know how to unlock MT4 from this restriction?
Is below a planned MetaTrader feature ? - or maybe I'm totally missing something... I recently organised the ...\experts tree to make life easier - or so I thoughtat time, but now not see any files in Terminal's navigator. In Editor the navigator files tab shows all tree structure - meaning...
[Deleted]
For my EA, rather than using a predetermined number of lots, I would like each tradeto be a certain percentage of my equity, probably something like 5-10%. Can someonehelp me with the language to make that work? thanks
Greetings, Who could ajuadar me with a command that can increase the batch size as soon as the capital will be increasing. I say a money management . Open order Balance Tipe: lotes= 0.50 > $ 1.000 lotes= 0.75 > $ 1. 500 lotes= 1.00 > $ 2.000 lotes= 1.25 > $ 2.500 lotes= 1.50 > $ 3.000 and so on
[Deleted]
How can I change the end/beginning time for a trading day? I would like to changeit from 8:00 pm EDT to 5:00 pm EDT. Thanks.
the function is like this int send(char* s) how to import this. i use import this function, it report not define char. how to import this? thankyou
Let's consider that my EA is running on H4 chart. I call iRSI(NULL,0,14,...), which means that I call iRSI indicator for current pair, currenttime frame (H4 now) and 14 periods. So it means that in this situation period ==14 and iRSI will be calculated from last 14*4 = 64 hours, am I right? And is...
Hi, I have getting this error which I don't understand. I am trying to place the following order in my EA, but the strategy tester is reportingError 130 - Invalid Stop. Here are the information. 1. USDJPY oper: 4 lot: 0.3 openprice: 116.96 stoploss: 0 profit:0 Bid: 116.91 Ask:116.94 2. USDJPY...
[Deleted]
Hello, I am wondering if it possible to have charts displaced in time frames other thanthe default ones. For example if you would like to have 300 min chart. Is it possible??Can someone please point me in right direction. Regards The_One
[Deleted]
Hi, I noticed this competition only early this morning. But I really want to havea go. I've got an EA backtested on another system and need to transfer it to MT4.I am reading all the documents now but I doubt that I could make it. I would begrateful if you could help me with the following details:...
[Deleted]
I have this piece of code in my EA: if(MacdCurrent > 0 && MacdCurrent > SignalCurrent && MacdPrevious< SignalPrevious) { Alert("BUY order opened : ", Symbol()); Questions: 1. I get dozen of alerts in a very short timeframe, why? What can I do to makeit stop? Much thanks. Ed
now I really hope someone can modify the bouncingpipEA_mpowerV41 ? here's the idea: after each entry been stop lost,I hope we can make next entry (same direction and meet those filter conditins again) increase lot like use fibonacci number like 0.1,0.2,0.3,0.5,0.8,1.3,2.1 lots.totally 7 level,and
Hi, i have made a DLL library for an EA. My exported function is this: #import "HappyEADLL.dll" int GetNewPosition(int,string,string,string& sym,string& op, double&price,double& tp,double& sl ,double& ts,double& cl); but if I call the function I cannot have in each double the value setted by...
Transferring an Indicator Code into an Expert Advisor Code. General Structural Schemesof an Expert Advisor and Indicator Functions This article dwells on the ways of transferring an indicator code into an ExpertAdvisor Code and on writing Expert Advisors with no calling to custom indicators,and with...
The new article named Problems of Technical Analysis Revisited by Constantin Tsarikhin has just been published in the Articles section. Abstract: At present, technical analysis along with the fundamental one is the most importantmethod to analyze stock market. Being one of the predicting methods of...
Transferring an Indicator Code into an Expert Advisor Code. Indicator Structure This article dwells on the ways of transferring an indicator code into an ExpertAdvisor Code and on writing Expert Advisors with no calling to custom indicators,and with the whole program code for the calculation of...
Dear advanced users of MT¤, Please help! How to see many financial instruments (offline hist. files) in one Chart Window? (or maybe these additional instruments can be shown as lines in "indicator window" to corresponding chart?) it is very important to me because I am on stage of studing markets
hi I use optimization option in strategy tester to test my stochastic expert advisor. I choose 1(start) to 200(stop) and 1(step)to all K period, D period and slowingvalues and i test it. then choose 1(start) to 10(stop) and 1(step) to all K period, D period and slowingvalues. for example 5 K...
[Deleted]
Hello All, Did a bit of research and manage to successfully program this function. Good wayto get you out of trouble well before Margin Call... Cheers!
[Deleted]
Hello, How to have the EA check and set "Ask Manual Confirmation" On ? (As in Option - Expert Advisor) thanks
This article describes an intersting approach to using cluster indicators. The article goes on to code the indicators which are available at the bottom of the page. Has anyone worked with this type of indicator before?
[Deleted]
Could someone please help with this need? I want my expert to look for any open orders (either a buy or sell that has beenfilled). If the expert finds a buy or sell order that is filled, I want it to placeanother order. This seems very trivial and simple to me, yet I cannot get my expertmodified to...
What could be a global variable that would check if an EA has executed ANY orderin the current bar, and if any order was executed in the current bar, it must waituntil the next bar? This should be a global 'override' that could not be influencedby the rest of the code. Joe Gelet www.eesfx.com www...