Interest in MT4 sidekick like program for EAStudio?

Roughey wrote:
Michael1 wrote:

Hi guys,

So a bit of a quick update. I am now currently testing the trade copier as we speak. There has been quite a speedbumps along the way trying to get it working as I wanted. I however cannot take credit for the amount of hard work my coder has put in I had a chat with him today and am very impressed with the effort he has put into the project.

So basically I am going to test for the next week or so with the copier then I plan on releasing it here for people to use at a small fee.

The final inputs which were decided upon were:
Copy trades with profit factor above:
Number of trades to lookback:
Number of top strategies to copy:
Copy trades with Profit above:

A basic way of how the copier works is it involves two MT4 windows, one master and one slave.
The master populates a SQL database of trade statistics which the slave reads and copies accordingly.

One of the biggest advantages to me is utilising a database which I hope to continue to build upon and add more functions and variables as time passes.

can you make a demo beta test for others maybe we can check and have more ideas


That’s already the plan. I also have been working on some codes for the portfolios for added functions (which I cannot take most of the credit for) for those users which don’t want to run a copier. I’ll post those in due course as they have been tested and are working correctly.

Interest in MT4 sidekick like program for EAStudio?

hannahis wrote:

Hi Michael,

Just some food for thots...

A. THREE look back options: metrics (such as Profit Factor) calculated based on 1) all trades and/or 2) number of trades to look back and/or 3) date

1) Sometimes I want to know which EA has the best overall performance (all past trades, instead of number of trades to look back) because if based on number of trades, then those scalper EA will have more trades as compared to day trading EA, etc and I want to find out the overall performance and select the EA based on all historical performances. 

2) Based on the number of trades will help me zoom in on the most recent performance (but very subjective to how frequent the EA trades)

3) Use date to calculate all EA's performance.  This is very useful when we constantly add in new EA into the portfolio and if I use the overall performance to calculate the metrics, the older EA may have better/worst performance due to more trading opportunities.  So for a fair comparison, I sometimes use date to measure the changes in EA's weekly performance.


B. Copy trade size based on 1) specify lot size (can be different from Master account), 2) based on Multiple of Master (eg if Master uses 1 lot size and If I specify 0.1 it will use 0.1 of the original/master lot size and I use Multiple 1, it means I will use the same lot size of the Master.  Basically users have the choice to choose lot sizes different from the master account so that it is easier over time for Account/Risk Management.

C. Account Protection: Stop copy when account's equity is below certain level (amount).

D. Copy Trade based on Max lot size allocation.  Beside number of top Strategies to Copy, it would be good to have options to choose the number of trades/EA to copy based on the Risk exposure, ie. Total lot size allowed to copy.  If I want to open a max of 3 lot size.  Then as long as there are open positions that reached the max lot size limit, the copier will not allow future trades till existing trades are closed.  This offer greater flexibility to manage the portfolio.  For example, if I decided to increase my risk ratio, trade 10% of my account (i.e. max 2 lot size) and I use only 0.01 lot size per trade, then the copier can allow more EA/strategies to be traded.  If I decided to increase my lot size to 0.1 lot size, then the copier will reduce the number of EA/Strategies to be traded. 


Above suggestions are just for your kind consideration for future improvements etc, no obligations.

Regards
Hannah


Hannah sorry but I have to laugh, most of your ideas I’ve already done and currently testing smile

Basically for lot sizing, we have a lot multiplier or lot size/SL so if we copy a trade with 10pip stop loss we risk X% of account EQUITY (not balance) let’s call it 1%
Then if we copy a trade with 50pip SL we still risk 1%. This way we can risk weigh the account. Othwise we have no control.

I’ve added a prefix and suffix of symbol incase we use different brokers/account types.

Max number of trades to copy ie copy top 10 profit factors above X

Min profit made over X trades

Historical trade look back (look at only last N trades).

So basically that’s the inputs. Still testing all inputs and also some other funtions. I have some ideas for more inputs but for now I just want to get the copier working correctly, tested and risk management done then I can start to get fancy.

It’s been a long and anxious wait. I’m getting impatient but I know that these things cannot be rushed and take a huge amount of work.

Interest in MT4 sidekick like program for EAStudio?

Michael1 wrote:

Hi guys,

So a bit of a quick update. I am now currently testing the trade copier as we speak. There has been quite a speedbumps along the way trying to get it working as I wanted. I however cannot take credit for the amount of hard work my coder has put in I had a chat with him today and am very impressed with the effort he has put into the project.

So basically I am going to test for the next week or so with the copier then I plan on releasing it here for people to use at a small fee.

The final inputs which were decided upon were:
Copy trades with profit factor above:
Number of trades to lookback:
Number of top strategies to copy:
Copy trades with Profit above:

A basic way of how the copier works is it involves two MT4 windows, one master and one slave.
The master populates a SQL database of trade statistics which the slave reads and copies accordingly.

One of the biggest advantages to me is utilising a database which I hope to continue to build upon and add more functions and variables as time passes.

can you make a demo beta test for others maybe we can check and have more ideas

Interest in MT4 sidekick like program for EAStudio?

Hi Michael,

Just some food for thots...

A. THREE look back options: metrics (such as Profit Factor) calculated based on 1) all trades and/or 2) number of trades to look back and/or 3) date

