거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
게시자:
Vladimir Karputov
조회수:
3108
평가:
(23)
게시됨:
2017.03.02 09:56
Lucky.mq5 (13.59 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

A tick Expert Advisor. Comparing the price on the previous tick and the current price.

Attention! Tests only in the "Every tick based on real ticks" mode. 

Author of the idea is Sergey Artukhauthor of the MQL5 code is barabashkakvn.   

Algorithm: two static variables: 

   static double prev_ask=0.0; // a static variable for storing the ask price on the previous tick
   static double prev_bid=0.0; // a static variable for storing the bid price on the previous tick

The static variable retains its value after leaving the function.

Input Parameters:

  • the difference between the price on the previous tick and the current one
  • loss of points
  • reverse of signals
The most interesting parameter is the "reverse of signals". Depending on the value (true or false) open at a signal either Buy or Sell.

 

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/17277

SimpleTrade SimpleTrade

Comparing open prices of the zero and third bar.

NRTR GATOR NRTR GATOR

Derived from the NRTR indicator, provided with a new visual display.

21hour 21hour

The Expert Advisor places two pending orders at a certain time.

Money Fixed Margin Money Fixed Margin

An example for calculating the lot value with a fixed margin level. That is, if you specify 10%, a position with the margin equal to 10% of free margin will be opened.