List Ticks

From Boolean Trader
Jump to: navigation, search

Description

List Ticks Function

The List Ticks function will return a list of Bid/Ask prices for the used pair. When the function is called from the BT menu it will be 1 tick long by default.

Syntax



Inputs

eaid
The EA ID of your Expert Advisor.

symbol
The pair used. Write it like this “EURUSD” and make sure the pair name matches exactly the name in MetaTrader.

max
The amount of ticks you want to list. Newest tick will be on top.

Outputs

This function will return the following outputs in a 2 x (3+max) square:

Timestamp
Time corresponding to the bid/ask price

Bid
Bid price

Ask
Ask price

Example Calculations

eaid symbol max RESULT
"tester" "EURUSD" 10 It will return 10 ticks for the EURUSD pair in a 3 x 13 square.
"tester" "USDJPY" 14 It will return 14 ticks for the USDJPY pair in a 3 x 17 square.