당사 팬 페이지에 가입하십시오
- 게시자:
- Vladimir Karputov
- 조회수:
- 3848
- 평가:
- 게시됨:
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The author of the idea: Gladiator.
The MQL5 code author: Vladimir Karputov.
The EA determines whether or not to enter a position based on the random number generator. It has eight gradations: the Poker combination number parameter:
- Straight-flush → 127;
- Quads → 255;
- Full House → 511;
- Flush → 1023;
- Straight → 2047;
- Set → 4095;
- Two pairs → 8191;
- Couple → 16383.
If the given gradation is greater than the current value of the random number generator, then this is a signal.
Then, the presence of a trend is checked:
- If the Reverse parameter is set to "false":
- Moving Average is higher than the Ask price by Minimum distance between MA and price - this is a BUY signal;
- Moving Average is lower than the Ask price by Minimum distance between MA and price - this is a SELL signal.
- If Reverse is set to "true":
- Moving Average is lower than the Bid price by Minimum distance between MA and price - this is a BUY signal;
- Moving Average is higher than the Bid price by Minimum distance between MA and price - this is a SELL signal.
Input Values
- Poker combination number - the given gradation of the probability;
- Lots - the size of the position to open;
- Stop Loss
- Take Profit
- Use BUY - allow opening BUY positions;
- Use SELL - allow opening SELL positions;
- MA trend: Minimum distance between MA and price - the minimum distance value;
- MA trend: period - timeframe for the Moving Average;
- MA trend: averaging period - the averaging period for the Moving Average;
- MA trend: horizontal shift - the horizontal shift for the Moving Average;
- MA trend: smoothing type - the smoothing type for the Moving Average;
- MA trend: type of price - the price type;
- Reverse. "false" → MA on top - BUY; "true" → MA on top - SELL - reversing Moving Average signals;
- magic number - unique EA identifier;
- slippage - slippage size.
Since this Expert Advisor is based on a random number generator, testings results are rendered incorrectly, because each time you get different results.
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/20485
sDotToLineDist
A script calculating the distance between a point and a line.
maximus_vX lite
The Expert Advisor trades using levels. It can have a maximum of two positions of each type (Buy and Sell) in the market.
TrueSort_1100
The Expert Advisor waits when the lines of MA(10), MA(20), MA(50), MA(100) and MA(200) get arranged one above the other (or one below the other).
EMA_WMA v2
EMA_WMA - Expert Advisor for MetaTrader 5. Intersection of two iMA (MA). Position trailing.