Topic: Development - Signal EA

This is my first attempt to simulate Binary Options trading on MT4 that doesn't support it. It works pretty fine for a first try.
It counts the deals, shows positions, draws arrows.

http://s31.postimg.org/n3s7micrb/expert_advisor_input.jpg

It shows the most important simulation settings on the Input.

http://s31.postimg.org/4cqacci6z/expert_advisor_input.png

My next task is to add "signal prediction" in order to show probable signals 15 seconds earlier.
How I'm going to do it? I have only a vague idea for now, but after a refreshing 5 hours rest I'm sure I'll find a solution.

Trade Safe!

Re: Development - Signal EA

After 5 hours of refreshing sleep ....... I went back to bed smile

Re: Development - Signal EA

As a former Linux guy, before to wake up and to understand that the Windows is the correct platform, I like the REPO model. So, I'll try to release the Signal EA today.

Re: Development - Signal EA

Offf, MetaTrader !?!?@?@?!?!?#?

I wrote the expert for three hours and from 6 hours I'm trying to plot an "x" at the Expiry point. No matter what I'm doing, the "x" is always shifted vertically and always shows different price than the one I set to it.


http://s31.postimg.org/h1o08t2nr/atop_arrow_1.jpg

This is happening despite the fact I set the concrete price of the image and also I set it to be "centered" at that price!!!

How can this be normal for a 15 years old software?

Re: Development - Signal EA

2 hours later, I found out that the, so called OBJ_ARROW_STOP (or a close image that shows a position closing price) can be only printed above or below the closing price and not at the closing price!!?!?! This is official by MetaQuotes.

I also found out that when I set an image in a MetaTrader chart, the price shown is not the image price!?!?! The price shown is calculated from the mouse cursor position at the moment when the image activates the popup label. It can be any price.

I write these my findings because this "knowledge" may be useful to someone, who is wandering why the things look "different" in MetaTrader.

Anyway, I'm making progress with the Signal EA. It works very well so far (despite the fact the expiration signs are shown lower).

My robot is making 92% success rate on the simulation smile

http://s31.postimg.org/5bu2upvdn/position_line.png

6 (edited by chamin_v 2016-08-01 08:46:33)

Re: Development - Signal EA

Hi, there is one proplem.
After adding to charts signal indicator i can't find window with testing information as on your screenshors
My screenshot attached
https://yadi.sk/i/_oLDJEQItoHD8
And this is what i get after compiling
https://yadi.sk/i/3S8Z7Bc-toHoe

Re: Development - Signal EA

Can you attach your EA?

Re: Development - Signal EA

Sure
https://yadi.sk/d/x3wH86T3toK4K

Re: Development - Signal EA

The info will appear after the first tick.

(I'll fix that today.)

Re: Development - Signal EA

It is fixed.

Please Reload BO Tester  and re-export your expert advisor.

Thank you for the report!

Re: Development - Signal EA

Now some info appeared but not all
https://yadi.sk/i/Do7Q07AvtoNVs

Re: Development - Signal EA

It is OK.
You will see there Trade Up or Trade Down texts when there is a signal.

Re: Development - Signal EA

Popov wrote:

It is OK.
You will see there Trade Up or Trade Down texts when there is a signal.

Ok, thank you.
And one more - this info https://yadi.sk/i/4RsMZ-imtoTfc also will appear after real signals'll be recieved?

Re: Development - Signal EA

This info is form the old version of the experts. It was necessary because we used own indicators there.

Now the exported experts use only native MetaTrader indicators and we don't need this info anymore. You can set MetaTrader's indicators on your chart and to watch the parameters.

Re: Development - Signal EA

Miroslav hi is it possible to add some notification function to signal EA?

  Print(alertText);
   if(Show_Alert)
      Alert(alertText);
      SendMail("BO signal",alertText);
      SendNotification(alertText);