One Indior calling another indior in MQL4
Results 1 to 4 of 4

Thread: One Indior calling another indior in MQL4

  1. #1
    Hello Men,

    Can someone please point me in the right direction.

    I have an indictor that I am modifying but I want it to call an additional indior. Whom I am calculating the MA from the code below I need to be able to call another indior that I have in Metatrader and load the bufer just the same.

    For(int I=0; ilt;limitation; I ) ind_buffer1[I]=iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,I)-iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,I);

    If someone has or knows of a connection where this is demoned could they please allow me to know.

    Thanks
    Steve

  2. #2
    ICustom is the function you are currently currently looking for and there are lots of examples in MQL documentation pages. Your indior has to have a SetIndexBuffer call in order for this to work.

  3. #3
    I might just edit that this indy, look in the very bottom, it is possible to edit ExtMapBuffer1[I]
    https://www.forexforum.co.za/attachm...2123603019.mq4

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.