Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Libraries

Time Filter Library - library for MetaTrader 4

Views:
12446
Rating:
(22)
Published:
2014.07.11 14:29
Updated:
2016.11.22 07:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The function will filter the trade positon. If the current time in the time you set, the function will return true.

Usage:

extern string   TimeStart="12:00";
extern string   TimeStop="14:00"; 

bool TradeAlow=sTimeFilter(TimeStart,TimeStop);

if(TradeAllow==true)
{
//Put your trade function here
//OrderSend(...); 
} 

//Ea will open position bettween 12:00 ---> 14:00
//If you set start=20:00, stop=08:00----> ea will start trade from 20:00 of today to 8:00 tomorrow.
Candle Time End And Spread Candle Time End And Spread

The indicator shows candle end time and current spread.

Indicator Tracer Indicator Tracer

Traces the output of indicators by buffer. Output can be changed on the chart by moving the VL left or right.

Close@Profit Close@Profit

Expert Advisor that closes orders after defined profit or loss.

Forex Indicator Black & White Beauty Win ~ BBWin Forex Indicator Black & White Beauty Win ~ BBWin

BBWin is the Bollinger Bands® indicator in the separate window with trend lines.