MQL4 and MetaTrader 4 - page 295

I'm trying to run an EA, I wonder why just the green button in MetaEditor4 is available to run my EA, the blue ones are disabled. what are the reasons that make an EA force to run in live but not in history mode in Strategy tester
  MT4  (2)
Hi i would like to install MT4 to my PC but it still install MT5. Can you help me with that please? thank you
Hi I need to fill between buffers with solid color, smooth and without zoom in problem. How built-in ichimoku do it prefect but published source code of ichimoku not? ( Please check screen shot to understand my mean) I know it is possible to do it by drawing too many triangles but it makes mt4 very
I am using this code to test my order modify function but is not working and it is returning false. Please what could be the problem. I am still learning. Thanks for your kind help. //+------------------------------------------------------------------+ //|
Hi, Is this indicator a repainter ? Please message me if I am not suppose to post here...... let me know where I can get help for this ? Thank you, Taylor <Decompiled code deleted>
I have some questions about MQH files in Meta Trader 4. I 'v never used files like that in MQL4 programming and I would like to know: 1/. What for are the MQH files? What can I obtain using this files? 2/. Is it possible to import the external DLL library into MQH file and next include this MQH file...
Hi all, I create an EA that works on multi timeframe. The order send function would be initiate in the smallest timeframe. I want to know how I can using order send function to open a position in the smallest timeframe since there isn't any timeframe selection in order send function. Thank you
Is it possible? I would like to create an alert, for when the combination of the two indicators show the arrows simultaneously on the same candle. The alert will be output according to the arrows. I don't have the .mql4 files for the indicators, just the .ex4
Dear Experts, I want to delete all of the trading history of a specific ECN account in mt4. Is it possible? Please help me, i would be very grateful. For better understand please see the picture
I use Beeks VPS. the specs are 1 core cpu, 1.3G memory. I made an EA uses GlobalVariableSet and Get high-frequently for MT4. After i launch the EA, I realized that ping speed was up comparing with one some hours ago. I don't know why. but i think the reason is connected with memory leaks? Do you
How do I call this indicator by iCustom using an EA? TSI=iCustom(symbol(),Timeframe,"TSI"
Time Bars: Bars indexed by time intervals, Tick Bars: Bars indexed by orders Volume Bars: Bars indexed by total volume Dollar Bars: Similar to volume bars, except measuring the total value in USD traded hands. An example would be $100,000 bars, with each bar containing as precisely as possible that
I search google and mql forum but i cannot find what code for column in excel. I able to do for rows but column unable to solve....Here code //+------------------------------------------------------------------+ //| Demo_FileWrite.mq4 | //|
Hello guys. I am having some issues with overlaying different types of drawings of different colors on MT4. As you probably know, the colors will change due to MT4 inverting colors. I have 2 questions: 1. Is there any setting in MT4 to stop the inverting of the colors??? 2. I have noticed that some
I would like to increment in the array. For instance, if the low of LF[0] is greater than the low of LF[1] then increment to LF[2]. And how do I draw a trendline from one element in the array to another. //+------------------------------------------------------------------+ //|
hi guy i look this page https://www.cftc.gov/MarketReports/CommitmentsofTraders/HistoricalViewable/cotvariablestfm in this page i saw Dealer_Positions_Long_All ---------------> commercial Asset_Mgr_Positions_Long_All -----------> big speculator Lev_Money_Positions_Long_All ---------->
Hi, I'm experimenting with multi time frame indicators. I want to trade when M5 and M1 agree IE these are both MACD M1 and M5: if (faster_1 > slower_1 && faster_2 > slower_2) For some reason the M1 seems to just trade regardless of M5 agreement See code
can someone please modify this indicator so it sends an alert every time it changes colour from blue to red
[Deleted]
Is there a way to attach or remove a particular EA mt4 script to mobile app like iPhone or Android and do the trading by enabling the EA script? If there is an option for this, kindly please let me know the steps to do this. Thanks alot
Hi guy, I need display my custom indicator that consist on two different buffer. Can I display these two different buffers on two different charts? I'm grateful on your help. thank you
Hi all, I have an indicator I have coded that displays a buy/sell arrow when certain conditions are met. I want an alert sound when a new arrow appears and for the sound alert to play only once. The code below continues to play the alert sound on every tick . I get why it does but how do I amend it
Hello dear guardians, a part of my EA displays the sum of all open buy trades PL on the side of the chart, it works. but the problem is that every couple of seconds the normal 1.23 format profit turns into something like 1.2399999999and then very quickly goes back to 2 decimals(hence the lack of
Hello guys, Someone could help, I don't know how to close an order at a specific price. For example, I say I want to close my order at 1.1850, this value is an external input. My problem is that when I set the value, my script closes my order instantly regardless of the price that I had set (in
I have used mt4 for so many years and this is a constant problem. On dragging the crosshair, it keeps disappering before I can drag it to point B from point A to measure the number of pips. I've tried pressing shift, control , and alt with it, but it still disappears before I can reach point B. Is
How do I change the drive MT4 is saved on while maintaining all my information that is connected to that terminal? (EAs, indicators, accounts, set files ect) I tried moving both the MT4 terminal to D: drive from C: and moved the whole data folder to the same place while maintaining the sub
Hiya, I'm very new to MT4 and I wanted to know if I can create a robot that allows me to execute multiple trades at the start of the USA open (i'm in the UK). I usually have circa 20 trades to place at once and I tried doing market orders before the open only to experience slippage and major loss
Hi My query is , " how to calculate price of the signal candle?" Can any one help me please? Below is my code for indicator. //--- indicator settings #property indicator_chart_window #property indicator_buffers 2 #property indicator_type1 DRAW_ARROW #property indicator_width1 5 #property
if i want to know last trading day 16:45 (M1) that bar. how to do this? i made a code which can know the previous 16:45 bar (M1), but if Current time pass 16:45, let said 16:50, this code only can know the previous bar 16:45 (M1), but i want to know last trading day 16:45, even if today current time
Hello, According the new FIFO rules of NFA the first open position must be closed first. At first glance I wrote this code: int ClosePositions ( string symbol ) { int orderstotal = OrdersTotal ( ) ; int orders = 0 ; int ordticket [ 100 ] ; for ( int i = 0 ; i < orderstotal ;
Hi All, I'm trying to convert amounts from base currency to my deposit currency but i got stuck with MarketInfo that gives me zero when i use it like this: MarketInfo("EURUSD", MODE_ASK); I checked that the currency pair "EURUSD" is available in MarketWatch. Thanks in advance for your help