당사 팬 페이지에 가입하십시오
- 조회수:
- 13390
- 평가:
- 게시됨:
- 2010.03.08 09:03
- 업데이트됨:
- 2014.04.21 14:54
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Hi folks,
I've been learning and making EAs from 2 months, this one is my first reasonable and "almost-free of errors" robot. It only shorts (no long positions till now), when short positions are clearly good a long position version will be cloned and attached to the EA. It was made for 15-minute chart (M15) because there are no many sell stop positions executed to place it on higher periods (M30, H1+) and no lower periods because the spread becomes more significantly. Entry is made by sell stop pending orders placed whenever the Ask price and two moving averages are comprised by the low period envelope bands, this order stands for 1h15min. Exits when three different Parabolic SAR points are under the Ask price and there is a crossover of moving averages (signal moving average crosses fast moving average from down to up).
S/L and T/P are configurable and optional. Obviously there are ways to turn this system a great winner using Martingale strategy but the main idea now is to improve only the sell signals. After this, we will attach risk management modules, better exit ways, etc. I hope you don't mind code is in Portuguese. Some explanations of input parameters are below:
- AguardaCompletarCandle: Wait for 15-minute chart bar is completed to take a decision (is equivalent to use "Open bar prices only" in tester)
- TP: Take Profit (in pips)
- SL: Stop Loss (in pips)
- PerEnv: Period of envelope
- sdEnv: Deviation of envelope
- PerMM: Period of signal exponential moving average
- PerMMl: Period of fast (slower than signal) exponential moving average
other input parameters are explained in "input parameter" box in the tester and it's part of risk management, not about order placing.
I hope you enjoy and whenever someone leave good idea(s) they will be implemented and be made available here.
![Multi Moving Average v2](https://c.mql5.com/i/code/indicator.png)
Multi Moving Average v2 - is a new version of the indicator Multi Moving Average.
![Accu Dist for a single currency](https://c.mql5.com/i/code/indicator.png)
In this field give a brief description of your script (1-2 sentences).
![Universal trailing stop](https://c.mql5.com/i/code/expert.png)
Trailing can be carried out using the fractals, the extremal bars in the past or using the specified number of points. Can run as a single Expert Advisor or a script, together with any Expert Advisor.
![Instrument](https://c.mql5.com/i/code/indicator.png)
Displaying of candles of any instrument of any period.