Click here to Login





                                                   Create a trading system

  0

0
Gilari Decosta
2011-07-03 23:17:11


Sir,
AND & OR operator may enhance the power of create a trading system.Suppose we want to sell when the close is lower than previous low or when the average lines cross over the or operator will be useful
thnks
Gilari



Peter Gum
2011-07-04 07:49:07



I think the answer is that '&&' and '||' are supported and so you can do what you describe. If you still have a question, post some of your code here so we can deal with a specific case.
HTH. ~Pete



QuantShare
2011-07-04 08:25:01



You can also use "And" and "Or" keywords

Example:
buy = rule1 AND rule2;
sell = rule3 OR rule4;



Gilari Decosta
2011-07-04 12:50:44



Thanks Mr Peter Gum and M/s QS for your valuable suggestion .I tried both and found both are working
Gilari



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
Ultimate Trading System
Backtest different Segments in your Trading System
Vary the Start Date of a Trading System Simulation
Trading System Template: Position Sizing Techniques
Trading Rules to use with the Trading System Optimizer

How-to Lessons
How to create a trading system
How to optimize the number of positions in a trading system
How to optimize an indicator in your trading system
How to add a metric in the trading system simulation report
How to optimize the stop limit of a trading system

Related Forum Threads
Need Simple Example of Ranking Stocks Implemented in Trading Syst...
Ranking System with Trading System Help, Revisited
How to read the number of positions in trading system
How to edit a trading system i've downloaded from shared server?
Optimize ranking system within a trading system?

Blog Posts
How to Create an Automated Trading System in QuantShare
Create a HTML or PDF Report of your Trading System Backtesting Re...
10 masks to create thousands of rules to use into your trading sy...
How to build and backtest a robust stock trading system
9 mistakes you should avoid when backtesting an end-of-day stock ...









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.