- जनवरी 8, 2014
- के द्वारा प्रकाशित किया गया: विदेशी मुद्रा विकी टीम
- वर्ग: विशेषज्ञ सलाहकार
नाम: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
लेखक: | gery18 (2011.03.30 09:24) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
डाउनलोड: | 5067 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
डाउनलोड करना: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ACTUAL VERSION : http://codebase.mql4.com/7746Expert advisor that trade in the trend of EMA and buy/sell signals get from Williams %R I have tried to create an Expert advisor that could by traded with 1000 EUR starting equity and to minimize the drawdown. Hope you like it. I appreciate every feedback. Optimized for EURUSD 5 मिन I have removed some bugs, changed position sizing, you define the % of your account you want to risk on a single trade. I added simple trailing stop, if trailingStop = 0, then it is disabled. You use it on your own risk. I am not responsible for your loss, you have to change, test and optimize it for your purpose. इनपुट: extern double takeProfit = 200; // take profit extern double maxStopLoss = 50; // stop loss extern double maxLots = 10; // max lots per position extern double maxContracts = 2; // max open positions, 2 is optimal for smoother equity extern double EMA = 144; // EMA to identify trend extern int iWPRPeriod = 46; // Williams' Percentage Range to determine buy/sell signals int iWPRretracement = 30; // retracement of Williams' Percentage to allow next trade extern double trailingStop = 50; // trailing stop, उपयोग 0 to disable trailing stop extern int risk = 2; // % of account you want to risk on a trade extern double magicNumber = 13131; Strategy Tester Report EMAplusWPRv1_1
XTrade-MT4 Demo (निर्माण 229)
To use my position sizing increase the maxLots size and define the risk - how many % of your account you want to risk on a single trade. For position sizing I use the following code: minAllowedLot = MarketInfo(प्रतीक(), MODE_MINLOT); //IBFX= 0.10 lotStep = MarketInfo(प्रतीक(), MODE_LOTSTEP); //IBFX= 0.01 maxAllowedLot = MarketInfo(प्रतीक(), MODE_MAXLOT ); //IBFX=50.00 balance = AccountBalance(); ilo = ((संतुलन * जोखिम / 100) / maxStopLoss); lots = NormalizeDouble(ilo, 0) * lotStep; अगर (बहुत < minAllowedLot) lots = minAllowedLot; अगर (बहुत > maxLots) lots = maxLots; अगर (बहुत > maxAllowedLot) lots = maxAllowedLot; Strategy Tester Report EMAplusWPRv1_1 + position sizing
XTrade-MT4 Demo (निर्माण 229)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
9 टिप्पणियाँ एक नई टिप्पणी पोस्ट करने के लिए, कृपया लॉग इन करें या पंजीकरण करवाना
genial!!!!! 01.06.2011 06:11 ea20102010
19.05.2011 01:16 Pityka888
but its a great job m8 03.05.2011 20:32 zaratrau
with me doesnt work at all 03.05.2011 20:20 zaratrau
नमस्ते, congratulations for your EA, I am already using it on real, however with 500 usd start deposit. It is doing ok so far for a month and a half. The new version, nevertheless, will not open trades correctly, it will start with 0.01 बहुत, Broker STS Finance, and will not increase it. Please vefify this it might be just a little bug 🙂 सुझाव: You might include MACD 4H filter, and open trades only in the direction of relationship of Convergence/divergence bars and signal line. This is only suggestion not mandatory, the EA worsk ok so far as I said. प्रोत्साहित करना, Vladimir Draganov 11.04.2011 20:19 vlddrg
Can i ask you, how can i set my own lot size with this EA. I am a beginner so i hope some one can teach me, धन्यवाद. 31.03.2011 21:22 nomis
नमस्ते, thanks for new version. you should make a backtest from 2011.02.02 पर, because the last version made only losses since then. Re 31.03.2011 09:21 क्लैमसेन
the trailingStop does not trail at all
30.03.2011 14:06 razoff
नमस्ते Can you help me to create a Bollinger Bands and Stochastic in 1 scripts ? so that i can use it in my expert advisor |