MQL4 and MetaTrader 4 - page 124

I want to execute this command line by buiding script by shell32.dll in mt4 curl "-X POST -H "Authorization: Bearer +token+" -F "message=Hello " https://notify-api.line.me/api/notify"; extern string token =";askdjfeiwlll"; input string executablename ="curl"; input string commandline = " -X POST -H
  VPS  (3)
I have just rented a VPS and installed it. There is nothing happening and now I can't log on to my broker account in MT4. Can anyone advise please
Hello everyone I have a PC with very good resources, multi-core processor, but when I do a backtest, the time is usually the same as a test with a few cores. I have read that for backtesting, MT4 uses only one core. Is there a way to make MT4 use more than one core, and thus take advantage of
Hello everyone. I've been testing some variations of the HMA histogram indicator, however quite a few of them seem to repaint, including the one attached (which I found ironically on a thread from another forum which listed indicators that supposedly do not repaint..) Can anyone post versions of
hi i want to move button with price i am unable to make it work can someone please help. sorry i am new to mql oncalculate i am calling objectmove but its not working. Thanks!! //+------------------------------------------------------------------+ //|
Hello, I have found the script 'listallsymbols.mq4' that is very useful to get the extensive symbol list for currency pairs. This does not include CFD symbols or any symbol that does not have 6 characters. I am wondering if such a script exists that covers all symbols, including CFD's with variable...
Hi! My EA placing orders while i backtesting. when i run with live account no orders placed. Error message is: OrderSend() error - trade is not allowed in the expert properties Please advice me to fix this error.
[Deleted]
Hi, i want to find th e maximum value for an indicator, I've had a couple of goes but hasn't worked. int BarIndexHigh() { int BarsToCheck= 400 ; double IndicatorValues[ 400 ]; for ( int i= 0 ; i<BarsToCheck; i++) { int BarIndexHigh= ArrayMaximum (,IndicatorValues, 1 );
Some of the indicators repaint and always need to refresh to get the result. How to make the MT4 auto refresh itself?
  Adding shift to indicator  (17   1 2)
Dears, Good day, Kindly need to add shift from +10 to -10 ( back bars ) to the attachment indicator. Thanks in advance
Do you guys have some other alternative for displaying a number in the chart window in a desired format other than NormalizeDouble function? I am asking because I have been using this function and, while this works quite ok in most of the cases, sometimes it seems to fail. Scenario : I am making
hello everyone. I am looking to save previous 10 prices changes in an array, and use these prices to see if the current price is above or lower then last price. I want to do this becuase i want to manage open orders. I know i have to create an array. but i dont know the
Hello, i found this mtf indicator not repainting the present and last bars as long as the MT4 is connected. once MT4/chart reset, it recalculate/repaint the values. can anybody help to make it NOT repaint the past at all? for example: i use typical parameter values: time frame=H4 (over m15 chart)
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--) {
  Strategy Tester  (2)
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
  VPS FOR MT4  (1)
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
  Else If  (2)
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