Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Telegram üzerinde bulun!
Fan sayfamıza katılın
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
Ö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
- Görüntülemeler:
- 9689
- Derecelendirme:
- Yayınlandı:
- 2016.09.29 17:09
- Güncellendi:
- 2016.11.22 07:32
-
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
Fast time range checking function. Doesn't use slow string parsing.
Function returns TRUE if time in range, FALSE otherwise.
Usage:
Drop .mq4 file to MQL4\Libraries\ folder.
Add this line inside your EA:
#include "..\libraries\time_in_range.mq4"There are three versions of the function:
1. With separated hours and minutes input. Example:
if(TimeInRange(TimeCurrent(),23,00,02,15)) { /* trade */ } // checks if current time is in range 23:00-02:15
2. With fractional hours input. Example:
if(TimeInRange(TimeCurrent(),05.50,09.25)) { /* trade */ } // checks if current time is in range 05:30-09:15Please note that fractional part represents whole hour.
3. With time coded in single variable:
if(TimeInRange(TimeCurrent(),0200,0835)) { /* trade */ } // checks if current time is in range 02:00-08:35
![Modify All TP SL](https://c.mql5.com/i/code/script.png)
The script modifies all orders (market and pending) on the symbol with specified Take Profit and Stop Loss.
![iFractals 4all TF](https://c.mql5.com/i/code/indicator.png)
Buy or sell just by looking at the "arrow" as a signal. Very easy and simple.
![Renko Chart from ticks (Most precise method)](https://c.mql5.com/i/code/expert.png)
Renko chart generator using the tick values.
![Stop & Limit Bots](https://c.mql5.com/i/code/expert.png)
Two EA's. One places Stop orders the other places Limit orders.