|
umair
2013-02-10 19:04:59
|
|
Is there a indicator for a price?
Problem:
System i'm trying to create buys when PRICE of a one min bar > X. Data is intraday. Current formula for ''price'' that i'm using is "open"
The problem i'm facing when using ''open'' is that in a given minute there are many trades.. and hence and min bar has a high, low, open and close. So if for example my "X" value is 10 but the open is 9, then, the trading system will not execute my trade. However! What if my high for the one min bar was 12! I would want the trading system to buy at that bar.
For example:
Price>10, 1 min data
open=10
high=12
low=9
close=10
The logic should had bought this since ''price'' in that minute was larger than 10. But what is happening ( i think) is that the system is skipping over this bar and searching for when the OPEN is larger than 10. Any thoughts?
|
|