Click here to Login





                                                   close above the highest high in the last 5 days

  0

0
alec
2014-12-13 08:50:45


Hello,can anyone tell me the formula for the exit rule: exit when close is above the highest high in the last 5 days using the wizard.
Much appreciated.



QuantShare
2014-12-15 02:26:32

  0

Hi,

You should put:

close > ref(hhv(high, 5), 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
Top 20 stocks with the highest 10 day rate of change - Current an...
High to low stock pattern for the close price
Stock Trading Rules - Percentage That Passed in the Last Trading ...
Moving Average Crossovers In the Past Trading Days
How far are the close prices from the support line

How-to Lessons
How to quickly select stocks based on the last value of a databas...
How to screen for stocks having a high correlation with the Dow J...
How to quickly download the most recent EOD data for your stocks
How to display the number of stocks per day for different RSI gro...
How to display the bar index of a stock on a chart

Related Forum Threads
condition being true in the last X days
How do I find the close price for an entry matching a custom DB
How to compute the Highest Low
How do I refer to the close price of another symbol in a formula?
MMScript - Exit at the close of a bar

Blog Posts
Trading System: Buy stocks with the highest Sharpe ratio
The Ultimate Guide to Create Trading Systems in QuantShare
Custom Shortcuts - Move a Chart to Display the Last Quotes/Data
How to Pick the Best Trend Indicators
Backtesting chart patterns using the auto support and resistance ...









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.