Click here to Login

                                                   Add a strategy to Simulator


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

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);

2017-03-30 04:08:34


Hi Deniz,

Please read this:

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


How can I identify "Longcond == True" ?

2017-03-30 05:59:44


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


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"


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 custom position-based metrics to your trading system
How to quickly add several positions to your portfolio
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

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2021
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
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.