Click here to Login

                                                   Trailing stop value with Intraday data


2011-10-27 20:54:22

QS Guru,
I'd like to add Trailing stop value column to D.Watchlist displayed during the current trading session.
Data used will be the downloaded few times a day - 1min quote data.

What is the best set of functions to use to get highest high of current day 1m data from intraday DB since begining of the day?

Piece of code would be greatly appreciated.

Thx in advance,

2011-10-28 06:34:34


Best Answer
Here is how to get the highest high of today:

HistoPrice(_high, 0)

2011-10-31 00:03:29


It works fine as expected.

Many Thanks,


No more messages


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"


Trading Items
One-Minute Intraday Data for Currency Pairs
Intraday Historical Data - Alphavantage
Entry Trailing Stop
Historical Stock Market Data with Split-Dividend Adjustment Ratio
Intraday Trading System with Daily Ranking

How-to Lessons
How to speed up watchlist and screener plug-ins when working with...
How to use QuantShare with Metastock data
How to get fundamental data for U.S. Stocks
How to hide stock data outside of regular trading hours
How to optimize the stop limit of a trading system

Related Forum Threads
Trailing Stop With Condition
Getting a Long Trailing stop to use Bid data
Futures data - overwrites stock symbols, issues with point value
Intraday data with volume
Access intraday data while working on daily chart

Blog Posts
Day Trading: A trading system that combines intraday and EOD data
Backtesting trading strategies using intraday data
6 New Ways to Download Free Intraday Data for the U.S. Stock Mark...
How to Backtest an Intraday Stock Trading System with EOD Ranking
6 ways to download free intraday and tick data for the U.S. stock...

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2024
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
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.