Lot size management EA based on magic number

Place your new trading idea here to see if someone can automate it.
Post Reply
raghu
Posts: 4
Joined: Sun Dec 15, 2013 5:38 pm

Lot size management EA based on magic number

Post by raghu »

I want Lot size management EA based on magic number to using for hedge grid EA trading

example :
-----------------------------------
when total lot size reach 10 in "Grid Buy EA ( magic 1 )"

then starting lot size modify to 5 or 10 or 20 in "Grid Sell EA ( magic 2 )"

this must be continue when magic 2 total lot size reach 100 then magic 1 lot size modify with X ... !

==================
input

magic number = 1
magic number = 2

lot reach 1 = 10 // ( when magic 2 reach total 10 then magic 1 starting lot is 10 now )
lot reach 2 = 100 // ( when magic 1 reach total 100 then magic 1 starting lot size is 100 now )

HOW TO DO THIS AS INFINITY STARTING LOT SIZE INCREMENT BASED MAGIC NUMBER ?

may be this will works with lot size percentage increment

example input :

lot reach 1 = 100% // ( when magic 2 reach total 10 then magic 1 starting lot is 100% that is same of 10 total lot now )

lot reach 2 = 100% // ( when magic 1 reach total 100 then magic 1 starting lot size is 100% that is same of 100 total lot now )

to lot size increment based on "percentage" sell or buy total trades should be close then only modify lot size works , i think
-----------------------------------

this will helps for hedge protection
Last edited by raghu on Thu Mar 13, 2014 3:38 am, edited 1 time in total.
raghu
Posts: 4
Joined: Sun Dec 15, 2013 5:38 pm

Lot size management EA based on magic number

Post by raghu »

Here is example GRID EAs

add this two ea in two EURUSD chart ( Americans add BUY / SELL only in EUR USD & USD CHF if your broker not allowed hedge in same currency )

back test and forward test together when BUY reach 10 trades then we need SELL trade protection to hedge but one more extra "Lot size management EA" only can help this, i explained it in above post.
You do not have the required permissions to view the files attached to this post.
Last edited by raghu on Thu Mar 13, 2014 6:11 pm, edited 1 time in total.
raghu
Posts: 4
Joined: Sun Dec 15, 2013 5:38 pm

Lot size management EA based on magic number

Post by raghu »

This is how grid trades and lot size modify looks like ,

Image

check above image there you can see 10 buy trades with 1 lot size but then sell trades starting lot modified to 5
raghu
Posts: 4
Joined: Sun Dec 15, 2013 5:38 pm

Lot size management EA based on magic number

Post by raghu »

i modified 2nd post's buy and sell eas input cause tp and sl true was not recommended,

any coders help me for this strategy , please ....
Post Reply

Return to “Ideas for Possible Automation”