MQL4 and MetaTrader 4 - page 274

Hi all, I want to create an EA based on ichimoku strategy. My problem lies when I want to close the open order. The strategy is when the chikou span or lagging indicator touches the bar then the open order will be close. My attempt is to count the bar using this code: int FuncBars( int shift) {
Hi Friend Can someone help me how to extract previous three HH, HL, LL and LH from the code of ZigZag indicator? I have removed the indicator functionality portion from the code, so it can be suitably modified to convert into a function. I would like to convert it into a function. Thanks in advance
I have Broker Server IG-LIVE, I am not able to find in MT4 Terminal from other Broker. How do I fix it. On MT4 Terminal of NON IG.com Broker Terminal I tried below Accounts --> Open Account -> Add New Broker Like --> IG-LIVE and it does not find this broker. I tried above on two different non IG
What happens to the spread for buystop or sellstop if for example a buy stop is placed at 1.16533, when spread was 15 points, and when price rose to 1.16533 the spread was 10 points and continued to exit at takeprofit for 50 pips at 1.16583? Did it mean the order closed with 15 point spread at
Hello, I am trying to add a push notification to my code. But its seems its not working can anyone help me
Is there a way method A would work ? (to include a library if its not included already if it is required) #property version "1.00" #property strict #include <Canvas\Canvas.mqh> //A : #ifdef CCanvas string message_from_a= "CANVAS IS INCLUDED" ; #endif #ifndef CCanvas string message_from_a= "CANVAS
I am trying to automatically create a TextObject on the chart as a specific Bar/Time and Price, but I can't get it working. I tried the examples given in the MQL Help, but they don't show any text, they don't seem to work at all. What is the minimum amount of code needed to draw a Text Object with
I want to know any custom indicator that can show end of trend. Near end trend mean it will loose volume and momentum. Or small Lower low /higher high and no more high or low. Can someone suggest me
Hi, i have an excel file with export of all trades of MT4 backtest. Is it possible to link a recod and have MT4 open on a specific symbol and authomatically navigate to a specific time in the past? To be more clear i need to click on a specific trade in excel and view on MT4 the chart of the time
  MT4 Tabs  (2)
Hi, Is there an option or add-in to MT4 charts to "High-Lite" in colour the active Tab on the bottom of the MT4 Charts.......at the moment each Tab is White in colour with the active Tab identified with an almost indistinguishable "High-Lite" . Any assistance would be greatly appreciated
Hi, I' having a hard time with changing the SL and TP of all active orders. See code below, It seems to never close trade 1 (order 0). Should the below code not change all orders to the same stop loss and take profit? for ( int i= 0 ;i< OrdersTotal ();i++) { if ( OrderSelect
Im having issues with my ea entering at fibo levels. I want the ea to open at each fibo level once. And when there are new fibo levels higher or lower it should again enter at all fibo levels once. I tought i could do this with order comment but i dont get it right. It open at 23.6 and then create a
Hi, I'm testing this ea and I think it's very useful to close orders, but in my case I don't want to close all open orders, I just want to close only the profitable orders. I've changed the "CloseProfitableTradesOnly" value from false to true, but orders keep closing at 1 usd. And what Im looking is
Hello all, I'm new to this forum and MQL4 in general. While practicing with the code, I have created a custom signal based on Bill Williams' Alligator indicator for EA testing purposes (Jaws 13/1, Teeth 8/1, Lips 5/1). But it looks like I have forgot something... Can you help me? The code for OPEN
Can I share my IB link on my mql5 profile
  helpppp! I m new  (4)
Hi! I m new.. I need help please! I m a begginer of mql..very begginner. My experiment with EA don t work. it open only OP_Buy. Are two days that i try to understand what is the problem. I m blind. Please help! Thank you
Hi, Did someone have a formula how i can calculate lotsize depends in stoploss and freemargin? E.g Accountbalance:1000$ Freemargin:1000$ StopLoss: 100pips How can i determine the lotsize
Hi all, I've just started to try and learny by myself mql4, however i'm finding it very difficult to understand the documentation that comes with it/provided in here. I'm not a very technical person, and everytime I revert to the help/doc I find a simple matter explained in an even more technical
I need help for buffer value calling. I hope this forum help me. here is its buffers int init() { IndicatorBuffers( 6 ); SetIndexBuffer ( 0 , Trend); SetIndexLabel( 0 , "SuperTrend" ); SetIndexBuffer ( 1 , TrendDoA); SetIndexLabel( 1 , "aaaaa" ); SetIndexBuffer ( 2
Hi I need an indicator with 3 Exponential Moving Average like "<Deleted>" ,thus I need to change an indicator "<Deleted> that in this indicator I have to change MA method to Exponential and Apply to to Typical Price Can anyone help me ? Thanks. Files : <ex4 file Deleted> 3sma.tpl
If I backtest an expert in my demo account - it works fine. Gives me report/graph/etc. If I log into my live account and run the same thing - I don't get a single trade. The report shows the starting balance and no activity. This is the same for the sample experts that came already in MT4 as...
//+------------------------------------------------------------------+ //| 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