iCustom for MT5 - Writing experts using iCustom

Поділитися
Вставка
  • Опубліковано 28 жов 2024

КОМЕНТАРІ • 76

  • @panganaikelatlheletswe6352
    @panganaikelatlheletswe6352 Рік тому +3

    I love that unlike other channels you share everything and every detail.
    I have just started coding and your videos are very informative

  • @TheCapolista
    @TheCapolista 3 роки тому

    you are hero bro...i am a expert creator but mt4, i am always confuse if using mt5, now i understand, thanks a lot brother..

  • @rezasadeghi2520
    @rezasadeghi2520 4 роки тому +5

    Cheers, Loving it, like always clear and educational!

  • @vahidhosseinzadeh5202
    @vahidhosseinzadeh5202 3 дні тому

    Thank you for this usefull and perfaect video and sharing templates ❤🙏🏻

  • @dashoshea9540
    @dashoshea9540 3 роки тому

    Great explanations every step of the way ! I thought learning MQL5 was way to hard, but your detailed videos are giving me hope . Its hard to find well explained MQL5 learning material like this.
    Great Job mate !

  • @AndrewBrandford
    @AndrewBrandford 9 місяців тому

    Excellent video, very helpful, thank you. Around 8 mins you discuss looking at the data window to determine the index number but I see a potential issue here: 1) What if somebody were to clear the chart down at a later date and this time add 2 indicators alongside the EA, say RSI then MACD, would that then break the EA? 2) In the case of an EA multiple indicators, would the indicators always be loaded in the same order when starting up? Your thoughts on this greatly appreciated.

    • @borntodoit8744
      @borntodoit8744 6 місяців тому

      Test it yourself
      Run indy1 & see what index values are
      Run indy2 & see indexes
      Run indy1 & indy2 to see indexes
      Then think
      Issue mitigation: if problem try only calling one indy1 using one iCustom and think another way to get indy2 into EA.

  • @vianneyluyima5094
    @vianneyluyima5094 2 роки тому

    Thanks alot for this. God Bless you.

  • @alexandre5341
    @alexandre5341 2 роки тому

    Very Good! Thank you for the template code!

  • @javohir307
    @javohir307 2 роки тому

    Thanks man, this video is very helpful, appreciated !

  • @BeGood678
    @BeGood678 Рік тому

    @15:34 CopyBuffer function doesn't behave that way anymore. It copies to the destination array as the index array once you set the destination ArraySetAsSeries as true.

    • @OrchardForex
      @OrchardForex  Рік тому

      That is the way it has always behaved, notice in this video I didn't use ArraySetAsSeries. Even then, the copy works in the same way. ArraySetAsSeries changes the indexing into the array works, not the direction of storage in the array.

  • @prasadjadhav4487
    @prasadjadhav4487 Рік тому

    This is very good video...do you also have any video where we can take values of arrows from indicator and place buy sell trades automatically

    • @OrchardForex
      @OrchardForex  Рік тому

      Amazing what you can find if you look. ua-cam.com/video/vifnkkHhxaQ/v-deo.html

  • @petarpetrovic5453
    @petarpetrovic5453 3 роки тому +1

    This is fantastic video...
    I would like to use divergences (hidden and normal) in my EA, but don't know how to manage not to use every single peak or of-peak... In other words, I would like to create EA which takes in to account only swings of the same degree, and reduces noise between ''main peaks''... It is easy when you trade manually and actually see the chart, you can decide which tops or bottoms you will use, but how to do it with EA? Hope my explanation is not confusing. If so, please share any EA (or idea), which deals with divergences... Thank you in advance.

    • @OrchardForex
      @OrchardForex  3 роки тому +1

      You want something like take the average of the last N highs or lows, perhaps discard the highest and lowest of each, maybe get the SD as a way of building a channel around the peaks.

  • @Roberts3305
    @Roberts3305 4 роки тому +1

    there on youtube are a lot of video about experts creation, but much less about indicators creation.

    • @OrchardForex
      @OrchardForex  4 роки тому +2

      That reflects the much higher demand from viewers for experts.

  • @mr.adamprince4853
    @mr.adamprince4853 2 роки тому

    Thank you very much.

  • @DestoTrading
    @DestoTrading Рік тому

    Great video, tried it. Any idea why a custom indicator would not show on the chart/backtests?

    • @OrchardForex
      @OrchardForex  Рік тому

      On MT5 they usually show automatically. Maybe the indicator author has prevented it from showing to protect their IP

    • @DestoTrading
      @DestoTrading Рік тому

      @@OrchardForex both cases I tried were the PSAR and RSI. I'll review again if I missed some of the instructions

    • @OrchardForex
      @OrchardForex  Рік тому

      @@DestoTrading There is no code to write, indicators show on backtests by default, but not on charts.

    • @DestoTrading
      @DestoTrading Рік тому

      @@OrchardForex that is my understanding as well, but for some reason they do not show in backtests. Weirdly, the ATR does show up. It is MT5.

  • @productvisibilitytvshoppin1107
    @productvisibilitytvshoppin1107 3 роки тому

    You are like a breath of fresh air! Thank you very much for this. Do you have a training course for coding?

  • @wallstreetfxpro723
    @wallstreetfxpro723 2 роки тому

    how can i add two indicators.. i have a nice strategy but struggling to code it. wil you be able to help me please to code it..
    it only takes sells with no stop loss as stop loss doesnt work on boom1000 with a tp of 5000 pips adjustable.. it must have the opion to either buy or sell and can be switched on and off..
    please kind sir.. i have the indicators its only 3. how can we communicate

  • @TheEcherriman
    @TheEcherriman Рік тому

    Hi, thanks for your help. I'm confused with the indices for iCustom vs (for example) iATR, The latest for price, iATR and so on, is index 0 whereas for ICustom the latest is 1. Do you have any explanation for this, please ?

    • @OrchardForex
      @OrchardForex  Рік тому

      No, the latest for all is 0, or if you haven't set the array to ArraySetAsSeries then ArraySize()-1

    • @TheEcherriman
      @TheEcherriman Рік тому

      @@OrchardForex Thanks again - I got confused with the video at about 17:24 where currentMACD = BufferMACD[1] and priorMACD = BufferMACD[0]

  • @ilyaskhan.1994
    @ilyaskhan.1994 Рік тому

    Hi how can I just trade the macd signal line cross by tick without a closing candle confirmation. If the the macd line crosses over the signal line I want to buy right away. I thought the current value is index 0 in the arrays I am getting confused lol. Thanks

    • @OrchardForex
      @OrchardForex  Рік тому

      Yes the current bar is usually number 0, but for indicator buffers in MQL5 it will be ArraySize(buffer)-1

    • @ilyaskhan.1994
      @ilyaskhan.1994 Рік тому

      @@OrchardForex ah ok thanks, I was wondering if you could show how to implement a RSI that is calculated based on heiken ashi candles that can be used in an ea. Thanks

  • @tititutu5489
    @tititutu5489 Рік тому

    thank you it works

  • @productvisibilitytvshoppin1107
    @productvisibilitytvshoppin1107 2 роки тому

    Hello Arthur, good day to you. I have two questions for you,
    1. Could you use two iCustom indicators in one EA? Let's say for example, same symbol but two timeframes.
    2. Could you use two EA's on the same chart?

    • @OrchardForex
      @OrchardForex  2 роки тому

      1. Yes, as many as you like.
      2. No. I thought you could in MT5 but just tested and I couldn't. But you can open the same symbol/timeframe in a different chart and run another EA there

    • @productvisibilitytvshoppin1107
      @productvisibilitytvshoppin1107 2 роки тому

      @@OrchardForex I tried using iCustom in an EA for both a 1min and 5min timeframe using the technique on your video. I couldn't get it to work. I will try again and see if I can find a solution.

    • @productvisibilitytvshoppin1107
      @productvisibilitytvshoppin1107 2 роки тому

      Ok, I found a solution. Using the one indicator I copied it and used a next name for the copy: then I changed the magic number in the copy and then I duplicated the buffers and indices and named them accordingly:
      const string IndicatorName = "Buy & Sell (Moving Arrow) Indicator";
      const string IndicatorNameX = "Buy & Sell (Moving Arrow) IndicatorX";
      Then for the handles:
      HullHandle= iCustom(Symbol(),Period(),IndicatorName);
      HullHandleX = iCustom(Symbol(),PERIOD_M5,IndicatorNameX);

    • @OrchardForex
      @OrchardForex  2 роки тому

      @@productvisibilitytvshoppin1107 I have no idea why you wanted to make a copy of the indicator. All you need to do is create 2 handles using different timeframes but if this works for you then go ahead.

    • @productvisibilitytvshoppin1107
      @productvisibilitytvshoppin1107 2 роки тому

      @@OrchardForex I tried your approach initially and I couldn't get it to work. I thought it was going to be that simple until after a few days I still couldn't understand why it wouldn't work so I started looking for an alternative approach. In all it took me about 2 weeks to get that solution.

  • @muratgurpnar3632
    @muratgurpnar3632 4 роки тому

    Loved it very beneficial thanks a lot but I have a problem hope you can answer; When I use the expert advisor (which I ve created with your method) in strategy tester It is not working Unless I enable visualized mode

    • @OrchardForex
      @OrchardForex  4 роки тому +1

      I have just tried both of the EAs and they work in both visual and non visual mode. In non visual what are you expecting to see, they complete very quickly and you won't know they have run unless you go to the backtest or graph tabs to see the results.

    • @muratgurpnar3632
      @muratgurpnar3632 4 роки тому

      @@OrchardForex Yes If the indicator is predefined by MT5 it works however with self made custom indicators it doesn't. The reason why I want nonvisual mode is that I want machine do the optimization for parameters lol

    • @OrchardForex
      @OrchardForex  4 роки тому

      @@muratgurpnar3632 iCustom does not differentiate between indicators supplied with the platform and custom indicators. If your EA works in visual mode but not in non visual then it will be because your indicator does not work in non visual mode. Possibly it is trying to read or write screen properties and failing because there is no screen.

  • @georgefernandes1049
    @georgefernandes1049 2 роки тому

    Good afternoon. Excellent video. Very explanatory. It worked with other indicators I have, but not another one. It is the Volume_Average custom indicator with 2 input data: 20 (period for volume averaging) and VOLUME_REAL. However, the function does not work. If you can help me, I appreciate it.

    • @OrchardForex
      @OrchardForex  2 роки тому

      Maybe your indicator doesn't have a data buffer

    • @georgefernandes1049
      @georgefernandes1049 2 роки тому

      @@OrchardForex Hello. I just put the bookmark name without the subfolder. Worked well. Thanks for your attention.

  • @Becard
    @Becard 3 роки тому

    Hello, Did you make a similar video for mt4? how can we adapt this video to mt4 "Copybuffer"

    • @OrchardForex
      @OrchardForex  3 роки тому +1

      There is a version for MT4, ua-cam.com/video/9PfIfGzSHak/v-deo.html but it doesn't use copybuffer.

  • @Roberts3305
    @Roberts3305 4 роки тому

    Hi! It is possible to create indicator based on raw price movement, say all candles where price is moved at h1 at least 30 pips up, changes color to green and where moved down, changes to red.

    • @OrchardForex
      @OrchardForex  4 роки тому +1

      I can add something like this to the by request videos. Not sure how soon it will be, we are already planned for the next 7 episodes

  • @eat-study
    @eat-study 2 роки тому

    7:00 start from here. thanks
    hi can i download this script for not scrolling up and down the video?

    • @OrchardForex
      @OrchardForex  2 роки тому

      I don't have a script to prevent the video from scrolling.

  • @duong-jz6hn
    @duong-jz6hn 3 роки тому

    Thank you

  • @james130362
    @james130362 4 роки тому

    Hi. Did what you said about the EA won't attach to the Chart

    • @OrchardForex
      @OrchardForex  4 роки тому

      Check the experts and journal tabs for an error message.

  • @norbertnemes8877
    @norbertnemes8877 2 роки тому

    Was the indicator removed? The link is broken.

    • @OrchardForex
      @OrchardForex  2 роки тому

      There is no indicator, only a template for an expert. The link still works. You have to go through the whole shop experience and then download from the email.

  • @mighty_productions-c3p
    @mighty_productions-c3p 3 роки тому

    I keep getting this error please help me out : cannot load custom indicator 'indicators\custom indicator' [4002]

    • @OrchardForex
      @OrchardForex  3 роки тому

      Is this literally the error message? in iCustom you must use the actual name of the custom indicator including .ex4 or .ex5

    • @mighty_productions-c3p
      @mighty_productions-c3p 3 роки тому

      @@OrchardForex im using the actual name that was just an example

    • @OrchardForex
      @OrchardForex  3 роки тому

      @@mighty_productions-c3p I don't know why you don't want to upload the real error message or the line of code but I gave you an example answer.

    • @mighty_productions-c3p
      @mighty_productions-c3p 3 роки тому

      @@OrchardForex 2021.08.23 16:26:30.017 2019.12.30 00:00:00 cannot load custom indicator 'System\Volatility quality zero line' [4002]

    • @OrchardForex
      @OrchardForex  3 роки тому

      The error message says it all. You don't have an indicator called "Volatility quality zero line" in the Indicators\System folder