1) Sometimes I want to know which EA has the best overall performance (all past trades, instead of number of trades to look back) because if based on number of trades, then those scalper EA will have more trades as compared to day trading EA, etc and I want to find out the overall performance and select the EA based on all historical performances. 

2) Based on the number of trades will help me zoom in on the most recent performance (but very subjective to how frequent the EA trades)

3) Use date to calculate all EA's performance.  This is very useful when we constantly add in new EA into the portfolio and if I use the overall performance to calculate the metrics, the older EA may have better/worst performance due to more trading opportunities.  So for a fair comparison, I sometimes use date to measure the changes in EA's weekly performance.


B. Copy trade size based on 1) specify lot size (can be different from Master account), 2) based on Multiple of Master (eg if Master uses 1 lot size and If I specify 0.1 it will use 0.1 of the original/master lot size and I use Multiple 1, it means I will use the same lot size of the Master.  Basically users have the choice to choose lot sizes different from the master account so that it is easier over time for Account/Risk Management.

C. Account Protection: Stop copy when account's equity is below certain level (amount).

D. Copy Trade based on Max lot size allocation.  Beside number of top Strategies to Copy, it would be good to have options to choose the number of trades/EA to copy based on the Risk exposure, ie. Total lot size allowed to copy.  If I want to open a max of 3 lot size.  Then as long as there are open positions that reached the max lot size limit, the copier will not allow future trades till existing trades are closed.  This offer greater flexibility to manage the portfolio.  For example, if I decided to increase my risk ratio, trade 10% of my account (i.e. max 2 lot size) and I use only 0.01 lot size per trade, then the copier can allow more EA/strategies to be traded.  If I decided to increase my lot size to 0.1 lot size, then the copier will reduce the number of EA/Strategies to be traded. 


Above suggestions are just for your kind consideration for future improvements etc, no obligations.

Regards
Hannah

Suspend and delay signals when market is off around midnight

Finally, we've been waiting for this.

I think the best way of doing this is to add parameter MaxPriceDeviation = 0.1 which is 0.1% of the open price.
When the market is available again the EA will place the trade only if the entry price is within 0.1% range. Otherwise, the signal is missed.


> - cancel the signal if the market is closed for longer than N minutes. Log a message.

I do not think this is a good idea, especially in 2 minutes time. Markets might be closed for rollover for 20 minutes. With GBE brokers that's normal. And when the markets are back again the price might be very reasonable.

This problem of market rollover is mostly affected when trading on Daily timeframe, so there's practically no chance that the entry rules changes in 20 or even 60 minutes. So if the price is reasonable the trade should be executed.


For lower timeframes, for example, M15, the chance of getting an entry at 00:00 is very small compared to trading on Daily timeframes. But it will happen indeed, so it would be wise to check if the entry rules are still met.


When OrderSend receives error 132 it means market is closed and it is a possible rollover.
The following code confirms if it is a rollover:

if(err == 132 && DayOfWeek() != 6 && Hour() == 0 && Minute() <= 30)

Hope this helps.

Suspend and delay signals when market is off around midnight

I posed this problem years ago, now that trading is my only job I try to give advice: "save the signal if the market is closed" is the only answer that makes sense to me. No software corrects the swap and spread problem in the cfd and forex, as a result all the strategies become distorted. Is necessary the transition from automatic to quantitative-discretionary trading.
It would be better to focus on something else

Ragards

Suspend and delay signals when market is off around midnight

Hello traders,

I want to add a fix in the EA's code to work around the problem with the brokers that suspend the trading around midnight for swap calculations.

The problem appears when we trade mostly on D1, H4, or H1 charts and the strategy has a signal at 00:00 but the market is off.

A possible solution is to "remember" the signals and execute it when the market is open.

We have to add some limitations for how long the signal can be delayed.

A possible workflow is:
- save the signal if the market is closed
- periodically check if the market is open (let's say every 15 seconds)
- send the order if the market is open.
- cancel the signal if the market is closed for longer than N minutes. Log a message.

I also want to have a predefined time for this procedure. Let's say:


We can add these options in the EA Studio's Settings. Something like that:
  [ V ] Enable signal delay on Market Closed
            Expected Market Closed time start:  23:55
            Expected Market Closed time end:   00:05
            Maximum time for signal delay in minutes: 2.0
            Retry interval in seconds: 15

Please share your opinion.

If you have a working code, please share it. It will help us to come with a faster and more stable solution.

Optimize using recent data

I follow Steve's ideas and it has helped me to improve.

I had trouble at the start to grasp what he was doing, he had to teach me hahaha

I was quite skeptical until he explained his success knowing nothing about Forex until he somehow discovered FSBPro and started looking into it.

He started off with the robots... not manual trading. and he was making money quickly, I think that is what was the proof in the pudding for me.

His programming background was really helpful to him.

Anyways, I know his approach works well.  It probably does not suit all traders, but for me, it has been most helpful.

Forexsb.com website back-end rewritten from scratch

Wow, I bet that took a while to do.

There seems to be a ton of work to do just keeping things current, let alone making modifications.

Website maintenance is most important considering all that you have included and how much people need support.

I am sure that I speak for all in wanting to thank you for your persistence in delivering a top-notch product and service.

daveM

FSB Pro Wish List - Requested features

Would it be possible to have some sort of setup to regulate the profit to stoploss  ratio?

Ie  ability to control be it 1:2 or 1:1 or 1:3  etc

Many strategies look great until I see that the stop loss is huge compared to the take profit.

Thanks

daveM