How do I access the turkey remotely? - page 2

 
mikfor >>:
Коллеги!
Представьте следующее.
Есть индюк. Хочется показать его заинтересованным лицам.
Не хочется чтобы они добрались до кода, до того, как индюк устроен.
Но хочется, чтобы они могли использовать его как если бы я просто им его дал, не скрывая код.
Почитал страшные вещи про декомпиляцию, понял, что шифровать дело пустое.
Может быть, предложите способы?

if the indicator gives signals not on m1

but with longer timeframes e.g. h1 h4

one of the ways - complicated enough
You set your server on the Internet or a virtual machine
Broadcast (software) the signals of the indicator to those who are registered as a client
you send the signals to the e-mail, ICQ or Skype

The second option is to create an Expert Advisor that will receive signals from the Internet
by password and name you will give to your clients
the Expert Advisor will go to your site or Ftp or whatever you set up the interface
or you'll send out a list

you can track the IP from which the requests come
etc.
--
you have the valuable indicator - you do not give the code - only signals
following a similar pattern
--
the idea is very simple
the implementation of this or that - I just gave an example of how it can be done
the most difficult thing is to organize the work so that there would be no REAL signals
 

what do you mean by "no signals received" ?

 
I have a tixaver. Saves the ticks perfectly. I only have the GBPUSD symbol left there now, you can write many different ones in the original comma. Question. What should I do to make it write not to the file in \experts\files\[Ticks]\ folder but to a deleted file? Imagine, I uploaded to the server on ftp file .prn, put the rights 777, that is, anyone can go in and write ... or what?
Files:
ticksave3.mq4  11 kb
 

Well, it all depends on how often the server is accessed and other variables...

 
Let's say no ticks. The ticks are really too frequent to the server.
Let's say, once a minute. To write the closing price by the formed M1 bars into a file.
Someone will probably even send us a link to such a ready script.
The question is how to modify it to write it to a file on a remote server?
 
xrust >>:

что значит "НЕ ПОЛУЧЕННЫХ сигналов" ?

the same as the missed ones

it's not certain that the mailing will reach the recipient

so the mailing unit must be as reliable as possible.

--

the logical initiator is the one who creates the signal - so he should logically prepare the signal.

the subsystem that will send it out - that's where it should be reliable enough

-

another way.

the client will peck - the server - with a question like "hey server, is there a signal? he answered no - or there is

that's exactly what's wrong with this scheme.

--

that's why the one who sends the signal is the one who sends it.

and you have to send it out - so that it's reliable and the client doesn't get the signal! - right?

it's a communication failure and so on

it means control and repeated sending - control of the signal's life - if a position has to be closed

the signal does not matter how long the signal lives

So the logic won't be simple.

etc.

 
mikfor >>:
Допустим, не надо тиков. Тики правда слишком частое ображение к серверу.
Допустим, раз в минуту. Чтобы по сформированным барам М1 писать в файл цену закрытия.
Это дело нехитрое, кто-нибудь наверняка даже ссылку сейчас кинет, на уже готовый такой скрипт.
Вопрос в том как его модифицировать, чтобы писал он в файл на удаленном сервере?

Why would you want to send bar closures to a remote server?

Wouldn't it be easier to put mt4 where you need to know if the bar is closed or not?

because in Africa and in Moscow and in Bratsk

the same broker will close the bar at almost the same time

---

writing a signal is another matter

and give all clients access to this server

so they can read the server.

but the question is something else - the clients - they should not have to read the server every minute

the signals must reach the client when they are generated
so it's up to the one who's creating it to send it out

--

do you have a signal every hour ? every 4 hours ? or every minute ?

 
mikfor писал(а) >>
Colleagues!
Imagine the following.
There is a turkey. We would like to show it to the interested parties.
I don't want them to get to the code, to see how the turkey is organized.
But I want them to be able to use it as if I just gave it to them, without concealing the code.
I read some scary stuff about decompiling, and realised that encryption is a waste of time.
Maybe you can suggest ways?


The indicator runs on your computer, periodically uploads data to the server, the custom indicator periodically downloads this file and displays the data.
 
mikfor писал(а) >>
Let's say no ticks. The ticks are really too frequent to the server.
Let's say, once a minute. To write the closing price by the formed M1 bars into the file.
Someone will probably even send us a link to such a ready script.
The question is how to modify it to write it to a file on a remote server?


Data is transferred to server script (e.g. in PHP), and it writes in the file. All this is much more complicated than you think, over the internet to work is not your computer to open/close a file.

 
YuraZ писал(а) >>

Why would you want to send bar closures to a remote server?

Wouldn't it be easier to put mt4 where you need to know if the bar is closed or not?

because in Africa and in Moscow and in Bratsk

the same broker will close the bar at almost the same time

---

writing a signal is another matter

and give all clients access to this server

so they can read the server.

but the question is something else - the clients - they should not have to read the server every minute

the signals must reach the client when they are generated
so it's up to the one who's creating it to send it out

--

do you have a signal every hour ? every 4 hours ? or every minute ?






Yuri, take a bit of an abstraction. It's not about ticks or time, it's about the need to periodically add some data to a file on the server.