Hey :) I have an EA on an MT4 that needs to send a simple text message to another MT4 with an EA. See at the end of my text what I have already tried. It shouldn't be a method where the writing process has to be "opened" and "closed" first, because this leads to errors. I need a dll that will
Can anyone help me convert some pine script to an indicator I can use in MT4? Heikin Ashi RSI Oscillator — Indicator by JayRogers — TradingView // This source code is free to use, copy, and alter in any way you choose. // ...but credit is always nice :) //@version=4 //@author=JayRogers study(
Hi everyone. Can someone help me with %B indicator for MT4. Thanks and kindest regards
[Deleted]
Hi everyone, I would like an indicator buffer to be equal to it's previous value if a condition is not met. For example, I have PipsLenght = 0.001 (10pips) int limit; limit=rates_total-prev_calculated; if (prev_calculated> 0 ) limit++; for ( int i=limit- 1 ; i>= 0 ; i--) {
Hi! One question: I am testing this EA with strategy tester , I test using open prices, and on 1Hr I get positive results. Then I test again on 4Hr and I get negative results. And I change again to 1Hr and I get negative results. I am using always same dates for testing, same currency, all I am
Hello Guys, I'm having difficulty trying to sum up and collect Total Bull Candle Body size and Total Bear Candle Body size for each day(resets everyday) from M5 to a single shift in H1 using a double loop for a few hours, Still I coulnd't get it to work correctly. So, every shift on H1, I'm trying
im trying to open more than one renko offline chart but the pc keeps crashing. with one offline renko chart on gb/us everything runs just fine, no problems i tried putting the same renko indicator on a dj30 chart, as soon as i opened the offline chart everything froze up, i could not do anything and
hello, i'm still fairly new to trading, but i was wondering why was the price lagging so bad from what i see on tradingview to what i see on mt4? anything i can do to fix it
Hello friends am having challenges of renting vps for mt4 . when click on vps i was told to lunch mt5 platform and am not using mt5 platform can someone help please
Hi all! I have an EA that I sourced some additional code after the developer delivered it to me, and I've have ended up with two different ways to create strings: string comment= StringConcatenate ( "Today's Profit Target: $" , DoubleToStr( GlobalVariableGet (gDailyProfitTarget), 2 )); string
From my use of iCustom() in an Expert Advisor , and from several tests, I've made the conclusion that, in general, one cannot send or close orders on the same bar on which the signal is triggered. The reason for this issue is because: 1) the Indicator makes all its calculation 2) then it fills the
if ( (LongFilter== true &&TimeFrame==Weekly&&( iHigh ( 0 , PERIOD_W1 , 0 )- iLow ( 0 , PERIOD_W1 , 0 ))>Range*point&&Bid<WPL&& YL== 1 && iLow ( 0 , PERIOD_W1 , 0 )< iLow ( 0 , PERIOD_W1 , 1 ))|| (LongFilter== true &&TimeFrame==Daily&&( iHigh ( 0 , PERIOD_D1 , 0 )- iLow ( 0 , PERIOD_D1 , 0
Morning, So I'm plotting a horizontal line on my chart, except I'm not. My code is the following: double sma = iMA ( NULL , 0 ,10, 0 , MODE_SMA , PRICE_OPEN , 0 ); ObjectCreate ( 0 , "Horiz_Line" , OBJ_HLINE , 0 , 0 ,sma); ObjectSetInteger ( 0 , "Horiz_Line" , OBJPROP_WIDTH , 3 );
Good day, I'm still learning MT4 and I have this quick question. Once I dragged the EA to the chart and clicked the auto trading button on the tools bar, will the EA trade on all symbols or it only will trade on the symbol of the current chart? if so how to trade on all other symbols? Regards
I've been trying to make a trailing stop EA for a while, and this is the first time I've nail it, sort of. when I do the back test I get the error 4108 (Invalid Ticket), when the EA tries to modify an order. I think it shouldn't happen since I use the OrderTicket() function to get it, has anyone any
Hi Gentlemen and Ladies, Is there an existing indicator that shows previous day high and low that plots with a text as per photo? I have the indicator but i dont have that text at the end of each line, is it possible to edit the indicator and have that text added at the end of the line? anyone with
Does anyone know how I can edit the notification messages that are sent from mt4 to phone. The notifications are too long for me and I want to shorten them
[Deleted]
I'm currently looking for a good Mt4 broker for scalping since my previous broker's trading conditions were not getting any better. A broker with tight spreads and a commission cost of $8 would be fine. Any suggestions
Hi all I want to run my EA on all pairs but to open on one pair only. So for an example, EA is currently running on EUR/USD,GBP/USD,XAU/USD etc. The EA decides to open a trade/s on EUR/USD, my EA will open trade/s on other pairs. Please help on how I can prevent this from happening. #property strict
Hi All - I need help with the following scenario: Example I am creating an EA based on the EMA cross over/order. So when an EMA cross under I would do a sell and when it cross over I would do a buy. I am trying to close any previous position (buy/sell) when the EMA goes opposite to the order. If
#property strict #property indicator_separate_window #property indicator_buffers 17 //#property indicator_color1 DarkGreen // Color of the 1st line //#property indicator_color2 Navy // Color of the 2nd line //#property indicator_color3 Yellow // Color of the 1st line //#property
Full code in attachments. i can't understand why i can't properly move all active orders SL's to BreakevenPrice() Function simply not looping thru all SL's and return "Error 1" which means i try change SL with same SL, but BreakevenBuy() already moved father (ELI5 On attached image : I want to move
hello i have developed an EA that use to work well. but since almost a week ago when it wants to close orders, it gives me invalid Ticket and invalid Price error. the strange part is that right after the OrderClose a put an Alert to see if the Ticket or the Price is Wrong. but it is right. Alert
I take the original MQ RSI and add various levels, but the levels are above the RSI and it's ugly. How do I get them behind the RSI ? //+------------------------------------------------------------------+ //| RSI.mq4 | //|
Hello, I was wondering if is there anyway to acquire the date of the events from this function: void PrintCalendar() { MqlCalendarEvent events[]; //--- get EU currency events int count = CalendarEventByCurrency ( "EUR" ,events); Print ( "count = " , count); //--- 10 events are
Hello, Did anyone managed to connect MetaTrader4 to ***? What bridge did you use? Also I would like to use MetaTrader4 EA but*** is logging off overnight automatically. Is there any way to prevent this? Thank you in advance
I would like to be able to take the function below which saves a screenshot to a file and attach a listening function that saves a screenshot every 5 minutes or so. What would be the best way to go about this in mql? int start(){ if(!WindowScreenShot(StringConcatenate(Symbol(),"_",Period(),"_"...
A call to MessageBox() make subsequent calls to TerminalInfoInteger(TERMINAL_KEYSTATE_*) return incorrect result?
(11 1 2)
It looks like a call to MessageBox() breaks something in the ability of MetaTrader to detect key presses correctly. Consider for example this sample EA code: void OnChartEvent ( const int id, const long &lparam, const double &dparam, const string
How can I compare and close first and last order when they in profit? Meaning when EA opens 5 buy orders, compare 1st and 5th orders, close when they are in profit, likewise compare 4th and 2nd order, close when they are profit. Instead of closing all together, how can i close in this way? Can you
I need help adding 2 moving average filter to the buy and sell entries of this EA. The EA will place a buy order when the fast MA is above the slow MA and a sell order when the fast MA is below the slow MA. The source code is attached below
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.