거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
당사 팬 페이지에 가입하십시오
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
- 조회수:
- 18050
- 평가:
- 게시됨:
- 2021.06.22 06:02
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Validate Me framework
My interpretation of how to code a robot using market buy and sell orders to cope with market validation. This framework deals with some checks that a trading robot must pass before it is published on the market. For educational purposes.
code example BUY
ask=MarketInfo(_Symbol,MODE_ASK); bid=MarketInfo(_Symbol,MODE_BID); sl=(OrderStopPips==0)?0.0:bid-ExtOrderStop; if(sl!=0.0 && ExtOrderStop<StopLevel) sl=bid-StopLevel; tp=(OrderTakePips==0)?0.0:ask+ExtOrderTake; if(tp!=0.0 && ExtOrderTake<StopLevel) tp=ask+StopLevel; GetLot=CheckVolumeValue(Lots); if(!CheckStopLoss_Takeprofit(OP_BUY,ExtOrderStop,ExtOrderTake)) return; if(CheckMoneyForTrade(GetLot,OP_BUY)) order=OrderSend(_Symbol,OP_BUY,GetLot,ask,10,sl,tp,"FrameWork",678,0,Blue);
Framework inputs
![moving average](https://c.mql5.com/i/code/expert.png)
candle cross 3 moving averages
![Logging library for mql4](https://c.mql5.com/i/code/library.png)
A customizable logging library with Debug,Info,Error logging levels.
![divergence and rsi](https://c.mql5.com/i/code/expert.png)
macd divergence and rsi
![Momentum-based Adaptive Channel](https://c.mql5.com/i/code/indicator.png)
The Momentum-based Adaptive Channel is a version of the adaptive channel based on the Euclidean distance. It is designed to adapt according to the dynamic market as needed.