Click here to Login





                                                   Indicator for price

  0

0
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?




QuantShare
2013-02-11 11:36:38

  0

Hi,

The default order type is "Buy at open of tomorrow". So if the close price is higher than 10 then an order to buy the asset is initiated and executed at the open of the next bar.

Using the wizard you can directly update order types. Using the formula, you should use use "SetSimTiming" function.

Example: Buy when price reaches $10 today.
SetSimTiming(_Buy, _Limit, 10, -1);




No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Current Drawdown of any Price Series or Indicator
ADX Composite Indicator for the Stock Market
Price Display Indicator
Price to Sales Ratio for US Stocks
Strategy Indicator - Percent winning trades for a trading rule

How-to Lessons
How to detect whether price movements are predictable or not
How to add a trading indicator to a chart
How to screen for stocks having a high correlation with the Dow J...
How to get fundamental data for U.S. Stocks
How to download historical EOD data for penny stocks

Related Forum Threads
How do you retrieve the entry and exit price for a position?
How do I find the close price for an entry matching a custom DB
VIX Indicator and Put/Call Ratio Indicator for NSE NIFTY
Volume at Price for intraday chart
PORTFOLIO-CODE FOR BUYING PRICE

Blog Posts
How to Select the Best Market Indicator for your Trading System
Put-Call Ratio for Individual Stocks
Quantitative Analysis: Price Channels
Backtesting chart patterns using the auto support and resistance ...
Detect chart patterns using the auto support/resistance indicator









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.