Off-topic posts - page 14

 

Greetings to all !

Lately I've been trying to create an Expert Advisor for myself. However while coding for the same; I've been receiving errors which i have failed to understand and rectify as i lack expertise in the language .I've attached the screenshots for the same below.Although I understand it may not be accurate so if any other errors are noticed please inform me.If someone could provide some tips or be willing to aid in rectification of the code ; It'd be of great help.

Error received : Errors.png
line for error 2 : Errors 2.png 


Error 3 : Errors 3.png

Thanks!
Files:
Errors_2.png  138 kb
Errors.png  137 kb
Errors_3.png  144 kb
 

I am Jasmin Louis I have an account with Hougosway MT4, when I download MT4, I see only account, but I don't have MT4 platform, how can you help me to resolve that ?

What can I do to fix that?

 
2132940266
  1. Keep pinging the forum (#3 #4 #5 #6) Soon a moderator will be tired of you and ban you.
  2. Why did you post your MT4 question in the Root / MT5 General section instead of the MQL4 section, (bottom of the Root page?)
              General rules and best pratices of the Forum. - General - MQL5 programming forum
    Next time post in the correct place. The moderators will likely move this thread there soon.

  3. If you had used this (before posting,) you would have found (among 100+) Where to download MT4? - General - MQL5 programming forum 2017.04.31

    It has been years since you could download MT4 from Metaquotes. You can only get it from a broker's website.
              Where to download the orginal MT4 installer - MQL4 programming forum 2018.01.29

    Possibly the "clean MT4" download link:
              MT4 download - General - MQL5 programming forum #2

    Possibly MetaQuotes' MT4 Installation Link

 

Hi Guys, 

I have another problem.


Maybe someone can help with this one. 


I got this mq4 file for an indicator for a TMA Band Indicator, some call it trend corridor or band but its showing a few errors on meta editor please can someone help with 2 things...


1. Get it to work deal with the errors

2. Add Push Notifications to the code. 


Thanks. 

Files:
TMA.mq4  9 kb
 

Hi,

Hi All,

I am new to MQL4 programming. I am trying to get all the values from a Traditional MACD indicator(not the default MT4 MACD) using MQL4 iCustom function. But most of the time i am getting all the indicator values as 0 or 0.0001 and not returning the correct values. Could you please let me know if I am missing something in the following code snippet ?

Code: 

      string indicatorName="\Market\**** MACD MT4" // indicator name including path
      int fastEMA=12;
      int slowEMA=26;
      int signalSMA=9;

      Print ("lastMACD:", iCustom(_Symbol,_Period,indicatorName,fastEMA,slowEMA,signalSMA,0,1));
      Print ("lastSignal:", iCustom(_Symbol,_Period,indicatorName,fastEMA,slowEMA,signalSMA,1,1));
      Print ("lastHistogram:", iCustom(_Symbol,_Period,indicatorName,fastEMA,slowEMA,signalSMA,2,1));

Output: 

    2020.05.30 23:52:38.010	2020.05.28 16:20:00  MACDSample GBPUSD,M5: The latest known seller's price (ask price) for the current symbol=1.2302

    2020.05.30 23:52:38.010	2020.05.28 16:15:00  MACDSample GBPUSD,M5: lastHistogram:0

    2020.05.30 23:52:36.488	2020.05.28 16:15:00  MACDSample GBPUSD,M5: lastSignal:0

    2020.05.30 23:52:35.051	2020.05.28 16:15:00  MACDSample GBPUSD,M5: lastMACD:-0.0001

    2020.05.30 23:52:29.910	2020.05.28 16:15:00  MACDSample GBPUSD,M5: The latest known seller's price (ask price) for the current symbol=1.2314

    2020.05.30 23:52:29.910	2020.05.28 16:10:00  MACDSample GBPUSD,M5: lastHistogram:0

    2020.05.30 23:52:28.676	2020.05.28 16:10:00  MACDSample GBPUSD,M5: lastSignal:0

    2020.05.30 23:52:27.436	2020.05.28 16:10:00  MACDSample GBPUSD,M5: lastMACD:-0.0001

    2020.05.30 23:52:22.327	2020.05.28 16:10:00  MACDSample GBPUSD,M5: The latest known seller's price (ask price) for the current symbol=1.2301

    2020.05.30 23:52:22.327	2020.05.28 16:05:00  MACDSample GBPUSD,M5: lastHistogram:0

    2020.05.30 23:52:21.021	2020.05.28 16:05:00  MACDSample GBPUSD,M5: lastSignal:0

    2020.05.30 23:52:19.512	2020.05.28 16:05:00  MACDSample GBPUSD,M5: lastMACD:-0.0001

    2020.05.30 23:52:14.239	2020.05.28 16:05:00  MACDSample GBPUSD,M5: The latest known seller's price (ask price) for the current symbol=1.2291

    2020.05.30 23:52:14.239	2020.05.28 16:00:00  MACDSample GBPUSD,M5: lastHistogram:0

    2020.05.30 23:52:13.005	2020.05.28 16:00:00  MACDSample GBPUSD,M5: lastSignal:0

    2020.05.30 23:52:11.767	2020.05.28 16:00:00  MACDSample GBPUSD,M5: lastMACD:-0.0001

    2020.05.30 23:52:06.792	2020.05.28 16:00:00  MACDSample GBPUSD,M5: The latest known seller's price (ask price) for the current symbol=1.2295

    2020.05.30 23:52:06.792	2020.05.28 15:55:00  MACDSample GBPUSD,M5: lastHistogram:0

    2020.05.30 23:52:05.542	2020.05.28 15:55:00  MACDSample GBPUSD,M5: lastSignal:0

Many Thanks.


 
Alagu Sundaram:

Do not double post!

I have deleted your topic with the same questions.

 
Keith Watford:

Do not double post!

I have deleted your topic with the same questions.

Dear Keith,

I am new to this forum and it's not my intention to double post. Since I didn't get any reply for last 2 days, so I was not sure if i have posted it in the correct forum, so that's why I have posted it  again today morning under a different forum. Could you please let me know the appropriate forum where i can post my above query ?

Many Thanks.

 

Is your enquiry related to the indicator featured here?

If so, then you are in the correct section.

If it is a market product, then you may get more info by posting your question in the comment section for the product.

If not, then it should be in the MT4 section, but you should at least list all the indicator's inputs.

 
Keith Watford:

Is your enquiry related to the indicator featured here?

If so, then you are in the correct section.

If it is a market product, then you may get more info by posting your question in the comment section for the product.

If not, then it should be in the MT4 section, but you should at least list all the indicator's inputs.

Dear Keith,

Many thanks for your reply. I have downloaded the  MACD indicator from the the market. I will repost my query in the comments section of the product. Could you please delete my query in this current thread so that I can repost again ? 

Thanks.

 

i found a strategy from tradingview.com, how can i apply it on mt5 as a trading robot?

Reason: