To post a new topic, please log in or register
Dear experienced traders, I think if we can combine some strategies combine with both martingale and hedging, it will be a very strong strategy. How do you think combine martingale and hedging? Will it be risky mathematically? * Known demerit for combine martingale and hedging is below: 1. We have
Solution by Keith Watford ObjectCreate ( "Entry" , OBJ_HLINE , 0 , 0 , Ask); ObjectSet( "Entry" , OBJPROP_STYLE , STYLE_SOLID ); ObjectSet( "Entry" , OBJPROP_COLOR , clrGreen ); double DOT_P = ObjectGetDouble ( 0 , "Entry" , OBJPROP_PRICE ); datetime DOT_T = TimeCurrent () ; int x,y; if (
Discover in 15 Minutes: Watch the Video about Trading Signals in MetaTrader 4 and MetaTrader 5 The most frequently asked questions related to the Signals service will be collected and processed in this topic. The list of questions will be updated from time to time. Soon we will try to give answers...
  Hello everyone.  (3)
I always get the following messages from my server: Autotrading disabled by server even though I just subscribed to a virtual server. How do I change that
Hi, I'm having a problem with my EA and I would like some help with it. I developed an EA that places a limit buy order when the asset price reaches a determined price. For instance: if Asset A reaches 10.00, the EA will add a limit buy order at 9.50. As I'm using this strategy on many assets (
I bought a expert advisor, week ago, and it s not what it shows in the test the developer tried to send me a different EA, to try to compensate the terrible EA I bought. But It s not what I was looking in the first place. So it s simple, I have been chatting with the developer, if the EA is not
Hi all, I'm trying to build a simple cross alert ea, but I would like to make it for every pair in the same code. It is bugged because sometimes it alert me for crosses that doesn't exist, and also spam a lot.. I'm working with mql5 #property copyright "Copyright 2020, MetaQuotes Software Corp."
  Forecast and levels for EURO  (375   1 2 3 4 5 ... 37 38)
EUR/USD April-June 2017 Forecast: ranging rally within narrow s/r levels W1 price is below Ichimoku cloud for the primary bearish market condition with the ranging within the following support/resistance levels: 1.0828 resistance level located below the cloud in the beginning of the secondary rally...
  MT4 to MT5 code converter  (510   1 2 3 4 5 ... 50 51)
Rewrite MQL 4 to MQL 5 Script A script which converts MQL 4 code to MQL 5 code was developed by Keiji and Circlesquares on the MQL4 forum. First, download the following files and place them in your Metatrader 4 / experts / include folder - mt4accountinfo.mqh - mt4string.mqh - mt4datetime.mqh -...
  Press review  (6749   1 2 3 4 5 ... 674 675)
This link provided to me by RaptorUK, give me the idea that it would be interesting to have a place here on the site to share such links. So I opened a new topic, it will be moderated to follow the rules as usual, but also about the content. Everyone can post but have to provide a quote and the...
Hello, Anyone out there who can help me with MathAbs, I'm using a = MathAbs (a) ; All I get with compiling is "some operator expected" trigger_hedge = ( OrderClosePrice() - OrderOpenPrice() ) trigger_hedge= MathAbs (trigger_hedge); I've tried: int trigger_hedge = 0 ; double trigger_hedge
Hello, I have looked at both the iClose to get the close price and the iOpen for the open price.  I have also checked into using the MqlRates, but with no luck.  I am getting the error that the array is out of range with the MqlRates.  For the iClose and iOpen, I am getting 0 as the value. The...
Is there a way of exporting my mql5 payment transaction history together with my balance and my account details (such as login ID, email and maybe password) (or any subset of this)? Not particular if it is a csv or text file or other. Is it possible through the mql5 web or maybe even through the MT5
When I'm ready to copy a signal, I have just to pay for subscription? Are trades and funds automatically copied on my account
I have several account ,real /demo . Target use case is running previous version EA in real account, and some new future EA in demo account at the same time. But in real word ,As I do login to another account , the original account has been logout >,< How do I do this part. Note case2 One PC
Weekly Initial Unemployment Claims decrease to 1.877 million First-time claims for U.S. unemployment benefits pulled back further off their recent record high in the week ended May 30th, according to a report released by the Labor Department on Thursday. The report said initial jobless claims
The German government adopted a second stimulus package to brings Total Support to €1.3 Trillion Germany will plough 130 billion euros ($146 billion) into a stimulus package to kick-start an economy severely hit by the coronavirus pandemic, Chancellor Angela Merkel said Wednesday. "The size of the
Wall Street firm Evercore Partners will pay junior bankers up to $25,000 to delay starting their jobs Evercore Partners Inc. is offering to pay incoming junior bankers up to $25,000 to delay starting their jobs during the coronavirus pandemic, according to external recruiters, a move that hasn’t
USD Overview (04 June 2020) Yesterday, USD weakened against most major currencies except JPY. The ADP Non-Farm Employment Change data (Actual: -2760, Forecast: -9000K, Previous: -20236K) released yesterday indicated that job loss has eased in May. Also, the ISM Non-Manufacturing PMI data (Actual
Boeing +13% after winning listing in Third Point Offshore Fund for the month of May Boeing (BA +12.6%) soars to the top of the Dow Jones index after a performance update from Daniel S. Loeb Dan Loeb's Third Point Offshore Fund listed the stock as one of its winners for the month of May. Although
Wall Street: Hopes for Economic Recovery A jump in Boeing shares led Wall Street higher on Wednesday, with investors hoping to recover from the economic downturn caused by the coronavirus. Boeing Co (BA.N) jumped 8.5% and was the top boost to the blue-chip Dow Jones index. Microchip Technology Inc
Chicago Board Options Exchange (CBOE) to delay reopening the trading floor by one week CBOE Global Markets Inc. made an announcement on Wednesday about delay of reopening of its options exchange trading floor in Chicago by one week because of continued COVID-19-related closures across the city and
Eurozone: unemployment at 7.3%; industrial producer prices down by 2.0% Eurostat, the statistical office of the European Union, were published the following figures on Wednesday: "In April 2020, the second month after COVID-19 containment measures were implemented by most Member States, the euro
World Economic Forum in Davos will still go ahead next January World leaders are expected to converge on Davos in January for a planned meeting of the World Economic Forum, that will be a combination of in-person and virtual conferences. Several global events have been cancelled over ongoing
US stock again closed higher yesterday, and forex market also reflected the optimism: Aussie and New Zealand dollar gained over 1% at one point, and WTI closed 4.03% higher. Dow Jones Index, S&P500 and NASDAQ gained 1.05%, 0.82% and 0.59% respectively upon closing yesterday. The upbeat mood of Wall
Renault has completed procedures for obtaining a state loan of 5 billion euro Renault (RENA.PA) finalised on Wednesday a 5 billion euro ($5.60 billion) loan from with the French government, strengthening the carmaker’s finances in the wake of the coronavirus pandemic which has ravaged the auto
Australia Gross Domestic Product (GDP) contracted by 0.3% in the March quarter 2020 Australia's gross domestic product dropped a seasonally adjusted 0.3 percent on quarter in the first three months of 2020, the Australian Bureau of Statistics said on Wednesday. On a yearly basis, GDP expanded 1.4
China Services PMI: general growth of service sector activity for the first time in 4 months China's service sector expanded for the first time in 4 months: "Latest PMI data signalled the first increase in Chinese services activity for four months in May amid an easing of measures related to the
Bank of America will commit $1 billion to help communities cope with economic and racial inequalities caused by Covid-19 Bank of America announced Tuesday that it will commit $1 billion over four years to help local communities grapple with the widened economic and racial inequality caused by the
Employment in Spain grows for the first time during pandemic Registered unemployment rises in May by 26,573 people compared to the previous month. Besides, the data shows that employment actually grew in May: new Social Security registrations for measure of job creation estimated the growth by an
I've been working sooo very long on trying to creat a successful forex system. I've bought tuns and tuns of systems and have downloaded thousands of indicators. My history is 3 years in the forex trading world and have had some successes and many failures, mostly due to poor money management for the...
I am using this method to catch only big moves. It works well but needs some tweaking espescially for exit. 30 Min and 1 Hr time frames are suitable. Indicator Setup Bullspower default setting (13) Bears Powerdefault setting (13) Accelerator default setting Buy Rules Bulls Power increasing and...
  Hull Moving Average's Trend System  (116   1 2 3 4 5 ... 11 12)
The system was posted by bradman when he needed this system coded. The system is simple. Long when HMA trend is up, and short when HMA trend is down. Attached is the EA, automated script for metatrader 4, and indicator of this system. You must install both of them. This expert advisor features: You...
  Is There Any Strategy?  (22   1 2 3)
There are many articles about the benefits of having a trade strategy, and articles are abounded by advises like these: Have you strategy of trading. If you have not a distinct Trade strategy, you lost all your money ... And so on But when I was searching for a strategy I only founds not useful
  "No loss" recovery hedging system  (136   1 2 3 4 5 ... 13 14)
Question: Would you be willing to trade any system or strategy you want on your $10000 account and turn every trade you take into a win trade (of $200 or $20) or a breakeven trade and have only a small theoretical chance of losing let's say $600 in worst case scenario? Some traders would probably...
This thread won't be about a question or problem, but rather about the anouncement of the presentation and documentation of an exciting trading concept. I plan to do a series of postings here in order to keep you guys updated. Anybody who has an opinion on the topic, please don't hesitate to comment...
  My New Free System[abha Sv038]  (103   1 2 3 4 5 ... 10 11)
Hi dear moderators, Would it be possible to manage this section more carefully ? This section is intended for topics about trading strategies, so trading discussions. Eventually accompanied with relevant code. I highlighted, on the top 14 topics, all the ones which are NOT related to trading systems
  The Murrey Math Trading System  (1709   1 2 3 4 5 ... 170 171)
Description of trading system (zip'ed html file) and some indicators (with the description inside the code - use MetaEditor to read).
I just started this thread as a continuation of the talking made on this topic (we can read it). Or ...to make it shorter: it was some discussion about forecasting/predicting of the next candle or direction of the movement or market condition evaluation. And it was around standard indiocators in...
In this thread we will build our own Bollinger Band strategy by combining our heads together. Let's discuss: DISCUSS: - what do you think is the best way to recognize RANGED and BREAKOUT? - what other indicators complement the Bollinger Band? - what is in your experience the best timeframe for...
  Something Interesting to Read  (72   1 2 3 4 5 ... 7 8)
This is the thread about books related for stocks, forex, financial market and economics. Please make a post about books with possible cover image, short description and official link to buy (amazon for example). Posts without books' presentation, without official link to buy and with refferal links...
Mtf,price action,market strength,momentum,trend,range,support and resistance,and volatility are the key elements that make up the synergy system.Pdf included for more indepth description of system components as well as entry criteria
  Stochastic  (79   1 2 3 4 5 ... 7 8)
I decided to make some indicators' review based on trading experience and using them inside manual trading systems. So, please find the first thread about Stochastic Oscillator. Feel free to add or write any comments concerning this indicator about how to use it inside trading systes, how to trade...
hit-the-target
  DSS3 :an scalping system  (282   1 2 3 4 5 ... 28 29)
Hello , at Stochastic Oscillator thread , Dear Mladen wrote a cool indicator , which was Dear PAVA's idea.It was DSS3 . It's a good system for scalping . I want to scalp with it and share my result at this thread .
Good day everyone, I am new to this business of Forex and Binary and in a short time I have incurred some losses and currently looking for the best approach to this market. I am particularly interested in Binary Tick Trade. Does anyone here know if there is any indicator or strategy applicable to...
  Options Trading  (1)
Hi, Is there any way to access Options Trading in MT5 Platform
A variety of integration gateways to liquidity providers and stock exchanges have recently been developed for MetaTrader 5 trading platform. Using these solutions, brokers now can greatly improve their business and enter new markets. We have decided to summarize the first integration results and...
AMP Futures has officially announced the launch of the MetaTrader 5 platform for trading futures. AMP Futures is a US regulated Chicago-based Futures Commission Merchant (FCM) providing access to the global electronic futures markets for individual traders, as well as US and foreign Introducing...
I have downloaded mql5 but it only showing me Forex and metal in MarketWatch...how can add Indian stocks to MarketWatch
The Worst Stocks Of 2016: First Solar It was decreased from 72 to 28 for this 2016!
  Forecast and levels for S&P 500  (465   1 2 3 4 5 ... 46 47)
S&P 500 January-March 2017 Forecast: long-term bullish ranging within the narrow s/r levels for direction W1 price is located far above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following narrow support/resistance levels for the bullish trend to be resumed...
Hi all I'm about as new here as one can be. Both to trading and to this forum and is my first post here. Hoping I can get a answer to a question. Google hasn't been able to help. I want to know how can I calculate my lot size for opening a trade on NAS100. Is there a known formula? For forex pairs
DJIA January-March 2017 Forecast: long-term bullish; resistance level at 19,987 is the key W1 price is located above Ichimoku cloud in the bullish area of the chart: the price is on testing 19,987 resistance lkevel to above for the primary bullish market condition to be continuing. The price is...
as stated here https://en.m.wikipedia.org/wiki/List_of_stock_exchange_trading_hours Most markets are open Monday through Friday and closed on Saturday and Sunday in their respective local time zones,[1] although some such as the Tel Aviv Stock Exchange and the Saudi Stock Exchange shift this to be
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
  Bonds  (3)
Introduction to Bonds (Part I) 1. Principal: This is the face value of the bond; the amount that the first bond buyer initially loaned to the company or government issuing the bond. This is also known as the par value. 2. Coupon Payment: This is the numeric amount of interest payments that are...
Stock Market A To Z: 26 Names, Themes And Trends To Watch (based on the article) A is for Apple "The stock trailed the broader market in 2016, but there may be tailwinds in 2017. Tax reform may include a provision that incentivizes the company to deploy its billions in foreign cash back to...
  Apple  (37   1 2 3 4)
AAPL Technical AnalysisL daily bullsh with 120.35 resistance to be testing for the bullish trend to be resumed Daily share price is located far above 200 SMA in the bullish area of the chart: the price is on testing resistance level at 120.35 to above for the bullsh trend to be continuing. If the...
I am looking for what are the best ways to make money with cryptocurrency
Thank you in advance for helping me! I'm coding automatic trading system in python. I'd like to get positions and close them automatically. However, mt5.order_send() returns None(not any errors but 'None'!) if request['position'] is input from pd.Series data. When I directly input position id code
Hello people! All right? When I change the timeframe of the graph, my EA triggers the invalid pointer error, currently I use many pointers, I noticed that with few pointers the error does not occur. I would like ideas and solutions for this situation. If I can keep working with the pointers better
I've been trying to code my strategy into an EA and i use all symbols and all timeframes when using my scalping strategy, i've been trying to do the same with the EA and end up with some error, i am still a little new to coding and my code may be completely wrong but someone help me out. If im using
Hi all, I couldnt find any solution that worked on the following problem: I added a new "Order function" to my EA, but everytime I get the warning "return value of OrderSend should be checked". The EA doesnt open any trades anymore. void BuyOrder() { //--- prepare a request
Hi Guys, For my EA I am using Bool function criteria's with return True/False to meet Buy requirement for example: if(MATRUE (){ Buy(); void Buy(){ trade.Buy(sizeOfShare, NULL ,Ask,Ask-stopLossPips* _Point ,Ask+profitPips* _Point , NULL ); } Now I want to make the same function but then to close
  Requests & Ideas (MQL5 only!)  (551   1 2 3 4 5 ... 55 56)
Terms and Conditions: You describe (you provide) the idea. I place an open MQL5 code in this branch. I place this code in a CodeBase. I specify the author of the idea and the author of a MQL5 code in a code. The coding services are provided "as is" and you use them at your own risk. List of ideas
Hi, I m new to mql5 and also for programming. I have a little problem I can't solve alone. I have written a little EA for buying or selling if a signal is occurred. For example: I wan't to buy once the price is obove EMA 20 and than the next trade should only be opened at the opposite direction when
bool Buy_Condition_1 = (maVal[ 0 ]>maVal[ 1 ]) && (maVal[ 1 ]>maVal[ 2 ]); // MA- 8 Increasing upwards bool Buy_Condition_3 = (adxVal[ 0 ]>Adx_Min); // Current ADX value greater than minimum value ( 22 ) bool Buy_Condition_4 = (plsDI[ 0 ]>minDI[ 0 ]); // +DI greater than -DI
FILE_SHARE_READ and FILE_SHARE_WRITE do not work proper. MQL creates buffers with different contents for the same file. Please watch the example. It´s one of these "Sometimes bugs". If you cannot provoke the shown output, play around with the lines, add more FILE_SEEKs or change the filename. If you
Hi, my understanding of logic regarding this event is, that it is sent when the chart changes. But it does not in many circumstances in MT5: 1. User changes the scale from normal to fixed scale 2. When bars are growing and exceed the current price scale 3. When the scaling (zoom) is changed These
image (function 01)-how I wrote the code image (tester 01 - tester011) mt5 strategy tester - I can't make a good calculation between (profit + swap) It always calculates some negative value for me, regardless of whether the position is positive. thank you!!!!! function code !!! long
Hi How can i &nbsp;get profit of last deal?
Hi, I have read this topic https://www.mql5.com/en/articles/690#NVidia that deals with using OPENCL to use gpu for computations , However , it has been written in 2013 , so i guess supported hardware is not up to date, My graphic card is a RTX 2060 , i have downloaded latest drivers but mt5 do not
Hi, I reported this issue already one year ago to MetaQuotes but never got a helpful response. Sometimes - don´t ask me when - a simple execution of functions like iClose(), iTime() or CopyRates(), CopyTime() whatever takes more than 30 seconds until the code-pointer returns. And of course, when you...
I'm new and I'm trying to move forward. Please help me. 1) I want to open only 1 position for this signal using "void " but I couldn't. :( 2) I have more than one signal. and I have a separate close signal for each signal. So I think I need to record the magic number and I need to use this magic
Hi, Does anyone know the precise indicator name of the SD indicator/s in the image attached? If you do please let me know. Thanks
Equidistant ChannelStandard Deviations ChannelLinear Regression ChannelAndrew's Pitchfork (let it be too)Another channel. Will write about it in the commentsNoneI do not have an opinion on the topicI just want to see the answer
  All John Ehlers Indicators...  (941   1 2 3 4 5 ... 94 95)
Hi all... I'm dedicating this thread to all indicators by John Ehler's in the hope that we can get/make as many of them for MT4 as possible. Please post any MT4 John Ehlers indicators that you have here as outlined in his books "Rocket Science for Traders", "Cybernetic Analysis for Stocks and...
Dear Forum Members, I am trying to code regular version of HAO into MTF one, but without solid programming background, I am not successful in that. Sorry guys... Could someone update the code of regular HAO (attached) to get its Higher timeframe capability please? To make that simpler, can use
  adding price tag  (1)
hi how can i add price tag to a custom indicator
Hello, Please, I am finding it difficult to repeat the box drawn on "x" amount of days, then also change the time to the current time in my plot, Using print function it is showing my time is 1970.01.01. Am still learning and this is the first code am writing with mql 5. int OnCalculate ( const int
This one is for those that use metatrader 5 Metatrader 5, unfortunately, did some things that hardly are logical. One of the things done by it is that builtin averages (and all the other builtin indicators) are not functions any more. That is as big a nonsense as it can get. Instead of making...
Hi Folks, I'm trying to figure out how to create an alert for when the CRSI goes above 70 and below 30. Can someone point me in the right direction? I can only figure out how to create alerts based on bids and asks. Thanks in advance and apologies if this was answered in another thread
how to put two indicators in the same window
I'm looking for a simple code/indicator just for those functions described in the image I sent, that while the EA is active, this information appears in the corner of the screen. it doesn't have to be weekly, just the information for the day. Thank you in advance
I'm looking for the chaikin money flow for MT5, but I didn't find anything here. If exist, can you share the link to download it
I made a very rough indicator with ObjectCreate/OBJ_TEXT that floats next to the current bar and I have these problems with it: - How do I position it? It is not just too close to the bar, it actually writes text over the bar and looks bad. I "fixed" that by padding the text it is supposed to print
Are the SymbolInfoDouble(_Symbol, SYMBOL_ASKHIGH) and SymbolInfoDouble(_Symbol, SYMBOL_ASKLOW) values correct? I feel that the value range of SymbolInfoDouble(_Symbol, SYMBOL_ASKHIGH) and SymbolInfoDouble(_Symbol, SYMBOL_ASKLOW) is too narrow compared to the value range of SymbolInfoDouble(_Symbol
Does anybody know how to work with iCustom when the mt5 indicator only has one buffer but it plots multiple colors ? like the braintrend indicator , it only has one buffer but it plots candles with two different colors
Hi everyone. I've really tried to solve this myself but after 3 full days I don't think I will. I just want to pass a single variable to an EA and I can't even do it with these simple scripts Indicator "DELETEind" : #property indicator_chart_window #property indicator_buffers 1 #property
MelBar Take 325 Percent 5.5 Years NZD-USD: NZD/USD (M30). Historical Data 18 September 2014 to 18 February 2020. Initial Deposit of US$500 acquires a Profit of US$1625.40 or Profit Return of 225% after 5½ Years.Result :Investment Gain $1,125.40ROI 225.08%Annualized ROI 24.30%Investment Length 5.42
New article Payments and payment methods is published: MQL5.community built-in services offer great opportunities both to MQL5 developers and ordinary traders with no programming skills. But all these features can't be implemented without in-house secure payment system, that provides a convenient
New article Developing graphical interfaces for Expert Advisors and indicators based on .Net Framework and C# has been published: The article presents a simple and fast method of creating graphical windows using Visual Studio with subsequent integration into the Expert Advisor's MQL code. The...
PY_Signal : Multi time frame signal Author: Purnama Yasa
New article Visual strategy builder. Creating trading robots without programming has been published: This article presents a visual strategy builder. It is shown how any user can create trading robots and utilities without programming. Created Expert Advisors are fully functional and can be tested...
  Indicators: Tipu MACD  (14   1 2)
Tipu MACD: Tipu MACD is one the popular indicators in the Market. The original code for Tipu MACD is modified by removing compatibility with Tipu Panel. This version of Tipu MACD is open for everyone who is interested in developing an Expert Advisor. Author: Kaleem Haider
  Experts: RoNz Auto SL-TS-TP v.2  (248   1 2 3 4 5 ... 24 25)
RoNz Auto SL-TS-TP v.2: EA for Automatic StopLoss, Take Profit, Profit Lock, and Trailing Stop. SL and TP could be hidden. Author: Roni Nafrianto
New article Neural network: Self-optimizing Expert Advisor has been published: Is it possible to develop an Expert Advisor able to optimize position open and close conditions at regular intervals according to the code commands? What happens if we implement a neural network (multilayer perceptron)...
Heiken Ashi Oscillator: This is one of indicators that falls into the price oscillators family. Instead of using "pure price" this indicator uses Heiken Ashi values to determine the trend as well as the "strength" of the trend. Additional signal line is added for two purposes: To use it as...
  Libraries: JSON Parser  (42   1 2 3 4 5)
JSON Parser: This is a Class for the new MQL4 that parses JSON. It requires the Hash.mqh class. Author: ydrol
  Experts: Cidomo  (5)
Cidomo: The Expert Advisor uses Buy Stop and Sell Stop pending orders. Author: Vladimir Karputov
Correlation market state : Correlation market state Author: Mladen Rakic
Correlation phasor : Correlation phasor Author: Mladen Rakic
Correlation angle : Correlation angle Author: Mladen Rakic
New article DiNapoli trading system has been published: The article describes the Fibo levels-based trading system developed by Joe DiNapoli. The idea behind the system and the main concepts are explained, as well as a simple indicator is provided as an example for more clarity. DiNapoli levels are...
Hi Dears, I'm experiencing low speed on back testing MT4 strategy tester. looking for 64 bit MT4 to level up the test speed, but the MT4 website keeps giving me the MT5 app in MT4 installation file !!! dose ant one have solution to this ? Br, Aras
I accidentaly uploaded a old proof of identity and i need to upload a new one, how can i do it? As i cannot connect to moderators and etc
  MT4 Support  (44   1 2 3 4 5)
Hello,  I've read that MetaQuotes will no longer be supporting mt4 after this year. Does anyone know if ea's designed for mt4 will still operate correctly after this year?   Thanks, AJ 
Hi, Indicators are usually posted on the upper left corner on the MQL5 site. Below the indicator there is a Download button. However, when I press the "download' button nothing happens. Long time ago I could download these indicators, but not anymore. What could be the problem? thanks in advance
Hi I want my robot to trade all pairs in the market watch window, I do write this program, but it dont trade at all, can guys please help, where i am gone wrong
Hi, I am running an exercise to close a position 20 candles after a MA Crossover . The code is made of 3 blocks, the 1st to open the trade, the 2nd to count the bars since the last MA crossover, and the 3rd to close the position. This code doesn't work and the position is closed immediately
Hi everyone, I have a little doubt. When using an EA is it possible that can access my account data, being able to hack?? It may sound stupid, buy i'm a little afraid.Anyone who knows help me pls. Thanks
Hey guys, I'm making this idea around old XMT Scalper system, as the developer has been inactive since early 2017 I'd like to continue from the base they left. I saw ASSAR EA based on the exact same code, they claim that it has some variations but I'm not sure about that. They've based Assar from...
Hello everybody, I need your help. I code a Program with two brokers respectively two MT4 Instances. The program opens a Buy Trade on Broker1 and a Sell Trade on Broker2 at a specific time. So in the next step I am going to close all trades at a later time. Both trades have to close at 0€. This
I have been using the following line: double ThisZigZag = iCustom(NULL,0,"ZigZag",12,5,3,3,0); in order to try to work out whether or not the indicator is going up or down but it just returns 0.0 (zero) all the time. I have spent all day trying to get some help and would welcome any suggestions.
I think i already knows the answer to this question but i'm asking anyway. When you do backtesting and optimization and you get the results and want to save them is there a way to save the cache that gets created when you run the test? I know I can save it as a html or copy all entries to excel but
I am trying to write to a csv file, but can't write past 280 lines. I am trying to write upto 2400 or more lines, only one double per line. The lines in the file are scores related to same line number in another file the same size. I read in the scores, modify them then write them all back in. As
Hi, I want to pick up the most recent object color. I have the indicator of rectangle. and I can read the color of the object and time of object draw. string name; for ( int i= ObjectsTotal ()- 1 ;i>= 0 ;i--){ name = ObjectName (i); if (ObjectType(name) == OBJ_RECTANGLE ) {
  Terminal window missing  (12   1 2)
I have been running MT4 on my laptop for several months. All of a sudden the terminal window won't appear? i have tried re-booting and several different profiles, no go. Any ideas will be greatly appreciated! Thanks, Steve
  Is this Normal?  (10)
Never experienced such before. Say we have 2 mt4 indicators both custom indicators. Then you use iCustom in indicator 2 to fetch some values from indicator one for calculations in some function. Issue is when I attach indicator 2 to the chart it seems to plot indicator 1 with all its buffers and