Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Twitter üzerinde bulun!
Fan sayfamıza katılın
Komut dosyasını ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Komut dosyasını beğendiniz mi? MetaTrader 5 terminalinde deneyin
Uzman Danışmanlar

Lucky - MetaTrader 5 için Uzman Danışman

Yayınlayan:
Vladimir Karputov
Görüntülemeler:
3141
Derecelendirme:
(23)
Yayınlandı:
2017.03.02 09:56
Lucky.mq5 (13.59 KB) görüntüle
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

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 tarafından Rusçadan çevrilmiştir.
Orijinal kod: 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.