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

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×