Margin Trader EA fixed.ex4
can u plz create an EA for something like hedging n little martingale.. m searching from a long time but cant find...
i need an ea.. like if i open a buy trade n 20 or 30 pip sl then on sl one sell stop pending order will open...n when buy sl will hit so its means sell pending order will active so then on sell tradez SL next buy stop pending order will open......like 40 or 50 trades setting like this... n every trade's lot size can i set suppose 1st trade 0.01 ...2nd trade may b 0.05..... third trade 0.30 not automultiply bcoz some some 1st trade will 0..01 then 2nd 0.05 third 0.50.. meanz in that ea i can set lot size on every trade...plz plz plzzzzzzzzzzzz help me..
when from my stratgy i get any signal then i start...i get signal from ema n rsi n BB n support and resistance...then i start this... n its not fully martingale... like i said i want that EA in which i can set every singal trades lot size...mean suppose 1st trade buy 0.01 2nd trade 0.05 3rd trade 0.06 lot size depend on support n risitance on every trade.....n i am working on it but believe me bcoz of this i cant sleep 2...3..n sometimes 4 days .....
so if u knw any EA like this so plzzz tell me.. or u can create ???
i will veryyyy greatfull to u.....plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Hi, it looks like you prefer mt5, is it because you have more options to program? I use mt4 because there are more apps available.
Do you know what strategy the candlestick_3 indicator uses? And repaint?
Before I only saw the stop, now I only see the take, then I found that I only see the stop moving to the weekly chart.
I only see how to adjust the stop on a weekly basis, other than that I only adjust the take, it must be a rendering error.
I'm using the latest version on mt4.
Update from my last post, the latest version works fine. I was the one who didn't know how to use it, I thought that both the take and the stoploss should appear together, but I have to go up or down from my order to change from one to the other.
Congratulations to everyone involved in this program, it is very good..
MT4 - Yes if parameter "Mange only own trades" is NO
MT5 - Yes by default
Anyway try it and let us know. U do have a demo acct I believe.
Thanks to both of you
And we have broker limitation.
Broker (MT4) does not allow opening new trades if the margin level is below 100%.
When the margin level is 100% then we are at maximum leverage.
It doesn't make sense for Margin Trader to allow a lower margin limit of 100%.
I found some bug, error on version MT5 (.mq5)
When order too high LOT and want to close order, problem EA sent all total LOT to close, So problem is all can not close.
example order total 200 lot but broker limited 50 lot, but EA sent command to close all 200 LOT in one order, then can not close order
for fix problem, can possible to check maximum lot order and use it, like broker limited 50 lot but all total 200 lot, then EA spite to close each 50 lot or EA check each order ticket and close one by one order
1. use check max lot and close at max lot (may be better)
2. use check each order and close one by one (default should be can close all order)
3. remove sent total lot one large size (it never work)
please help to fix it.
Hm.. yes, that may be a problem.
Thank you miggle for this test and analyse.
I have problem with manual Close before and I work on this.
Margin Trader Multi Symbol version 1.820 for MT5
This version is well tested and is pretty stable.
Allows you to trade multiple symbols at once.
Balance is shared between symbols (MarginTraders).
This is controlled by the parameter "Balance Share" (default 10)
This parameter defines how much is allocated for that symbol relative to all symbols with attached MarginTrader.
- If any Balance Share is -1 - All MarginTraders switch to Single Symbol Trade Mode. This is a standard mode with no balance share and can trade only one symbol at a time. We can also force Single Symbol Mode by putting the file "MarginTrader_ForceSingleMode.txt" in the File directory.
- If Balance Share is 0 - This MarginTrader is disabled (balance is 0) and balance is shared between other MarginTraders.
LocalBalance = AccBalance / TotalShare x BalanceShare
(TotalShare is a sum of all MT Balance Share parameters)
If any MT closes its own trades in profit, profit is automatically shared with other MT and increases local balance. Same if any MT closes its own trades in loss, loss is automatically shared with other MT and decreases local balance.
In MultiSymbolTradeMode every Symbol has its own local equity and balance, therefore it also has its own local simulated margin call. In EA parameter we can set three different types of margin call.
Orange Arrow and progress bar for adding the next position - It calculates at what price is the next position added and shows it on the chart and draws a progress bar. Tooltip shows the exact price, size and margin level at which the position will be added. This is shown only when the trade is open and "Add Automatically" is On.
This MarginTrader is limited to work only on 28 pairs/symbols + gold (xauusd), because MT5 has strange pairs and stocks and I do not know how it works on these.
Prevention for running two or more MT on the same symbol.
New function CloseAllByHedge wich closes all trades on Close button. first it opens one counter trade with total size and hedges all trades. After that it closes all trades with PositionCloseBy function. This way, all trades are closed on the same price, there is no slippage and this method is faster. This method is used when we have three or more open trades and total volume is not bigger than max allowed volume for this symbol.
In MultiSymbolTradeMode we have to be very careful when we change the "balance share", add a new MT or remove MT if we have an open trade. Any change of that type may change local balance which may automatically add new positions or may activate a local margin call.
This is a very interesting tool, we can be very creative in manipulating balance between MT instances.
This version is NOT for newbies, only for advanced traders who have a good understanding off margin, leverage and margin level percentage!
MarginTrader v1.82 MT5.zip
© Forex Factory