HELP! trailing stop for medium price

 

PLEASE! i need an trailing stop ea that calculates the medium price of a trade.

for example:

there is a buy of 60 lots at 1,8466, another of 120 lots at 1,8386 and another of 180 lots at 1,8306. So the medium price is 1,8359. If i set profit to 30 pips the ea start at 1,8389...and stop only if price back "X" pips against medium price.

but it calculat only buy or only sell (i think i can set it in any ea...right?)

 

for mt4...

 

First I'd like to ask how are you able to trade 180 lots? I've never seen anything over 100 lots and I dont think any brokers actually allow you to trade that high...

 
gazuz:
First I'd like to ask how are you able to trade 180 lots? I've never seen anything over 100 lots and I dont think any brokers actually allow you to trade that high...

0.01

1.80

and now?

 

I know how to do this manually but I can guess how to program this (without any coding language)

Name each trade 1,2,3,4 as they start and the numbers reset as the lots go back down to the first. program so that the number 2 has the trailing stop.

How are your trades opened though? do they have a fixed amount between each one? if so you can probably bypass the whole thought of using the medium price

Reason: