External Signal / Filter (httpget)

Avatar
  • updated
  • Under review

It would be great if there was an option to check a web link with "httpget" if the result is "TRUE" for example.

I think httpget is not a standard MT4/5 command, but an interface to an external source to open an order would be super powerful.

I want to look into / deal with Big Data because I think it is super powerful to use some external data to make a decision to open a trade.

Avatar
0
Andrey Khatimlianskyi
  • Under review

It is really good idea, but should be well thought out before start.

Give me some examples of pages you want to use.

Avatar
0
diego cochiloco

The idea behind is not a solution to read out special websites. What i am talking about is just a small interface.

For example:
http://test.derbfactory.net/test.php?pw=test&f=buy

you will receive "false";

http://test.derbfactory.net/test.php?pw=test&f=sell

>> "true"

It is only necessary that CP works with a simple true or false as a return value.

Reading a website specifically would make the function very inflexible.
With simple PHP scripts in the background, this function would then be very powerful. The return value can then depend on many factors.

E.G.:
A database evaluation of own data. (Big Data)
Read out web pages
Time and date
Neural Networks ...

Of course it would be nice if different parameters could be passed.
e.g. 

Currency pair > &cp=EURUSD
rate > &r=1.21023
Spread > &s=4

Example of usecases:

- Additional or stand-alone signal for an order.
- Additional or standalone signal to close an order.
- General check to pause the EA or allow automatic trading.
- Adjustment of the risk level depending on a return value.
- Use of correlations between different objects. (example: EA is trading EURUSD but you want to consider effects of other objects like DAX, GOLD or OIL. )

...

Avatar
0
Andrey Khatimlianskyi

Your idea is clear, but still should be developed )

Of course, parameters should be passed. At least, symbol and magic number (some unique id).

But not current prices and spreads, I guess. It is bad way to send the data to your web-service.


And the return value should be not a single "true/false", but a structure contains:

  • buy/sell open signal, if any and corresponding enter price
  • buy/sell close signal, if any
  • risk adjustment coefficient
  • ...


What would you add?

Let's think about most common use cases for awhile.

Avatar
0
joseph kisakye
Quote from Andrey Khatimlianskyi

Your idea is clear, but still should be developed )

Of course, parameters should be passed. At least, symbol and magic number (some unique id).

But not current prices and spreads, I guess. It is bad way to send the data to your web-service.


And the return value should be not a single "true/false", but a structure contains:

  • buy/sell open signal, if any and corresponding enter price
  • buy/sell close signal, if any
  • risk adjustment coefficient
  • ...


What would you add?

Let's think about most common use cases for awhile.

In line with this external signal, I have a different idea altogether. What if the external signal could be provided by a custom indicator of choice eg. Like an arrow indicator or other trading system that can be placed on the chart as a single unit and has buffers which can be manually input in the CP EA in order to automatically take trades when a signal corresponding to the buffer number is triggered!!! Hope this is clear enough 

Avatar
0
Kishan Bhatt

Hello, 

This is a great idea! But we need a search for sources of indicators to work with. I would like to suggest volatility signals as an external check for trend trading. Often, from periods of high volatility correlate with trends with respect to volume I guess. I will try and post some useful links.