Click here to Login





                                                   how t0 write rule

  0

0
felik
2010-05-24 13:41:22


for NR7 i.e. stock has naroowest range of high low over last seven days( means look back period is 7 days .
wat is the array for( a)look back period and (b) greater then 3* but less then 2*



QuantShare
2010-05-26 06:33:51

  0

Here is the NR7 formula
nr7 = (high - low) == LLV(high - low,7);

To update the look back period just change the "7"

Please provide more information for the "greater then 3* but less then 2* ".



felik
2010-05-27 08:42:32

  0

its like this ; search for stocks whose close is between 2% to maximum 5 % above/ more(greater) then 200ema so that i get stocks trading near their n EMA(n= no of days eg 10 / 20 /50/ 200 ema)


QuantShare
2010-05-27 10:21:08

  0

Ok, here is the formula:
a = close >= 1.02 * ema(200) and close



felik
2010-05-28 01:40:19

  0

Thanks u truly amaze me with ur programming caacity seems u can write any rue for any stratgey
If i have to bundle 2 or more strategies 2gether then can it be done with an AND between sucssive stratgies? and if hav to make these stratgies rigid then how to do? By rigid i means " only if" ......



QuantShare
2010-05-28 06:30:13

  0

Best Answer
Thank you

rule3 = rule1 AND rule2
This means that "rule3" is TRUE only if "rule1" and "rule2" are TRUE.

rule3 = rule1 OR rule2
This means that "rule3" is TRUE if "rule1" or "rule2" is TRUE.



felik
2010-06-02 01:15:58

  0

3 no no not 3 but many many cheers

thanks friend thankyou vvvvveeeerrrryyy mmmuuucccchhh



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 write rule?
How to map the chromosome to the optimal rule in PBIL optimizatio...
how 2 wrt rule
How do I refer to the close price of another symbol in a formula?
State Change Pattern in a Trading Rule

Blog Posts
Let me Show You How to Create Hundreds of Profitable Trading Syst...
How to Pick the Best Trend Indicators
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









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.