List of Requests

9 replies

beniko

Subscriber, bbp_participant, community, 31 replies.

Visit profile

8 years ago #113541

Hello Mark,

I’ve been using EA wizard for quite a while now and I am very satisfied with the product.

 

I have a few suggestions, I hope the following requests make sense to you.
 

  • add an Initialization Tab: where some values can be calculated only once, based on the strategy parameters
  • add formula option when determining the quantity when setting up a market entry
  • ability to create variables that are going to be used for determining the timeframe of a chart. This variable should be configurable from the strategy parameters.
  • an option to automatically add the code snippet used for backtesting of Range/Renko charts from AZ-iNVEST.

I will paste the last section of the relevant article found here: http://www.az-invest.eu/how-to-properly-backtest-rangebars-medianrenko-renko-and-pointo-using-tick-data

You need to add the following two lines of code at the beginning of your EA source file. Somewhere at the top of the file include the code snippet into your EA by calling:

#include <CustomChartingBacktest.mqh>

and at the very top of the void OnTick() function add the following function call:

if(skipFirstTickOnBacktest()) return;

 

It takes a lot of time to add the code manually every time and the inexperienced users might not do it right. Because the source of the EAs does not have the void OnTick() funtion, I paste the “if(skipFirstTickOnBacktest()) return;” in the beginning of the “int start()” function but I’m not sure if this is the correct way.

  • More options to draw on the charts. This is critical for debugging of EAs and it can be used for indicators as well. Vertical and Horizontal lines would be really helpful at this point or even rectangles.
  • An “Else” option in each “If-Then” tab is necessary because somebody has to think of all the other possibilities in order to make an “if-then” that acts like an “Else” is some complex EAs.

Regards,
Ben

0

beniko

Subscriber, bbp_participant, community, 31 replies.

Visit profile

8 years ago #129659

So I tinkered a little bit using the Custom function and I want to leave this post here for anybody who will need it.

 

Making a custom “else” function:

 

In the “Then” section of a rule you can add

 

Custom Action: “}else {“

 

everything before it will act as the “Then” part and everything after it will act as the “else” part.

0

Count-Roy

Subscriber, bbp_participant, community, 69 replies.

Visit profile

8 years ago #129776

whats wrong with the indicators from this site  http://www.forex.ovo.cz   I have used those renko bars and they work great. an option to automatically add the code snippet used for backtesting of range/renko/ tick from http://www.forex.ovo.cz  would be nice.

 

for some reason I cannot get the link to work. you will have to manually enter it into your address bar of your web browser or Google it.  

0

beniko

Subscriber, bbp_participant, community, 31 replies.

Visit profile

8 years ago #129781

whats wrong with the indicators from this site  http://www.forex.ovo.cz   I have used those renko bars and they work great. an option to automatically add the code snippet used for backtesting of range/renko/ tick from http://www.forex.ovo.cz  would be nice.

 

for some reason I cannot get the link to work. you will have to manually enter it into your address bar of your web browser or Google it.  

 

You must be referring to these http://forex.ovo.cz/en/?subaction=showfull&id=1381555516

 

From what I know many renko bar generators don’t generate bars that can be backtested or forward tested because of the way they are drawn, they do not contain the ticks (if I understand correctly). Maybe the renko bars you refer to have the same problem.

 

Until now the only range/renko bars that work with EAs are from az-invest. The code snippet I mentioned is used in backtesting (for bigger precision) to skip the first tick which fore some reason is a “fake” one.

 

Regards

0

Count-Roy

Subscriber, bbp_participant, community, 69 replies.

Visit profile

8 years ago #129805

Hi Beniko,

 

I had no problem using the EA’s on any of the ovo charts. Renko, tick, range, all work fine.

0

beniko

Subscriber, bbp_participant, community, 31 replies.

Visit profile

8 years ago #129812

Hi Beniko,

 

I had no problem using the EA’s on any of the ovo charts. Renko, tick, range, all work fine.

Ok. I guess I misunderstood something.

 

 

whats wrong with the indicators from this site  http://www.forex.ovo.cz   I have used those renko bars and they work great. an option to automatically add the code snippet used for backtesting of range/renko/ tick from http://www.forex.ovo.cz  would be nice.

 

for some reason I cannot get the link to work. you will have to manually enter it into your address bar of your web browser or Google it.  

 

Just out of curiosity, what code do you have to add for the backtesting to work?

0

Count-Roy

Subscriber, bbp_participant, community, 69 replies.

Visit profile

8 years ago #129813

well, that’s just the thing, I didn’t. as to me saying, whats wrong with etc etc. to hit to the adding of code snippet for ovo indicators. in essence not to be bais towards AZ-invest.
for if you would read my first reply again you might see I only changed your sentence to add a snippet at the end, from AZ-invest to Forex OVO.

 

not because I am against AZ – invest or solely for Forex OVO , but to point out that it might be better to include both or a universal solution.

 

greets,

 

Roy

0

mantadiver

Subscriber, bbp_participant, community, 33 replies.

Visit profile

6 years ago #232491

Interesting to see that EAWizard & Ovo are compatible.

I am struggling to get EAWizard to identify when a new Renko bar has been formed by either Ovo or AZ-Invest.

I have created a simple counter using IsBarOpen which works perfectly on time charts. Also I have tried the Wizard_counter posted by Tomas but cannot get either to recognize when a new bar has been formed.

Can anyone offer any help how I can identify when a new bar opens on offline charts please ?

Many thanks

0

mantadiver

Subscriber, bbp_participant, community, 33 replies.

Visit profile

6 years ago #232495

With Evaluate rule on bar open only or using IsBarOpen it does not recognise any new bar opens.

Without using these it counts a new bar on each new tick.

I have amended the code (attached) from Tomas to print the bar count to the journal, +1 for up bar, -1 for down. Works fine on a time chart. But how to get it working on an offline chart ?

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #232519

I’ll look at Forex OVO and ad support for its charts into SQ4 and new version of EA Wizard.

Mark
StrategyQuant architect

0

Viewing 9 replies - 1 through 9 (of 9 total)