당사 팬 페이지에 가입하십시오
TwoBarsComparison - MetaTrader 5용 expert
- 게시자:
- Vladimir Karputov
- 조회수:
- 2612
- 평가:
- 게시됨:
- 2018.06.16 10:28
- 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Idea by: Dmitriy.
MQL5 code by: Vladimir Karputov.
the EA compares the opening prices (Open) of bar#0 and bar#2:
Inputs
- Stop Loss (in pips) - Stop Loss;
- Take Profit (in pips) - Take Profit;
- Trailing Stop (in pips) - trailing;
- Trailing Step (in pips) - trailing step;
- Breakeven - breakeven;
- Breakeven Profit - profit for breakeven;
- Lots (or "Lots">0 and "Risk"==0 or "Lots"==0 and "Risk">0) - position volume (for manual defining);
- Risk (or "Lots">0 and "Risk"==0 or "Lots"==0 and "Risk">0) - risk per trade as percent of free margin;
- magic number - unique identifier of the EA.
Test results in the "Every tick" mode for all symbols on D1:
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/20635
The EA uses a virtual Take Profit for closing gaining positions. Opening positions with a step. Catch the type of the last position and its price in OnTradeTransaction.
Exp_Sar_Tm_PlusA trading system based on indicator signals Parabolic Stop and Reverse system with the possibility to set a fixed position holding time.
An assistant Expert Advisor. It moves positions to a breakeven and then enables trailing.
e-News-LuckyThe Expert Advisor places pending Buy Stop and Sell Stop orders. If orders execute, the trailing stop is run for the positions.