Comparing two values

Login or Register

Please login or register in order to view and post in the Forum.

2 posts / 0 new
Last post
joshdawson
Last seen: 1 year 3 months ago
Joined: 04/14/2015 - 12:25
Comparing two values

Hello,
I would like to look at Symbol Tick ( the internals) and build a back test around the value and buy 1 contract on ES once a set of parameters were meet.

Pseudo Code
Synbol Es
IF(TICK >= 0) and (1min CL <= IBL)
Buy 1 contract

IF (TICK >= 0) AND (POS_STATE =1) AND 1min (HIGH >= IBH)
Exit All

How do I access the symbol TICK in IRL while executing off of the ES?

0
cpayne
Last seen: 1 year 9 months ago
Joined: 03/30/2009 - 00:00
Accessing Data Of Another Symbol - MPD

You should be able to grab that TICK data with the MPD indicator.  See below...

but it's always wise to just add an "AND SHOW(MPD)" statement to one of your rules temporarily, to confirm you're getting the values you expect on each bar while backtesting.