AutoGraf Series 4 - MQL features. - page 14

 

как то это решается ?

The news is manually entered into the file \experts\files\AG_News.csv

they're not pulling from the net

And where Sergey gets the news from, it would be interesting to know ) maybe it would be easier for us to get them from there, Ctrl + C -> Ctrl + V :)

 
YuraZ:
SK. wrote (a):

.

Sergei, are the news lines not shown through the proxy server ?

Do you need a direct address ?


How is this handled?

The program reads the news file from the ..\experts\files directory.

MT4 does not provide the technical possibility to request the information from the network.

Your way of thinking seems to me very correct. And the "keep out" policy is a dead end. Humanity is evolving towards greater communication. I think that sooner or later MT will leave the sandbox and sail freely through the world wide web.

Good if the first swim takes place as early as version 5.

---

Theoretically, you could use a DLL for info retrieval needs from the web. But AutoGraf is built solely on MQL4 tools, no DLLs are used, - so user is guaranteed against all sorts of malicious activities, which may contain alien libraries.

 
alexx_v:

c) have management authority over subordinate entities.

By the way, to continue our conversation, about delegating control to subordinate objects.

I was watching the operation of the Pull Down tool behind an object once, and let me, I think, delete... the object followed by the tool. And, as expected, the tool correctly self-destructed. That is, there is no object and therefore nothing to follow. Hence the thought that if it is already possible at this stage and on the given platform to implement such management of essentially subordinate objects, then it is possible to do LEGO if we wish :) There remains the question cost (here we are not talking about money, but time, for it is not a matter of some immediate build, but rather the next version, it seems to me, too much remake need).

The price of the matter comes down to the price of MQL5 features.

Of course, we will have to write everything from scratch. At the moment this is what is planned.

As for lego, it won't work in pure form. And I don't think it needs to be in pure form either. Products with limited features also have limited capabilities. Lego is one flat level. I, on the other hand, think that a hierarchy of subordination and authority should be created.

AG4 is an attempt to implement a GUI language in which the basic concept is that of a tool. I can only repeat that in this program, a tool is a behavioural primitive with strictly defined properties, an elementary component of the constructor. This is the level of reflexes (soldiers; and there is no one but sodats in lego). The closest higher level is occupied by more complex tools, which already have instincts and the right to control elementary tools (officers) (not realized in AG). The highest level should be occupied by control algorithms with the rudiments of intelligence (generals) and maximum authority (in AG4 it is an AT function).

At the current stage of AutoGraf's development the intermediate link has not been implemented due to limitations of the platform 4 - rigid arrays, no classes and inheritance, no tracer in the editor - in AG much is written almost blindly. So qualitative program development (a modicum of instinct and intelligence) is only possible on a new quality platform. But by all means:)

 

No, they bounce if the machine has a direct address! I didn't plant anything! And they don't bounce if I go through a proxy

---


Sergei, where are you coming from, are you planning to shoot the news?

 

нет они подкачиваются если машина имеет прямой адрес!

:) what makes you think that?

 
alexx_v:

no they are pumped up if the machine has a direct address!

:) what makes you think that?

I must have made a mistake :-)

i just didn't load them and they popped up at start up!

I thought they were loaded.

in the distribution they were probably a week in advance!

 
YuraZ:

It's just that they must have been in the distribution for a week!

A news file is not limited in length. It may contain just one line of news, or it may contain hundreds of lines. In this case it is the news for the week. Just look at how the file is set up. It's easy to create in notepad as well.

In the future, there are plans to create a small standalone application specifically for user typing of news (to make the operation simple and obvious). There is a discussion on the commercial distribution of news files (eg, subscription to the news $ 0.50 per month). At the same time - the graphical display of analysts' forecasts. But there is a question about responsibility. In general, there is no advanced solution yet.

Today's variant - the trader types in the file himself, using the sources at his discretion ( AutoGraf-users will always have this possibility).

 
SK. писал (а):
YuraZ:

It's just that they must have been in the distribution for a week!

A news file is not limited in length. It may contain just one line of news, or it may contain hundreds of lines. In this case it is the news for the week. Just look at how the file is set up. It's easy to create in notepad as well.

In the future, there are plans to create a small standalone application specifically for user typing of news (to make the operation simple and obvious). There is a discussion on the commercial distribution of news files (eg, subscription to the news $ 0.50 per month). At the same time - the graphical display of analysts' forecasts. But there is a question about responsibility. In general, there is no advanced solution yet.

Today's variant - the trader himself takes a file, using the sources at his discretion (this feature will always be available to AutoGraf users).

Of course, I looked at the file!

it is clear that you can type it in

but the more I automate it, the better.


somewhere i have a news indicator it goes on the internet for the news and fetches it

It uses a DLL.


you can give a user a ready-made dll that performs this function

you can even give an open source code for the user to build it himself, of course we are talking about an advanced user

Confidence in the DLL and the author of the product should guarantee against malicious activity.


to the skeptics:


we use hundreds of programs with hundreds of DLLs in them... does anyone question the absence of malicious behavior

for example using WINCMD or any package

no one says there is code that will steal passwords or personal data from a machine

again! The author risks losing customers and he does not need it!


I keep hearing about POSSIBLE damaging behavior!

(

Any DLL can be logged and determined what it does

moreover it is even possible to get its source code if not all of it - the one which will interest you

)

just think of the credibility

 
By the way, about the news lines, I thought about it ... In addition to the news itself, the file can be filled with any recurring events (from train timetables to birthdays and holidays, whatever you like / need, ...).of course just kidding :), but to mark the beginning / end of Asian / European / American session, or say, the opening / closing of this or that stock exchange - someone can be very useful) for any period of time forward, even for 100 years, and get a kind of diary effect with reminders of upcoming events in 5 minutes... It's kind of interesting.
 
Sergey, more than once I noticed that with poor connection to the Internet, i.e. frequent connection interruptions and restoration of the connection, AutoGraph hangs up. Noticed this is the absence of sound, and when you try to do something, the same sound advisor to turn off / on, zero response (as well as zero response on attempts to activate other instruments). What can it be?