GridDancer / GridMaster

Rene's trading Expert Advisors
Post Reply
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

GridDancer / GridMaster

Post by Gertje »

renexxxx » Fri May 13, 2016 10:04 am wrote:
szfxtrader » Fri May 13, 2016 4:57 pm wrote: 1. Maximum spread checking, it can prevent the EA to open an order during news time

2. Cash per dollar(auto lot size based on the equity size)

3. Close all orders after +- X% of the equity be reached
Great ideas and these are all easily added to the code.
szfxtrader » Fri May 13, 2016 4:57 pm wrote: 4. The EA could be opening the trades following the daily flow. Example: if the pair(D1 candle) is going up, when the price goes down, it will buy it, I know it is not a guarantee, but it may help to reduce the DD, and also make more pips fast
Not sure about adding a directional bias: this might break the profitability of the strategy. But we can always try...
Maybe I'm posting the obvious, but when incorporating an automated lotsize, please also automate the 2 cashvalue TP-inputs to keep up with the lotsizing.
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

GridDancer / GridMaster

Post by renexxxx »

AGT » Sat May 14, 2016 4:49 am wrote:@renexxxx

How could you manage the trouble you had this morning ? Or could the EA itself even manage the DD ? ;)
No, DD got worse, and I'm now at a point where equity is below it was at the start of the week. But this is on a demo account so who cares:
Capture.PNG
This confirms my initial statement, that it is crucial to keep the equity line close to the balance line, by having frequent Rinse 'n Repeat's. I will add an Equity SL in the next version (that initiates a RnR if/when equity drops below a given SL value). Also, I will add a dashboard (on the master) through which we can send these RnR-signals by pressing a button.
You do not have the required permissions to view the files attached to this post.
KingOfCoolville
Trader
Posts: 36
Joined: Sun Dec 04, 2011 4:52 pm

GridDancer / GridMaster

Post by KingOfCoolville »

renexxxx » Fri May 13, 2016 8:27 pm wrote:
AGT » Sat May 14, 2016 4:49 am wrote:@renexxxx

How could you manage the trouble you had this morning ? Or could the EA itself even manage the DD ? ;)
No, DD got worse, and I'm now at a point where equity is below it was at the start of the week. But this is on a demo account so who cares:


This confirms my initial statement, that it is crucial to keep the equity line close to the balance line, by having frequent Rinse 'n Repeat's. I will add an Equity SL in the next version (that initiates a RnR if/when equity drops below a given SL value). Also, I will add a dashboard (on the master) through which we can send these RnR-signals by pressing a button.
Rene,

Do you have your MinEquityIncrease set to 50? (as the OOTB settings are).

Like I said, I have only been trading it on demo since middle of yesterday (not sure when the EA would have taken the trades that got your account into trouble) but I have the MinEquityIncrease set to 10. This is basically consistently Rinse 'n repeating which gets rid of trades which could have turned out to be more problematic if left open. Obviously the lower the MinEquityIncrease the less DD we should encounter.

DD has been at £330 today, finally closed down for the weekend with DD at £89 - however, demo has made over £700, so that's not an issue.

A hard EquityStopLoss is prudent though as we all know, that at some stage the inevitable will happen. It's just whether the EA makes enough profit to be able to absorb that loss.

Also just a suggestion, perhaps a time parameter on Friday, where if it is past that time and GridMaster does do a R'nR' - the bot would cease trading.

regards
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

GridDancer / GridMaster

Post by Gertje »

KingOfCoolville » Fri May 13, 2016 8:53 pm wrote:
Rene,

Do you have your MinEquityIncrease set to 50? (as the OOTB settings are).

Like I said, I have only been trading it on demo since middle of yesterday (not sure when the EA would have taken the trades that got your account into trouble) but I have the MinEquityIncrease set to 10. This is basically consistently Rinse 'n repeating which gets rid of trades which could have turned out to be more problematic if left open. Obviously the lower the MinEquityIncrease the less DD we should encounter.

DD has been at £330 today, finally closed down for the weekend with DD at £89 - however, demo has made over £700, so that's not an issue.

A hard EquityStopLoss is prudent though as we all know, that at some stage the inevitable will happen. It's just whether the EA makes enough profit to be able to absorb that loss.

Also just a suggestion, perhaps a time parameter on Friday, where if it is past that time and GridMaster does do a R'nR' - the bot would cease trading.

regards
Hi, quoting the MinEquityIncrease has no meaning without stating the lotsize used.
Your value of 10 could be 10pips using 0.1 lotsize or 100pips using 0.01 lots.

What lotsize did you use? :mrgreen:
KingOfCoolville
Trader
Posts: 36
Joined: Sun Dec 04, 2011 4:52 pm

