Expert Advisors and Automated Trading - page 166

To post a new topic, please log in or register
Key Indicators: 1. MA1 with EMA Type 17 2. MA2 with EMA Type 100 3. Stochastic: 9,4,3 Rule OP EA A. Open BUY: 1. EA Will work after previous and MA1 and MA2 is no intersection up 2. EA will BUY if Stochastic already in the area of ​​OB 20 and cutting head upwards towards the TP 10 and no...
Hi I have tried but I have no luck with my work. Could someone help me out to write simple EA? Conditions are: 1. Run and compare 4 different currencies simultaneously. 2. Different lot for each currency 3. Choicable of BUY or SELL for each currency 4. Start at same time and end at...
akgha89
How ea can determine a sideways trading condition? do the angle of EMA can be measured? or is there a possibility to count the pip difference between 2 EMA?
akgha89
hi guys, i have question with lot size.. i already calculate it, i hv 1500 USD lot 1:500 and 95% of my equity already set for signal.. for example i want to subcriber signal which has 6,810 USD and 1:500 leverage my op lot size will be>> (precentage equity) X (subscriber equity/signal...
I need help about the writing of an EA. I have used 2 Parabolic Sar Indicator with different settings. I used the library "SignalSAR.mqh" to create the output, but in the library there are the conditions of buying and selling only for using 1 Indicator. My project is (after the choice of the...
It started with 100$ ---> 40,000$ , Percentage should be arround 40k% right? it show, only 2500% ? <removed by mod>
Hello forum, good day. I´m working on a Market Orders EA that may open only one order at a time, but there may be several open orders during the day. Up to what I have, all the orders remain open and I´m having trouble on closing each order separately when certain criteria is met. The criteria is...
I'm trying to make a robot that can recognize when a "Hammer" shows up on the chart. So far I have a way to command MetaTrader to look for when the last candle's Low[] is lower than the last 3 candles: if(Low[1] < Low[2]&& Low[1] < Low[3] && Low[1] < Low[4]) I also have a way to tell...
From what I understand, to trade my FXCM brokerage account using MT4, a VPN is really required so that the conditions remain in place when I turn the computer off and am not connected to the market. However, that is not an option at the moment, at least for testing purposes. I like the idea of...
Hey guys, I was just writing to ask if anyone knew an easy way to mirror an ea? I have seen countless ea's that make loss after loss at about 90% accuracy of losing trades lots of the time with larger stop losses then take profits so was wondering if there is a way to easily make it so that it...
For the platform of my broker, the execution type for market orders is instant execution. In this case, should I identify a deviation for a pending order? Thanks.
When EA uses different indicators with different timeframes then Strategy Tester adds corresponding charts. I like to see on all these charts "Line Chart" mode instead of "Bar Chart" mode. When I change mode on charts to "Line Chart" that setting stays alive only on first chart when I start Strategy...
mcquak
Hello fellow traders/developers. I've found WebRequest function in the reference doc [1]. According to the doc there are 2 types of the function but I'm not able to convinced mql compiler to use the 2nd one. My intention is to send HTTP POST request to my json web service. Hence I'd obviously need...
Hello forum, good day. How could I make a function that checks the previous 10 candles/bars and determine the lowest close price of those candles/bars? After this I need to check if Close[0] < LowestClose and then assign StopLoss = AskPrice; Best regards and thank you, codeMolecules
Test result in MT4 Build 765 from Mar 2011 to Mar 2015: deposit 1000$ profit 8979573$, drawdown 32.06% Is it ok? Bars in test 2195 Ticks modelled 12004205 Modelling quality n/a Mismatched charts errors 303 Initial deposit 1000.00 Spread Current (2) Total net profit...
Hi, I'm trying to find a broker who has cent/nano/micro type accounts which is seen as standard account. What I mean is when I deposit $50 into a cent account it is converted into $5000 cents, but when I subscribe to a signal all of the trades are executed as 0.01 lot, which mean the account is...
Hi guys, just getting started with forex and some experience. I was in stocks for a long time so I understand a lot of the technical analysis. As a means of getting started I was looking at signals or EAs as a good way to see if I can automate a income. I noticed the Signals are not that...
What&nbsp;are the meanings of first column (two uppercase chars at the beginning of every row) and second column (a single digit, I can see only zeroes in my logs)&nbsp;in the log files?
OK Here's my problem: I create a double on the global scope called   TickSize Then in the Oninit function I put...   TickSize = MarketInfo(Symbol(),MODE_TICKSIZE);  The EA complains that this is zero and it is messing with the division. I print it and sure enough it is    0   No Decimal points just...
Hello, For several days I cannot test my EA due to the following journal entries (EA exiting at the beginning of the test session): MT5: 2015.03.16 15:32:07 Core 1 EURUSD: bad container not fixed 2015.03.16 15:32:07 Core 1 EURUSD 2014.01.03, damaged container found, must be...
hi i would like to know if there is a possibility to do backtest on an offline chart i have an EA place on a regular 1minute chart that trace an offline chart base on constant range bar    i need to do back test but i see only regular time chart on setting in back test.   is there a way to make it...
please can someone help me with handy code to close all buy or sell when takeprofit is reached or hit please help me i didnt know all code loops please.thanks bellow is what i even i try to count down order but yet after that the countdown loop will not work with mt4 strategy test it hangs it so...
Hi Fellow Traders and Coders. I really wish that Meta Trader 4 Strategy Tester is like Meta Trader 5 Strategy tester because Meta Trader 5 terminal strategy tester is a lot faster. T T Really the slow speed of MT4 terminal strategy tester sometimes bottlenecking development work. I am sure it is...
Hello Masters in the house, Please I need your help seriously, I coded an EA and it works fine on demo accounts but it is not working effectively with real account, sometime it will open just one or two orders out of about 10 symbols on different charts. Sometimes it won't open any position at all,...
My demo terminal is not setting a position identifier for positions ... and naturally it is absent also for deals and orders on the history tab. What can be the reason? Thanks.
Hi Fellow Traders and coders. I have some interesting problem giving me some hard time to resolve several days. Recently I played with OBJ_LABEL on both MT5 and MT4. The code is shown below. The aim of this code is to write some text on indicator sub window (separate window from main window)....
Hi: Sorry for this - but I remember a few years ago there was a discussion around this (I hope I remember correctly). If certain criteria are met - the EA activates a function of some sorts in order to close the workstation. If one or more of you remember this discussion - would it be possible to...
How can I test an Expert Advisor in automatic trading mode using a ticks.csv file I have previously downloaded? Thanks Joe S.
I want to make an EA to execute automatic trades based on my custom indicator. How would I add this to an EA? Thanks Yes... I'm new to EA programming
  datetime sums (1)
I'm hoping someone can confirm this for me, since I'm having a difficult time with an EA adjusting for timezones. if I have a datetime value, and I want to add for example, 3 hours to that time, could I use this? datetime RightNow=TimeCurrent();int Adjust=3; //3 hours adjustdatetime...