Click here to Login





                                                   Add a strategy to Simulator

  0

0
Deniz Ates
2017-03-29 22:05:12


Hi;
How can I add a strategy which shown below to the Simulator? Thanks :)

tsi = trendstrength(); // Franks Hassler's TSI
LongCond = Close>MA(Close,50) OR ROC(Close,150)>0;
Setup1 = Longcond==True AND ((tsi>1.65 AND RSI(2)<18) OR (tsi<1.65 AND RSI(2)<8));
Setup2 = Longcond==False AND ((tsi>1.65 AND RSI(2)<13) OR (tsi<1.65 AND RSI(2)<2));
Buy = ((Setup1 OR setup2) AND Year() >= 1999 )
Sell = (tsi>1.65 AND RSI(2) > 61) OR (tsi<1.65 AND RSI(2) > 39);




QuantShare
2017-03-30 04:08:34

  0

Hi Deniz,

Please read this:
https://www.quantshare.com/sa-582-the-ultimate-guide-to-create-trading-systems-in-quantshare



Deniz Ates
2017-03-30 05:12:45

  0

How can I identify "Longcond == True" ?


QuantShare
2017-03-30 05:59:44

  0

Setup1 = (Longcond==1) AND ((tsi>1.65 AND RSI(2)<18) OR (tsi<1.65 AND RSI(2)<8));
Setup2 = (Longcond==0) AND ((tsi>1.65 AND RSI(2)<13) OR (tsi<1.65 AND RSI(2)<2));



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
Hedge a portfolio strategy
Global Market Rotation Strategy V1.4
Scale-in Trading Strategy
Connors Alvarez MDD MDU Strategy
Strategy Optimization on Random in-sample and out-of-sample Perio...

How-to Lessons
How to add a metric in the trading system simulation report
How to quickly add a ticker symbol
How to add trades from one portfolio to another one
How to add a trading indicator to a chart
How to add future bars to plan for market scenarios

Related Forum Threads
Advice on building a trading simulator strategy
Create a Metric in Simulator Report
Convert TOS Strategy to Quantshare Strategy
Adding Market Direction Filter to a Strategy
Simulator symbols

Blog Posts
Trading the Strategy Equity Curve
How to turn any ordinary trading strategy into a very profitable ...
Backtesting a Strategy Based on Bond and Stock Index ETFs
6 techniques to improve the performance of your stock trading str...
How to Backtest a Strategy from a Chart









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.