GridDancer / GridMaster

Post by KingOfCoolville »

Gertje » Fri May 13, 2016 9:37 pm wrote: Hi, quoting the MinEquityIncrease has no meaning without stating the lotsize used.
Your value of 10 could be 10pips using 0.1 lotsize or 100pips using 0.01 lots.

What lotsize did you use? :mrgreen:
Gertje,

Sorry - the test/demo is the same one as I had referred to earlier. 0.1 lots.

Thanks
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

GridDancer / GridMaster

Post by renexxxx »

Gertje » Sat May 14, 2016 5:59 am wrote: Maybe I'm posting the obvious, but when incorporating an automated lotsize, please also automate the 2 cashvalue TP-inputs to keep up with the lotsizing.
Yes, but there is a tiny little problem though.
The LotSize parameter is in the GridDancer EA. This is the EA that opens trades, so it should have this parameter.
The MinProfit and MinEquityIncrease parameters are in the GridMaster EA. GridMaster does not know what LotSize was selected in the GridDancer EA, and on top of that all these LotSize's can be different. Let's assume for a moment that we introduce a LotSizeEquityRatio parameter in the GridDancer EA. Each GridDancer can have a different LotSizeEquityRatio setting, resulting in a different LotSize for each pair. The only way to auto-scale the MinProfit and MinEquityIncrease, is by assuming that all the LotSizeEquityRatio parameters were the same in all the GridDancers, and by repeating this parameter in the GridMaster EA and setting it to the same value.

I agree that the trio (LotSize, MinProfit, MinEquityIncrease) is related. But would it be too much to ask for the trader to use a little bit of their own brain cells to come up with some suitable values?
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

GridDancer / GridMaster

Post by renexxxx »

szfxtrader » Fri May 13, 2016 12:27 pm wrote:
If possible I also would like to ask you to allow the EA to only see its trades, in this way we can have 2 or more EAs trading the same account, thanks a lot for your support/help.
Running 1 GridMaster and several GridDancer's can consume a lot of margin. I do not recommend adding more (other) EAs to the account, especially not if it is live.
Lazar83
Trader
Posts: 10
Joined: Tue Jan 31, 2012 3:17 pm

GridDancer / GridMaster

Post by Lazar83 »

renexxxx » Sat May 14, 2016 3:27 am wrote: Yes, but there is a tiny little problem though.
The LotSize parameter is in the GridDancer EA. This is the EA that opens trades, so it should have this parameter.
The MinProfit and MinEquityIncrease parameters are in the GridMaster EA. GridMaster does not know what LotSize was selected in the GridDancer EA, and on top of that all these LotSize's can be different. Let's assume for a moment that we introduce a LotSizeEquityRatio parameter in the GridDancer EA. Each GridDancer can have a different LotSizeEquityRatio setting, resulting in a different LotSize for each pair. The only way to auto-scale the MinProfit and MinEquityIncrease, is by assuming that all the LotSizeEquityRatio parameters were the same in all the GridDancers, and by repeating this parameter in the GridMaster EA and setting it to the same value.

I agree that the trio (LotSize, MinProfit, MinEquityIncrease) is related. But would it be too much to ask for the trader to use a little bit of their own brain cells to come up with some suitable values?
Maybe this could be sort out by creating only one ea dashboard who will control all functions of grid master and grid dancer. On dashboard we could choose or add which pairs to trade, track equity, number of trades and all informations of ongoing processes.Its much easier to track whats going on from one screen then jumping arround from chart to chart.
szfxtrader
Trader
Posts: 377
Joined: Sun Feb 10, 2013 9:36 am

GridDancer / GridMaster

Post by szfxtrader »

renexxxx » Sat May 14, 2016 3:55 am wrote:
Running 1 GridMaster and several GridDancer's can consume a lot of margin. I do not recommend adding more (other) EAs to the account, especially not if it is live.
I can understand your point, but I am also manual trading my account, thank you.
killerrj8
Posts: 1
Joined: Sun Feb 21, 2016 1:10 am

GridDancer / GridMaster

Post by killerrj8 »

Hey renexxxx!

Thanks a LOT for your work. It's really appreciated and works really well so far.

Except for one small thing: The MinEquityIncrease did it's work. And all the GridDancer EAs closed their trades. However, there is 1 problem. After the GridDancer EAs closed their trades, they never open new ones for some reason. I tried restarting my Empty4 platform. Deleting all pairs and re-attaching the EAs, but they just don't open trades anymore.

Do you have any idea why this might be the case?
Post Reply

Return to “Auto-trading EA's and EA monitors”