Expert Advisors and Automated Trading - page 465

  HELP FOR EA  (3)
Can anybody from moderators member help me in uploading ea. After adding #property strict ea produces many errors after removing errors now ea not work properly. Can any one from moderators members help me
Dear Community, is it possible in MT5 to create a panel outside of a chart? So you can move the panel over the whole screen. Thank you very much for your Help!
Does the strategy tester have a limit on 10 currency pairs? When I attempt to run a test with anymore than 10 pairs it only loads the initial 10 pairs history before throwing errors such as: IJ 2 23:25:29.989 Core 1 2011.01.01 00:00:00 cannot load indicator 'Moving Average' [4801] DQ...
[Deleted]
Is it Possible to implement a divergence strategy into EA with the CCI indicator?
Hey guys. I came to an idea that I would like to test. It involves renko charts. Because they are not time based, it can be very tricky to trade using them sometimes. So,I would like to ask someone to write me an ea that opens a buy order each and every time the previous brick was CLOSED bullish...
Hi there, About 2 days I'm on, the for loops always take more time, I need help. At this point, it should re-enter the loop with with Volume - SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_MIN), why doesn't it ? for (Volume >= SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_MIN); Volume <=...
  My EA does a double entry  (104   1 2 3 4 5 ... 10 11)
I remember someone who had the same problem and use xxxx. I could not find that thread, if anyone can help me out that would be a big thanks. my codes as follow in On_Tick() if (! PositionSelect ( Symbol ())) do { Price = SymbolInfoDouble ( Symbol (), SYMBOL_ASK
Hi !  I don't get it, what's the variable profit for obtaining the profit value ? I thought it was a function that calculate the profit based on the opening, closing price & volume. bool  OrderCalcProfit(   ENUM_ORDER_TYPE       action,           // type of the order (ORDER_TYPE_BUY or...
l want expert advisor to auto delete all pending order at time (input) Please help me. Thank you very much?
Hello, The signal provider I am following has a very large account balance relative to mine. I am trying to follow their trades with a lot size of around 0.1, but I keep getting filled at 0.01. I have increased my account leverage to 400x and I have selected to use up to 95% of my account balance...
  Trade Signals  (1)
Where can I find more information about the usage of the function group called "Trade Signals" in the reference? Thanks a lot.
I want to open file *.xtb in MetaEditor and compile there (no in Builder), but MetaEditor is able open that, but not compile! Opened *.xtb file looks like this: I worry that I have only one way how to do it, write strategy manually, is it true? Any advices?
Hello everybody,  i'm new here in this big world,  i start learning the mql4 programming in this days with Jim Dandy,  but i didn't understand the trailing stop function goal,  can someone help me to understand how's its work,  and thanks
Hi, I am considering unsig Metatrader for backesting spot with options assets on FX. I know that MT only allows spot. But I am thinking in devloping a module for options management and results. Any comment about this? or is it a crazy idea? Thanks
[Deleted]
Good Afternoon, Can someone please help me with the order below ? This is the structure of my order. The script has no problem to run but when market reaches the price, the order is not triggered. It is not clear to me if mrequest.stoplimit=1.25165 (above price) is correct or the number must be...
Ok, I had this working earlier and made some changes and now it is not working so it is driving me crazy. I am trying to collect some data in a csv file every time my EA takes a trade so inside the same if statement the command to take the trade At the beginning of the Start() I have: int...
hey guys ive got an issue i hope you guys can help me with. Excell spreadsheets seem to distract me from trading too much and knowing when to move my lot size as my balance grow is also another hard thing for me.. I would like to focus just on my trading and have some sort of EA automatically
  Open 2 order  (1)
Good day. My EA opens 2 order. First order close at the same time when she open. Second order open together with first order but close after 5 minutes. I would like disposed of first order, but I don´t know how to do it. This is my ea...
this is probably been discussed before but.. Take profit orders don't seem to be excuted when using demo account. This is when trading manually on a chart not using EAs. im using metatrader 4.. any advice please? thanks
for example: here is a dll named tclient.dll, which include a function below: typedef TCLIENT_API void(*call_back)(Tick* p);TCLIENT_API int sub_tick(CTX ctx, const char* insId, call_back f);   How should I declare and call it in mql5?#import "tclient.dll"//how to declare function sub_tick? #import...
[Deleted]
Good Afternoon ! Can someone please give a clue of the problem I am facing open the CSV file outside the regular MQL5 structure ? filename returns C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\Common\Files\youbotg9.csv fileHandle returns -1 Thank you very much string...
Hi, I am looking for a code to automate instant execution bidrequest for long and short positions. The input trigger is the position of the 5minute chart CCI (20). With the crossing at -30 and standard deviation of -50for short and +30 for long positions and a standard deviation of +50. Also, to...
I'm getting different results with the following code: int OnInit () { //--- indicator buffers mapping Print (( datetime ) SeriesInfoInteger ( "NZDUSD" , PERIOD_H3 , SERIES_SERVER_FIRSTDATE )); Print (( datetime ) SeriesInfoInteger ( "NZDUSD" , PERIOD_H3 , SERIES_TERMINAL_FIRSTDATE )); Print
Wrong swap calculation in MT5 build 1010 (31 okt. 2014) tester: Deal pair NZDUSD- 2012.02.08 buy 0.01 NZDUSD - 2012.02.15 sell 0.01 NZDUSD- and swap 19.20$ (for lot 0.01 and 8 day) !!!
when trusted execution token (TET) will enable? expacted date?
Hi, Timeframe 1, inside the OnTick, I run a function & check it passed there by a comment on the chart : Fnc();Comment("Last checked: "+TimeToString(TimeLocal())+); Unfortunately nor the comment is updated, nor the function seems to be executed. I have to remove expert from the chart & add it again...
Can I store the declaration of a class into a .mqh file in include directory and store the implementation of the class into a .ex4 file in library directory? I tried, but in the main file using  this class, all the member functions are compiled with errror "functon must have a body". Then I...
To create a button on the chart that instantly cleans unwanted objects,! BUT EVEN DISAPPEAR ON THE BUTTON I used a button, TEST, MQL5 Downloaded from the site, But when I press it, the button disappears also. Look
FAQ: How to Start, Recall, a script, a line of an expert Expert, "WHAT IS NOT NEVER WILL I FIND THE MANUAL MQL5" I decided to create a section with quick questions and quick answers.
  Active Chart.  (2)
Hello Mql. Is there a way of knowing if the current chart is the one on top/selected/active?(for indicator) (duh) Let me rephrase that , can i check if the chart -the indicator is attached to -is active/ontop ?(MQL4)