Click here to Login





                                                   how 2 wrt rule

  0

0
felik
2010-05-24 08:57:43


for stocks trading in a range for n no of days[ means high ndlow n days back not broken by (or if brokenthen not more then by n%) till last closing day]
2) to detecht triangular price pattern





Head and Shoulders Pattern (by bug man, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads Notes Report an item

QuantShare
2010-05-26 06:24:21

  0

- Stocks trading in a high and low range that is less than 20% for the last 100 bars:
a = ((hhv(high, 100) / llv(low, 100)) - 1) < 0.2;

- Descending triangle pattern (using the advanced rules syntax)
Occurs in a period between 30 and 40 bars
a = searchfor _belowline(close, close) and _perf(close) < -5 and ((close / _min(close)) - 1) < 0.1 after 30 within 40;




felik
2010-05-27 08:37:42

  0

thanks
can i replace below with above to get ascending triangle ????



QuantShare
2010-05-27 10:15:57

  0

Best Answer
Here is a better formula for descending triangle pattern:
a = searchfor _belowline(close, close) and _perf(close) < -5 and close < ((2*_min(close) + _max(close)) / 3) after 30 within 40;

and here is the formula for ascending triangle pattern:
a = searchfor _aboveline(close, close) and _perf(close) > 5 and close > ((2*_max(close) + _min(close)) / 3) after 30 within 40;



felik
2010-06-02 01:20:48

  0

EUREKA u hav given me the perfect toys to play and earn
Thankyou very much QS TEAM



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
The 2 Percent Rule
How far are the close prices from the support line
Market Rule based on the Crossover Between Stock Close prices and...
Transform any order into a limit order selectively based on a tra...
Average Performance of a trading rule during that past N days

How-to Lessons
How to draw distances on a chart?
How to plot a stock using different periods in the same chart
How to debug a downloader
How to get trading orders from a portfolio programmatically
How to filter stocks in a market composite

Related Forum Threads
How to map the chromosome to the optimal rule in PBIL optimizatio...
how t0 write rule
State Change Pattern in a Trading Rule
How to work with vectors?
rule analyzer requirements

Blog Posts
How to create a market timing system - Part 3
How To Create and Backtest an S&P 500 Trend Following System
How to Backtest an Intraday Stock Trading System with EOD Ranking
How to Optimize a Trading System with Thousands of Billions of Co...
How to Switch On/Off Trading Rules in Your Stock Trading System









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.