Jump to content
ShiliDola.Com

Recommended Posts

Guest mr.jimmi

Hello admin,

I have an ex5 file(no source code). I don't need decompiling but I only need to know buffer names and numbers. Is it possible to do that and for what fee?

Share this post


Link to post
Share on other sites
1 hour ago, Guest mr.jimmi said:

Hello admin,

I have an ex5 file(no source code). I don't need decompiling but I only need to know buffer names and numbers. Is it possible to do that and for what fee?

Hello Jimmie,

It is possible. If you don't mind you can upload that indicator here i check for you.

Share this post


Link to post
Share on other sites
Guest mr.jimmi

It's possible that this indicator is wide spread and freely available, I don't know that, I haven't figured out that yet. But I figured it works very well with my own EA but I can't code it without knowing buffers. I assume it is some sort of trend indicator.

SuperGatilloArrow.ex5

SuperGatilloArrow.ex5

Share this post


Link to post
Share on other sites
Guest mr.jimmi
1 minute ago, Admin said:

Here you go!

Capture.PNG

Buy=Buffer0 [Flecha Compra]

Sell=Buffer1[Flecha Venta]

Awesome, I'll try it out. Thank you very much!!

Share this post


Link to post
Share on other sites

You can get buffer details for ex5 files even if you don't have the source code, but you need to know all input parameters and data type. then put that indicator in mt5 indicators  folder.

Sample code snippets

bool signal (double value) 
{
  if (value != 0 && value != EMPTY_VALUE)
     return value;
  else
     return false; //here you can return either value or bool true/false
} 


/////////////////////////////////////////////
input string IndicatorName = ""; // Indicator File Name

custom=iCustom(_Symbol,PERIOD_CURRENT,
CopyBuffer(MAIN_LINE
if(custom==INVALID_HANDLE)
 iCustom(NULL, 0, IndicatorName)
////////////////////////////////////////////

if (IndicatorName != "") {
     UP = iCustom(NULL, 0, IndicatorName);
     DOWN = iCustom(NULL, 0, IndicatorName);

//////////////////////////////////////////


 custom=iCustom(_Symbol,PERIOD_CURRENT,"Examples\\Custom Moving Average.ex5",MA_Period,MA_Shift,MA_Method,MA_Price);
  if(custom==INVALID_HANDLE)
     return INIT_FAILED;

//////////////////////////////////////////

Handle=iCustom(NULL,0,"IndicatorName",Length_,Phase_,2,0,0);
  if(JO_Handle==INVALID_HANDLE)
    {
     Print(" Failed to get handle of the indicator JMA");
     return(1);
    }

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×