Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2015.05.28 11:09
Libraries

Convert time to double and vice versa - library for MetaTrader 4

| English Español Português Русский Deutsch 日本語

Views:
3267
Rating:
votes: 20

I've found these small functions very useful when trying to pass datetime through Global Variables.

Example:

You can use it to save a value

GlobalVariableSet(name,TimeToDouble(date_time));

and

datetime date_time=DoubleToTime(GlobalVariableGet(name));

when you want to get the value back.

Pivot Point with adjustable closing time Pivot Point with adjustable closing time

Pivot Point (PP) indicator for use on timeframes < D1 with adjustable preceding day close time, elimination of sunday bars, optional display of weekly and monthly PP, preview of tomorrows' PP and current days' midpoints.

ToolBox ToolBox

Gives you information on pip value, spread value, daily pips average, how much you can earn, future range of the present day.

Linear Momentum Linear Momentum

Simple implementation of physical calculation of Momentum.

PairsIndex PairsIndex

PairsIndex indicator shows the price index of 7 currencies dealing with 7 currency pairs.