Re: Coding Help

1252
Ogee wrote: Wed Jul 07, 2021 9:36 pm Hi, afraid that is beyond my coding skills but hopefully one of the real coders will be able to help out.
How about ignoring my previous request and just convert the mq4 to mq5.
if you can only covert ZZ_H1v2.1c.mq4 to mt5 it is fine with me


Re: Coding Help

1256
HiFiCoder wrote: Thu Jul 22, 2021 5:33 pm

Code: Select all

double Reat_MFI(int TmF,string symbs)
  {
   double MFI[];
    ArraySetAsSeries(MFI,true);
    
    
     int handle_iMFI=iMFI(symbs,TmF,22,0);
//--- if the handle is not created 
   if(handle_iMFI==INVALID_HANDLE)
     {
      PrintFormat("Failed to create the handle of the iMFI indicator for the symbol %s/%s, error code %d",                                 
                  GetLastError());
      
      return(INIT_FAILED);
     }   
    
   ResetLastError();
   if(CopyBuffer(handle_iMFI,0,0,1,MFI)<0)
     {
      PrintFormat("Failed to copy data from the iMFI indicator, error code %d",GetLastError());
      return(EMPTY_VALUE);
     }
   return(MFI[0]);
  }
How can i solve this issue in Mql5?
Not seeing the whole code, would guess maybe change TmF to period or something like that.

Re: Coding Help

1260
Siya14nga wrote: Tue Jul 27, 2021 5:09 am Hi MrTools can i request a little something about the indicator below i want the Moving averages when they cross arrow should appear not to appear only on extreme zones but when the MA's cross the indicator should give a arrows signal please
Isnt this a repainting indicator?? signals are too good to be true.


Who is online

Users browsing this forum: Trendiction [Bot] and 16 guests