거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
당사 팬 페이지에 가입하십시오
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
- 게시자:
- Vladimir Karputov
- 조회수:
- 5844
- 평가:
- 게시됨:
- 2018.11.20 12:45
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The author of the idea - Ilnaz
mq5 code author - barabashkakvn
The EA analyzes candles #1 and #2.
Example of opening and closing for SELL
Open conditions - there is no a single position on the market
//--- buy if((rates[1].open>rates[2].open) && (rates[1].close<rates[2].close)) { double lot=TradeSizeOptimized(); OpenBuy(lot,0.0,0.0); return; } //--- sell if((rates[1].open<rates[2].open) && (rates[1].close>rates[2].close)) { double lot=TradeSizeOptimized(); OpenSell(lot,0.0,0.0); return; }
If there is an open position, check the close condition
if(rates[1].open<rates[2].open && (rates[1].close<rates[2].close)) { ClosePositions(POSITION_TYPE_BUY); return; } if(rates[1].open>rates[2].open && (rates[1].close>rates[2].close)) { ClosePositions(POSITION_TYPE_SELL); return; }
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/23090

SR-RateIndicator indicator with the timeframe selection option available in input parameters

SR-RateIndicator indicator provides alerts, sends email and push notifications when overbought/oversold levels are broken through by the histogram.

Brief description

The inverted chart of the current financial instrument, displaying Ask and Bid price levels in the form of colored bars in the additional window