Download MetaTrader 5

MQL4 and MetaTrader 4 - page 693

To post a new topic, please log in or register
Best Forex Trading Platforms are: Apex Trader is our most popular dealing foundation andallows you to deal Commodity, Options and Forex trading on the same screen! Itis for the self-directed discretionary dealer who will be taking the lead to ontheir own investments. Meta Trader is for the system...
Dears All, I'm using a simple ATR trailng stop indicator: // PROPRERTIES ********************************#property indicator_chart_window#property indicator_buffers 2#property indicator_color1 Aqua#property indicator_color2 Red// INPUTS ********************************extern...
New article The "All or Nothing" Forex Strategy is published at mql5.com: The purpose of this article is to create the most simple trading strategy that implements the "All or Nothing" gaming principle. We don't want to create a profitable Expert Advisor - the goal is to increase the initial deposit...
I am trying to put in a bar delay or time delay.Either will do, just can't get the conditon error to go away.Obviously I can't understand what condition means for this Delay code? I assume it means the condition for order entry. When I put in the signal criteria I just keep getting errors. I have...
I have recently purchase the book "expert advisor programming by Andrew R. Young... and I'm wondering does anyone have additional books that they would recommend? Thanks for you input.
I like to know and edit but i cant find where they are. Thank you.
Hi, when I use indicators for the Ger30 than the Pivot and the MA are calculating with the Close-Value at 22 o'clock. How can I calculate them with the values at 17:30 p.m.? What do I have to write instead of Close[i+1]?
Hi, I wanted to know what is a good backtest result in terms of profit. For e.g if I backtest an EA that makes 4000 profit in 4 years with a starting capital 5000 - would that be considered acceptable? Equity curve rises steadily and the absolute drawdown is 150. How do you guage your backtest...
pls how do i meet a bad programmer to work with me in developing my secret idea EA. My mail add:tadeseadeolu@yahoo.com
Of wat probability wen try to combine two or multiple dif indicators to detect a trend?
Hey, The script is a simple EA that checks if a manuel trade (MagicalNumber == 0) closed with no profit. Ex: When a SELL TRADE has been closed with no profit, so I would like to open straight away (market price) a OP_BUY So I've added both way ("OP_BUYSTOP" && "OP_BUY") and only "OP_BUYSTOP seems to...
Hi. Its a very basic question, but how can I put bet for a currency to depreciate in its value? The order form just has buy option. I am not able to locate option for putting bets per pip. Please help.. Thanks
I'm very new to coding and creating a simple psar advisor and trying to add the trailing stop feature to the e.a... After this is complete I'd like to ad dynamic Lot sizing with good money management... Below is how I've coded thus far by I'm getting error messages like :'Counter' - expression on...
Hello I am new to mql4/5.com .I have ordered an EA from jobs section and while going through the step by step process of the work i have face difficulties in the 'Negotiation of requirements' step. Both of us, me and the developer confirms the step but I can not access the next step Prototype/Model...
Hi, I have a few indicators which I want to use for an expert advisor. The indicators are having 4 buffers. Buffer0 down-arrow Buffer1 up-arrow Buffer 2 small-down-point Buffer 3 small-up-point Between the points and the arrows I am drawing Trend lines with ObjectCreate(...OBJ_TREND..); Now I...
Hello all. excuse me for my english. can anybody help me how to predict RSI level? actually i mean how to use RSI's formull in my code? for example: at EUR/USD chart i have this now: and RSI level with 8 period has 48.4325 value. i want to use RSI formull and see this: if in this candle price go up...
I am stuck trying to make my EA trade only once per bar. The complication is that I have 3 timeframes in the EA. I want to make sure that for each 1 hour bar, there is only one trade. On the higher timeframes, there can be multiple trades if their conditions remain true. How would it be best to...
//+------------------------------------------------------------------+ //| This MQL is generated by Expert Advisor Builder | //| http://sufx.core.t3-ism.net/ExpertAdvisorBuilder/ | //| | //| In no event...
This website is amazing. It is in fact where I'm learning to code by trial and error. That said, I'm a newbie to MQL4 programming and need help attaching a SL & TP to an ORDERSEND with an ECN broker. Initially, I couldn't understand why the SL & TPs were making my order result in an...
Good evening, After reading a post titled "Question for someone good at mathematics" (https://www.mql5.com/en/forum/137889) I have been all evening entertaining the idea of developing an expert advisor starting from the contrarian approach, being the main goal to wipe out a full account as...
Hi traders, Is there anyone who can help me with adding TPSL + trail and changing buy to sell (and vice versa) on a basic EA? Thanks! :-)
Hi, Firstly apologies if this seems a "Newbie" question, but I have googled the hell out of this and cant find anything substantial to go on. I have created a basic EA using the build on the URL below - http://sufx.core.t3-ism.net I got it up and running last night and it made a couple of trades,...
ECN, which appears for Automated Interaction System, reallyis the way of the long run for the Overseas Change Marketplaces. ECN can bestbe described as a link back links lesser market individuals with tier-1 assetsservices through a FOREX ECN Agent. This linkage is done using innovative...
New article Using Discriminant Analysis to Develop Trading Systems is published at mql5.com: When developing a trading system, there usually arises a problem of selecting the best combination of indicators and their signals. Discriminant analysis is one of the methods to find such combinations. The...
Hi, I want to use and draw in my indicator the ZigZag indicator. I defined is as the following code shows: init(){   IndicatorBuffers(1);      SetIndexBuffer(0,TF1_Buffer);   SetIndexStyle(0,DRAW_SECTION);}int start(){   int    counted_bars=IndicatorCounted();//----...
  Ibands - Help for noob (11   1 2)
Hey, I found a very interesting topic @ https://www.mql5.com/en/code/10416 Unfortunately, I don't know how to use it. If someone could explain a bit more where to code next and where to insert my code. Cheers
I am new to coding and do need help badly. i was able to write a code to open market order but found out it opens new order on every tick, how can i limit the open order to only the first opened one when condition is met. Anyone with guidance will be appreciated. thanks
CurrBars=iBars(Symbols[i],tf[j]);                        if(PreBars!=CurrBars) {               k=0;               if (Time[CurrBars-10]<StrToTime("2011.12.12") )                { Print ("break ",Symbols[i]," Timeframe ",tf[j], " ",TimeToStr(Time[CurrBars-10],...
I was wondering if someone could give me some tips or point me in the right direction to continue the end of a moving average indicator into the future. Basically what I want to do is get the slope of the indicator line for the last two periods and then draw the indicator going into the future with...