marketmaker Posted April 9, 2009 Report Posted April 9, 2009 Hello . Please somebody help me to code my idea to MQL4 Expert Advisor(MetaTrader4 program leng.) This is not compleate Expert , this is just simple code to modify EA. I will let you know , my idea for code. Thanks. :shand:
William1713006271 Posted April 10, 2009 Report Posted April 10, 2009 Re: enybody programer to make simple code to MQL4 ? Hello . Please somebody help me to code my idea to MQL4 Expert Advisor(MetaTrader4 program leng.) This is not compleate Expert , this is just simple code to modify EA. I will let you know , my idea for code. Thanks. :shand: It's still an idea or already tested? If already tested, could you share the test result? If the test result is good, I could help after I finish one project from my friend. Regards, Ore no Shinka Hikari yo Hayai. Zen Uchi o Nani no Mono Ore no Shinka Chuito Kore Nai. Ten no Michi yo Iki. Subete o Sukosadoru Otoko.
marketmaker Posted April 10, 2009 Author Report Posted April 10, 2009 Re: enybody programer to make simple code to MQL4 ? Hello William. Excuse me for my poor english. Please help me to code this to EA. For example : I have 5 BUY open positions 3 lot each(15 lots) , and have 3 SELL open positions , 4 lots each(12 lots). So , i have 15 lots BUY , and 12 lots SELL. I wont when EA open new SELL position , BUY lots = SELL lots , so new position will be SELL 3 lots. I mean , every time when EA open new position ,to see how many BUY and SELL open lots we have , and make ever SELL lots=BUY lots , or BUY lots=SELL lots. Thank you for help. :shand: P.S. I no need to make new EA , just tell me how to code this.
William1713006271 Posted April 10, 2009 Report Posted April 10, 2009 Re: enybody programer to make simple code to MQL4 ? It's quite advanced for my programming skill. I'll help after I finish the other project from my friend. Just remind me. In the mean time, anybody else could help. All you have to do is basically: - get all open position with the same magic number - separate them into buy and sell - get the difference. - put into the trigger. - done Regards, Ore no Shinka Hikari yo Hayai. Zen Uchi o Nani no Mono Ore no Shinka Chuito Kore Nai. Ten no Michi yo Iki. Subete o Sukosadoru Otoko.
marketmaker Posted April 10, 2009 Author Report Posted April 10, 2009 Re: enybody programer to make simple code to MQL4 ? Thank you for your help William. I will wait ..... For me most important is when EA open new position , number of lots to be the same on Buy and Sell.
pultimo Posted April 10, 2009 Report Posted April 10, 2009 Re: enybody programer to make simple code to MQL4 ? I wont when EA open new SELL position , BUY lots = SELL lots , so new position will be SELL 3 lots. I mean , every time when EA open new position ,to see how many BUY and SELL open lots we have , and make ever SELL lots=BUY lots , or BUY lots=SELL lots. It looks a bit obscure...what do you want exactly: do you want to buy/sell the same number of lots used in the last orders? If so, it's quite easy, otherwise, simply I don't understand what you want... :peace:
marketmaker Posted April 11, 2009 Author Report Posted April 11, 2009 Re: enybody programer to make simple code to MQL4 ? As i said my English is poor , so i will try to explain again. For example: I have many BUY and SELL open positions with different lots. Let's say i have 15 open position BUY , 2 lots each one (30 lots), and 6 open positions SELL , 4 lots each one (24 lots). So , i have 30 lots BUY and 24 lots SELL. I just wont , when EA open new position , to see how many BUY and SELL lots we have , and if possible , then open equalization lots , if it's not possible EA will open normal lots like bifore. So , in this example EA will open 6 lots SELL , and we will have 30 lots BUY and 30 lots SELL. EA open positions with some rules , lets say we have 30 lots BUY open , and 24 lots SELL open. If EA have to open BUY position, then EA can't equalization lots , bicouse BUY lots is more that SELL lots , so EA will open normal lots like bifore(2 lots), but if EA have to open SELL position , EA have to open 6 lots for equalization lots , and then we will have 30 lots BUY and 30 lots SELL.
marketmaker Posted April 23, 2009 Author Report Posted April 23, 2009 Re: enybody programer to make simple code to MQL4 ? Common people..... , please help me to make this simple EA on MQL. EA just have a look how many buy lots , and sell lots is open . Then EA see what is difference between Buy and Sell lots , and open equalization lots. So , after EA open new position Buy lots have to be= Sell lots. For example: if we have 2 Lots Buy and 1 Lot Sell , then EA open 1 lot Buy. if we have 4 lots Buy and 1 lot Sell , then EA open 3 lots Sell. If we have 10 lots Sell and 3 lots Buy , then EA open 7 lots Buy. It's simple rule , just EA equalization lots. Thanks for help... :arrow:
gsosay Posted April 24, 2009 Report Posted April 24, 2009 Re: enybody programer to make simple code to MQL4 ? What is the purpose? Could you tell us this trading system fully? no Guts, no Glory!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now