Hiding functions from source codes

 

HI.. good day to you all..

Am not sure if tis is possible 

is there a way to hide functions from source code.. .mq5 or mq4  

eg.

void TrailingStop()

  {

//Trailing code

}

or instead calling it from a private website codes..

 eg.

void TrailingStop()

  {

//get Trailing code function from my website.. functiontrailing();

}

Thanks..

 

Abubakar Saidu: is there a way to hide functions from source code.. .mq5 or mq4  

or instead calling it from a private website codes..

  1. It's not possible. The compiler must see all your code to compile it.
  2. The data used can be read from elsewhere, but if you have to ask № 1, you are way over your head.
 

I don't think that is possible.

Your closest shot is embedding private functions in a dll.

 
Raymond Ogechukwu Omeh:

I don't think that is possible.

Your closest shot is embedding private functions in a dll.

Hi.. ooh thanks will look at it.. which is the best dll article to look at.. there are lots of them

Reason: