Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Librerie

Convert time to double and vice versa - libreria per MetaTrader 4

Visualizzazioni:
6354
Valutazioni:
(26)
Pubblicato:
2015.05.28 11:09
Aggiornato:
2016.11.22 07:32
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

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.