MQL4 and MetaTrader 4 - page 253

//+------------------------------------------------------------------+ //| dASD.mq4 | //| Copyright 2020, MetaQuotes Software Corp. | //| https://www.mql5.com |
Hi guys, do you know how to block on MT4 the pop-up window that automatically open in any Internet browser after saving a backtesting? I look forward to hearing from you, thanks in advance for your help. Regards LG
Some one help me!! what happen ? I download MT4 in web and install!! but after finished is MT5
I see a message on my chart that says : Waiting for next tick ? Any idea why i am getting this message
  Ichimoku  (377   1 2 3 4 5 ... 37 38)
I started to test some Ishimoku EA and suddenly recognized that it is necessary to have more information about it. Thus we start this thread. I will try to post everything about Ishimoku indicator here
Hi there is a function that give me a outpot if the matket is open or closed ? (my broker is pepperstone) thank you
Hi Guys, Hope someone can help. Installed the MT4 Premium Upgrade tools onto my Oanda MT4 Demo platform. All the indicators and expert advisors work perfectly except the Oanda Orderbook 2_36_E expert advisor. I have contacted Oanda via email and chat but despite all their instructions i still get
Hello - I have copied a snippet of my code below. It is attempting to write a bunch of order information to file upon closing a trade. The order functions I use (OrderTicket(),OrderSymbol(),Order_Type,OrderOpenPrice(),OrderClosePrice(), etc) all write the correct values to file. However
Who can help me convert old version Indicator to new MQL4 version(build 600) Thanks //+------------------------------------------------------------------+ //| Nina_StepMA_1.mq4 | //+------------------------------------------------------------------+ #property
Hi.. in MT4, I want to check current running orders and want to place a condition that if there is NO current running order(either BUY or SELL) then OrderSend(...) in MT4 Regards
Hi all My EA should open one trade if the ADX crosses a level from below. Most time it works fine but sometimes it opens multible Trades. All at the same time in same symbol. I think the problem occours in this part of code. This part should just watch if the adx crossed the adx_low_level from below
Hey friends, im trying to find two level of Higher Low and Lower Low in a specified time frame and also two level of Lower High and Higher High i tried to find it by this following code but it seems not working and it just specifies Lower Low and Higher High, Does anyone have an algorithm to do that
I want to open 2 trades to take partial profits. Is there an easy way to do this quickly, as the price could run away while I'm making the 2nd trade
Hello Members, Looking for a simpler logic to find Lower High under a certain time limit. Please see the picture for better understanding. In this case, I can find Highest point with iHighest Easily. Highest_barindex = iHighest(NULL,0,MODE_HIGH,80,1) But how to find the Lower High point X?  Thank...
Hello I am looking to close a trade that i am in for the duration of 1 bar based on the prev 2 bars. if the parameters fit i enter a trade, but when i set my takeprofit to the close of the current bar it will look to execute a close order immediately as it takes the current close price and not the
hello, is there a way to convert mql4 Script to Ninjatrader 8 Script
  Swap prices  (4)
Why are the swap prices so high
  zero divide  (9)
hello, i got an issue with backtesting my ea... when i go to my mq4 file and check that line, i turn out to this..: double BasketTP( string type, string s) { double PriceSum= 0 ; double LotSum= 0 ; for ( int i= 0 ; i< OrdersTotal (); i++) { if ( OrderSelect (i, SELECT_BY_POS
Hi I am trying to allow my EA to have the ability to trade on either Monday, Midweek (tu,we,th) or Friday. Or possibly a combination I created 3 boolean values with midweek set as true as a default:- extern bool Mon = false ; extern bool Midweek = true ; extern bool
void CloseBal() { if (AccountEquity()<=MinEquity && AccountEquity()>= AccountBalance()+ Maxprofit ) { for ( int i= 0 ; i< OrdersTotal (); i++) { The maximum profit seem doesn't work
hi, i'm having a problem with my ea. the point of the strategy is that when the ema of 9, the ema of 8 and the ema of 13 periods cross the sma of 20 there will be an operation (only one at a time) but when compiling it does not give me errors but in strategy tester does not open operations does
  EA not working  (3)
Recently coded an EA and I thought itd be good to begin my forward testing phase, but for some reason it wont work !!!! It'll work in backtest, but when dragged onto a livechart in a demo account it wont open any orders. Any insight to this ??? Im sure its something simple, is there supposed to be a
Hey guys, Nice to meet you all. I'm new to the forum I want to create an Expert Advisor (Hedging EA) for the conditions below: 1. For Buy Order - 0.01 lot - SL = 0, TP = 30 pips If the price goes down to 30 pips below the open price of the Buy Order, it will: --> Sell immediately: - 0.03 lot - SL =
Hello everyone! Im trying to build a Dashboard that will alert me when price comes to a Supply/Demand zone.... I want to build the Dashboard with 2 indicators. The problem i have is, i dont know how i should pass the certain variables from the indicators to the Dashboard EA.... The "Peak HiLo
Ideally, I would like to end up with an array like [(O,H,L,C) 0 , (O,H,L,C) 1 , (O,H,L,C) 2 ... (O,H,L,C)n] where every tuple represents a candle and n=periods, n defined by me
hi.i have a question! i wanna start to create my own expert and if i run expert and close mt4 , do the expert works
Hi I need to recognize if the symbol belongs to fx, CFD or Futures. Should I used this? MarketInfo( _Symbol , MODE_PROFITCALCMODE) Is profit calc mode the correct way to figure it out? Please note that I want to do it programmatically. Any help would be appreciated. Added later: Let me explain more
I know the documents have everything I need to know. I even have the "Expert Advisor Programming for MetaTrader 4" book. The problem for me is just that I have no programming experience before this. So, I can manage with these resources but it's a real struggle for me. It's basically trying to learn
Is there already a solution to automate these: right click, save picture as, active chart (as is), save into IIS image webfolder where I can open from phone's web browser
Hi, Appreciate if anyone can help me modify EA code below to play sound/alert ONLY when iSAR value transitions from below the bid price to above the ask price and vice versa. Thanks, Alfie. void OnTick() { string signal=""; double MySARValue = iSAR(_Symbol,_Period,0.02,0.2,0); if