Re: Coding Help
Posted: 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.
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.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.
Not seeing the whole code, would guess maybe change TmF to period or something like that.HiFiCoder wrote: Thu Jul 22, 2021 5:33 pmHow can i solve this issue in Mql5?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]); }
Problem is that when I try to pass int type value its says ENUM type cant convert to int !! mql4 is ok but mql5 is getting issues. Shown in Image.mrtools wrote: Thu Jul 22, 2021 5:43 pm Not seeing the whole code, would guess maybe change TmF to period or something like that.
Issue solved !!mrtools wrote: Thu Jul 22, 2021 5:43 pm Not seeing the whole code, would guess maybe change TmF to period or something like that.
Isnt this a repainting indicator?? signals are too good to be true.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