GridDancer / GridMaster

Rene's trading Expert Advisors
Post Reply
User avatar
tonyharmony
Trader
Posts: 148
Joined: Sat Dec 20, 2014 10:54 pm
Location: Ipswich, Queensland Australia

GridDancer / GridMaster

Post by tonyharmony »

Thanks Rene, it is very kind of you sharing your version. Just setting it up now.
Looking forward to seeing the results... :clap: :clap: :cheer: :cheer:

Kind regards
Tony
One can't learn from one's success, but one can learn an enormous amount from one's failures! Determination to succeed is the only goal....
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

GridDancer / GridMaster

Post by renexxxx »

hopfi2k » Thu May 12, 2016 6:24 am wrote: What I have figured out so far is, that 14-period daily ATR is to slow to modify the distance in case of bigger (news) events. Currently I'm using 6-period ATR (4hour) which basically the range for one trading day. Might be worth considering making the ATR period/timeframe as user input in your GridDancer ;-)
Great feedback, Andy. I will create parameters for both the ATR period and the ATR Time Frame in the next version.

Just to add to this: GridDancer can use a dynamically calculated grid size (based on the ATR), but as long as trades are open, this grid size has to stay the same. Therefore, initially when a new grid is started, it calculates the grid size and sets a global variable. The EA takes the value of this global variable for its grid size, when the EA is restarted or re-initialized and while there are still some trades open for that pair. When the whole grid is closed, and it commences a new grid, the grid size will be updated based on the latest ATR calculation.
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

GridDancer / GridMaster

Post by renexxxx »

Gertje » Thu May 12, 2016 6:35 am wrote:Hello Renexxxx,

Any suggestion about the lotsize/ balance? What did you use for the $5,- default?

Tnx,
Gertjan
Hi Gertjan,

My lot size of 0.05 was on a 10K demo account with 7 pairs. At no time did the margin drop below the 1000%. (I've got 1:200 leverage). So, I'd say this is safe.

You are welcome to experiment with these figures to get a feel for what this EA can do. Frequent "Rinse-and-Repeats" (by selecting a relatively small MinEquityIncrease) is key!
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

GridDancer / GridMaster

Post by renexxxx »

KingOfCoolville » Thu May 12, 2016 6:53 am wrote: Just a quick question, how does GridMaster work out the MinEquityIncrease parameter? Is it done via comment, magic number or all trades closed? As you can see from the above my equity has increased by £65.08, the MinEquityIncrease is set to 50 - but no trades have been closed. I did have to close a few existing trades from another EA before I started the test so I'm not sure if that is affecting things.
At this stage, the assumption is made that there are no other trading activities (from other EAs or manual trading) happening on the account. GridMaster sets the value of AccountEquity() to a Global Variable at the start of a cycle, and compares the current AccountEquity() against that value, to see if the account has grown by MinEquityIncrease. The AccountEquity() function gives the equity of the whole account and doesn't just look at a certain magic number. This can be added later on, but for now just run only GridMaster/GridDancer on the account.

You can inspect the value of the Global Variable Equity213823 to see what the equity was at the start of the cycle. This is the value, the EA is using to compare against the current equity.
senzhi

GridDancer / GridMaster

Post by senzhi »

renexxxx » Thu May 12, 2016 2:34 am wrote:
KingOfCoolville » Thu May 12, 2016 6:53 am wrote: Just a quick question, how does GridMaster work out the MinEquityIncrease parameter? Is it done via comment, magic number or all trades closed? As you can see from the above my equity has increased by £65.08, the MinEquityIncrease is set to 50 - but no trades have been closed. I did have to close a few existing trades from another EA before I started the test so I'm not sure if that is affecting things.
At this stage, the assumption is made that there are no other trading activities (from other EAs or manual trading) happening on the account. GridMaster sets the value of AccountEquity() to a Global Variable at the start of a cycle, and compares the current AccountEquity() against that value, to see if the account has grown by MinEquityIncrease. The AccountEquity() function gives the equity of the whole account and doesn't just look at a certain magic number. This can be added later on, but for now just run only GridMaster/GridDancer on the account.

You can inspect the value of the Global Variable Equity213823 to see what the equity was at the start of the cycle. This is the value, the EA is using to compare against the current equity.
I started to follow this bot/topic since Steve drew our attention to it. (Read: I eat everything, depending on origin. That includes dogs in China).

I usually test with limited demo, assuming that none of us have the funds to go crazy.

With a 500 units demo (not GP) account, in the last 12 hours the drawdown didn't go below 25. Balance grew with 10; 0,01 lots (of course!), MinProfit= 1.0, MinEquiteIncrease= 10.0.

Impressive piece of work so far!
thomasmore
Trader
Posts: 275
Joined: Tue Nov 15, 2011 10:35 pm
Location: Knokke, Belgium

GridDancer / GridMaster

Post by thomasmore »

deleted by author, irrelevant
Last edited by thomasmore on Fri May 13, 2016 5:57 am, edited 1 time in total.
kwchau
Trader
Posts: 305
Joined: Tue Jan 03, 2012 3:37 pm

GridDancer / GridMaster

Post by kwchau »

Dear Rene,

Thank you for sharing with us your genius works. It is great fun to watch it in action. The part of offsetting the overall biggest loser with a group of profitable trades (also overall) is a genius stroke.

When I first started to test, I have used relatively large profit targets which did not generate too good results, in particularly the DD. Once I keep the profit targets at smaller level, the DD is relatively small while the EA is picking up small profit non stop :yahoo: :yahoo:

Thanks again for your kind sharing,

kwchau
goldcourse
Trader
Posts: 48
Joined: Tue Dec 27, 2011 2:18 am

GridDancer / GridMaster

Post by goldcourse »

Hi Rene,

I've put GridDancer into action for over 10 hours and I'm enjoying its actions.
I'm using 0.01lot on a 2K demo account running your recommended 7 pairs .
minprofit@$2.5,equityincrease $25.
Banked in profit now is 5% with DD well kept below 10%. Margin always above 1000%(1:400 leverage)
I'm hoping this EA will excel in the long run.

Thank you again.
Last edited by goldcourse on Fri May 13, 2016 6:02 am, edited 1 time in total.
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

GridDancer / GridMaster

Post by renexxxx »

ludowillems » Thu May 12, 2016 11:30 pm wrote:I use OOTB settings, so orders are opened @0.01 lots. But after a while, the bot started trading with 0.05 lots/trade.Is this normal behaviour?
No, the OOTB setting for LotSize = 0.05. Hit the reset button on the Expert properties screen (F7) and you will see.
Also, the EA is not automagically changing the lotsize from 0.01 to 0.05. A human hand must have been involved...
User avatar
TraderJoeForex
Trader
Posts: 1157
Joined: Fri Mar 08, 2013 10:29 pm
Location: South London

GridDancer / GridMaster

Post by TraderJoeForex »

renexxxx » Thu May 12, 2016 7:29 pm wrote: No, the OOTB setting for LotSize = 0.05. Hit the reset button on the Expert properties screen (F7) and you will see.
Also, the EA is not automagically changing the lotsize from 0.01 to 0.05. A human hand must have been involved...
haha love a bit of EA automagic... I usually blame the magic monkey.

... my test ticking forwards quite nicely now showing some favor to GU and EJ... :clap:
You do not have the required permissions to view the files attached to this post.
Post Reply

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